Commit Graph

76870 Commits

Author SHA1 Message Date
Vas Crabb
ec80428647 Fairly significant overhaul of Lua engine and some cleanup.
The things that were previously called device iterators are not
iterators in the C++ sense of the word.  This is confusing for
newcomers.  These have been renamed to be device enumerators.

Several Lua methods and properties that previously returned tables now
return lightweight wrappers for the underlying objects.  This means
creating them is a lot faster, but you can't modify them, and the
performance characteristics of different operations varies.

The render manager's target list uses 1-based indexing to be more like
idiomatic Lua.

It's now possible to create a device enumerator on any device, and then
get subdevices (or sibling devices) using a relative tag.

Much more render/layout functionality has been exposed to Lua.  Layout
scripts now have access to the layout file and can directly set the
state of an item with no bindings, or register callbacks to obtain
state.  Some things that were previously methods are now read-only
properties.

Layout files are no longer required to supply a "name".  This was
problematic because the same layout file could be loaded for multiple
instances of the same device, and each instance of the layout file
should use the correct inputs (and in the future outputs) for the device
instance it's associated with.

This should also fix video output with MSVC builds by avoiding delegates
that return things that don't fit in a register.
2020-11-25 19:18:26 +11:00
Brian Troha
8ea35743e4 New working clones
------------------
Riot (Woong Bi license) [system11, zak]
2020-11-25 01:02:03 -06:00
Brian Troha
3be1028490 segas32.cpp: Document The JLeague '94 ROM board number. 2020-11-25 00:58:37 -06:00
Brian Troha
e0f8145a04 New working clones
------------------
Cadash (US, version 1?) [coolmod, The Dumping Union]
2020-11-25 00:56:30 -06:00
Patrick Mackinlay
481e06f3fe mc146818: add square wave output 2020-11-25 10:48:15 +07:00
AJR
a35cd5698f tim100: Note 2020-11-24 22:48:23 -05:00
David Haywood
334c801c55
Plug and Play bits (working and not working machines) (#7509)
* replaced dgun2869 dump with good one [Sean Riddle]
* also did some work on the dreamGear unit, works now
* an innotab2 driver entry was also added to hold the software list, but the ROM isn't dumped yet

machines promoted to WORKING
------
My Arcade Retro Micro Controller - 220 Built-In Video Games (DGUN-2869) [Zup, Team Europe, Sean Riddle]

new WORKING machines
------
Code Lyoko (25-in-1 handheld) [KaruzoHikari, Team Europe, David Haywood]
My Arcade Pac-Man Pocket Player (DGUNL-3227) [Sean Riddle]

new NOT WORKING machines
------
Palace Arcade [Sean Riddle, Kamaal Brown]

new NOT WORKING Software List entries
------
vtech_innotab_cart.xml : Mickey Mouse Clubhouse (UK) [Team Europe]
2020-11-25 14:44:37 +11:00
ClawGrip
5de4b92378
New machines marked as NOT_WORKING (#7514)
----------------------------------
unknown 960606-5 based machine [jordigahan, ClawGrip]
2020-11-25 14:30:27 +11:00
Barry Rodewald
1d21630ddb octopus: fix video and fix crash when running CP/M-80 applications. 2020-11-25 14:48:16 +13:00
AJR
4c7a235683 tim100: Adjust screen timing parameters to ensure 50 Hz refresh rate 2020-11-24 20:37:22 -05:00
AJR
561cc84b79 tim100: Fix CRT display by doing DMA the right way; fix serial terminal interface 2020-11-24 20:18:34 -05:00
AJR
e0cb1febeb i8275: Fix a case where the DRQ output could remain unexpectedly set due to DMA cycles happening too quickly 2020-11-24 20:17:24 -05:00
AJR
e5c64eee84 i8085: Make sure SOD outputs 0 upon the first reset 2020-11-24 20:16:23 -05:00
AJR
563b656605 psx.cpp: Fix clang error: private field 'm_cd_param_p' is not used [-Werror,-Wunused-private-field] (&etc.) 2020-11-24 12:54:27 -05:00
hap
a026c6f167 odyssey2: make palette configurable 2020-11-24 18:41:10 +01:00
Olivier Galibert
686d3aad36 Fix gottlieb, nvram issues 2020-11-24 17:29:45 +01:00
Olivier Galibert
af62285a83 Fix midyunit, similar to midvunit 2020-11-24 17:17:24 +01:00
Robbbert
ce12d7001d Added ympsr340 to mess.flt 2020-11-25 01:32:53 +11:00
Dirk Best
8fd610f198 vtech1: Fix regression 2020-11-24 15:08:46 +01:00
Dirk Best
69454e20cd New machines marked as NOT_WORKING
----------------------------------
Azkoyen Design D6 [jordigahan, ClawGrip, Dirk Best]
Azkoyen Design (Euro) [maquinasdetabaco.com, Dirk Best]
2020-11-24 15:08:40 +01:00
Robbbert
47346ceaec tim100: prevent the unlikely possibility of a buffer overflow. 2020-11-25 01:06:16 +11:00
Ivan Vangelista
37b00ebe8c various drivers: removed MACHINE_*_MEMBER and VIDEO_START_MEMBER macros 2020-11-24 13:58:48 +01:00
Robbbert
18f6a5be51 v4bios: fixed crash at start 2020-11-24 23:14:49 +11:00
Olivier Galibert
af4145f136 Fix midvunit, simple share allocation/width issue 2020-11-24 13:07:41 +01:00
Ivan Vangelista
b0e5a62b47 drivers of the spectrum family: removed MACHINE_*_MEMBER and VIDEO_START_MEMBER 2020-11-24 12:56:09 +01:00
Robbbert
0908f3a45d partner: fixed mistake from 29 months ago, which was exposed by recent memory change. 2020-11-24 22:36:22 +11:00
Olivier Galibert
4537a4b428 Fix sega outrun and system 16b, some confusion between regions and shares and a bank initialized too late 2020-11-24 12:33:31 +01:00
Robbbert
518efdf926 pasopia7: fixed crash at start 2020-11-24 21:42:19 +11:00
Robbbert
96a78f81da playch10: fixed crash at start 2020-11-24 18:13:26 +11:00
AJR
50c640b472 vt61_cpu: Awful but seemingly necessary hack 2020-11-23 23:11:07 -05:00
arbee
4bb94f0e93 New machines added as MACHINE_NOT_WORKING
-----------------------------------------
Yamaha PSR-340 PortaSound [R. Belmont, HIGHWAYMAN]
2020-11-23 22:53:36 -05:00
cracyc
1a4803c9ec hiscore.dat: fix stdragon 2020-11-23 20:24:34 -06:00
cracyc
e6a7dc4333 leland: fix battery size 2020-11-23 19:41:39 -06:00
Patrick Mackinlay
f30e346523 ceres: avoid crash when missing hard disk 2020-11-24 08:31:36 +07:00
Ivan Vangelista
129b5b3382 atm.cpp: temporarily reinstated MACHINE_RESET_OVERRIDE 2020-11-23 22:02:59 +01:00
cracyc
1e26666839 p8000_16: bring back the ram shares 2020-11-23 12:10:41 -06:00
Robbbert
dc7c6cafb5 p8000_16: restored the sign-on message, but it runs into the weeds when a key is pressed. 2020-11-24 03:05:25 +11:00
Olivier Galibert
f33be6072f Fix hard drivin', a bad combination of wrong width memory and wrong-sized allocation. The palette was working by sheer luck (and memory block size rounding) 2020-11-23 16:34:53 +01:00
Robbbert
4f01783c9f sym1: fixed crash at start, added POR circuit. 2020-11-24 01:43:13 +11:00
Olivier Galibert
ed624da99d Fix dgpix. The patches were applied to the nvram before it was initialized, so they were lost 2020-11-23 14:36:14 +01:00
Patrick Mackinlay
ee2ec1332b romp: correct compare flags
* change translated/untranslated address approach
* initial trap implementation
* initial timer implementation
2020-11-23 18:29:11 +07:00
Patrick Mackinlay
ada6717388 bus/rtpc/kbd: use correct line handlers 2020-11-23 18:26:22 +07:00
Patrick Mackinlay
5297efcd9e pc_kbd/hle_mouse: correct typo 2020-11-23 18:24:23 +07:00
Olivier Galibert
662cdfbabc Fix ficpio2, the chipset was using offset while forgetting it's s u32 * 2020-11-23 11:04:34 +01:00
Robbbert
55ab48427f pyl601: fixed crash at start. 2020-11-23 18:05:24 +11:00
shattered
593e2f5d9c
AT&T Blit terminal (skeleton) (#7469)
New machines marked as NOT_WORKING
------------------
AT&T Blit
2020-11-23 12:38:04 +11:00
npwoods
9649617fb0
Cleanups and corrections for CoCo cartridge slot configuration (#7502)
Consolidated CoCo cartridge slot device configuration, to remove duplicate code that was specific to slots on the Multi-Pak interface.

Marked "pak" and "banked_16k" as internal, as they are not standalone
2020-11-23 12:30:10 +11:00
cracyc
5ed91a1857 ibmpcjr: fix pcjr and pcjx 2020-11-22 18:16:49 -06:00
Vas Crabb
58c8cba9b3 Work around GNU libstdc++ wanting to stack large temporaries when vector elements can be trivially constructed. 2020-11-23 10:29:23 +11:00
ajrhacker
245ef45985
Merge pull request #7511 from mascguy/mame_nl_issue_7510
Fixed Portuguese_Brazil translation errors noted in issue 7510
2020-11-22 16:49:52 -05:00