Commit Graph

76724 Commits

Author SHA1 Message Date
Angelo Salese
b88fe8a45e
Miscellaneous late 90s Jaleco HW fixes and cleanups (#7445)
* ms32.cpp: fix/document memory map

* ms32.cpp: preliminary CRTC hookup

* ms32.cpp: implement sprite direction bit, nuke per-game kludges

* Move note where it belongs (nw)

* ms32.cpp, bnstars.cpp: correct sprite RAM ranges

* tetrisp2.cpp: kill some legacy screen params, need those anyway

* Improve notes (nw)

* ms32.cpp: move CRTC to a new sysctrl device

Also added a bare-bones Python script for generating new device file
defs to src/mame/etc

* gen_python_def.py: address issues, misc improvements

* Kill device_memory_interface in favour of direct address_map, QA always broken flip_screen in flags

* ms32.cpp: reinstated flip screen thru callback

* ms32.cpp: Make mixing to honor cliprects instead of erratic screen.width / height call

* Need a safeguard somehow, and a symbols build doesn't help here lalala

* Fix notes, cannot repro the bug, next

* Move irq assert/clear lines to device, add preliminary prg timer, make 30 Hz irq to behave like one.
(Note: very untested, feedback is appreciated)

* Send a prg timer ack if irq is disabled

* Misc cleanups

* Nuke emu_timers in favour of configure_scanline, preliminary bnstars1 hookup

* No magic number please

* Add sysctrl to tetrisp2.cpp, move rockms stuff into its own state machine, misc

* Kill off 30 Hz refresh rate hack in stepstag/vjdash sub screens

* Flag all those xtals as unknown

* Move has_zoom/has_yuv in ms32_sprite init constructor, fix dummy config bug with stepstag right screen update

* jalcrpt.h doesn't belong to tetrisp2.cpp, errata on sysctrl reset line

* Fix build

* Left-over

* Fix bool comparison to itself (blame JS habits), nuke bnstars1 mahjong
switch case altogether.

* Notes

* Fix bnstars1 crash

* update_color fn doesn't work without a memory_share_creator, documentation

* Translate clamp_to_12bits_neg to a constexpr method

* Fix crashing in main ms32 driver, except it now has very broken priority for seemingly no reason

* Fix nasty spriteram buffer RAM allocation bug

* Make objectram_size to be calculated at init time

* First (naive) pass in moving common interface to a ms32_base_state

Move m_irqreg save state from video_start to machine_start fn;
Fix embarassing palette overflow bug in ms32.cpp;
Add bitswap for bnstars1 mahjong panel;
.bytes() -> .length() for objectram_size;

* bnstars: template video handlers

* bnstars: fix config, split sprite chips/gfxdecode/palette into two, fix palette ranges

* ms32.cpp: implement proper irq acknowledge lines

* Add config setter in sysctrl for inverted vblank/field lines, make tp2ms32 and wpksocv2 happy

* Move f1superb to own state

* MS32 merge sound maps

* Remove TIMER_DEVICE_CALLBACK_MEMBER in favour of emu_timer
2020-11-25 21:14:04 +11:00
Olivier Galibert
21ad5da328 Fix mac, just a typo in the conversion of nubus installs 2020-11-25 10:56:36 +01:00
Vas Crabb
d33f987874 luaengine.ipp: Fixed clan redefined default template argument error 2020-11-25 20:25:54 +11:00
Greg Kennedy
4086c1aac0
cosmic.cpp: Fixed bug in sound output handler and cleaned up sample playback code
Removed some redundant calls, and turned the questionable [[fallthrough]] into a break.
2020-11-25 19:46:33 +11:00
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