Commit Graph

51548 Commits

Author SHA1 Message Date
Vas Crabb
b5cbf34a93 Fix crashes in -listxml in debug builds
* Make -listxml instantiate slot devices in slots rather than under the machine root
* Use dynamic_cast rather than static_cast or downcast on parent device in TI-99 slot/card devices

(nw) There are still very real issues present.  When -listxml, -listroms, -verifyroms, etc.
instantiate individual devices, they don't have the information necessary to instantiate the
expected parent device.  So slots won't be children of the bus they expect to be attached to,
and cards won't be in their usual slots.  It's unsafe to use static_cast<> on owner at the
best of times, and doing anything with the result is likely to cause silent memory corruption
during listxml (this was previously happening with the TI-99 peripheral box slot device).
You can't use downcast<> at configuration complete time either, as that degenerates to a
static_cast<> in release builds anyway, and it will cause a crash in -listxml in debug builds
as we had before.  The choices are to use a dynamic_cast and check the result before doing
anything with it before device start time, or wait for device start time and use downcast<>
at that point.
2017-05-21 17:08:06 +10:00
AJR
02e787e3d3 Partially rewrite uPD4701 device and hook it up to a few Sega games 2017-05-21 01:31:52 -04:00
dankan1890
f09ba1e562 Fixed some inaccuracies in file names in lua scripts. 2017-05-21 15:22:03 +10:00
AJR
092c8be896 RIP timer_pulse (nw) 2017-05-20 20:33:53 -04:00
arbee
d7bb52bd3c New non-working clone added:
Star Trek: Voyager (stand-up version 1.002) [ShouTime, The Dumping Union, R. Belmont]
2017-05-20 14:45:23 -04:00
MetalliC
af20ff0088 multfish.cpp: convert to use hopper device (nw) 2017-05-20 19:41:52 +03:00
Robbbert
4e5146a016 (nw)Stratos: marked as not working, small cleanup. 2017-05-21 02:05:11 +10:00
MetalliC
98fb80a8ca add hopper-like mode to ticket dispenser device 2017-05-20 17:06:28 +03:00
hap
93638e1cc2 New working clone added
----------
Dottori-Man Jr. [hap]
2017-05-20 15:46:38 +02:00
MetalliC
f6d61a9ebe Machine promoted to WORKING
Hashire Patrol Car [MetalliC]
2017-05-20 16:10:32 +03:00
R. Belmont
b019c1104c Merge pull request #2311 from DavidHaywood/newsets
clones from Mathieu Patard
2017-05-20 09:05:21 -04:00
R. Belmont
e32adb576c Merge pull request #2315 from 057a3dd61f99517a3afea0051a49cb27994f94d/throttle-fix
Fix video_manager::throttle_until_ticks (#2309)
2017-05-20 09:04:28 -04:00
057a3dd61f99517a3afea0051a49cb27994f94d
cb6fc11722 Remove the minimum constraint for sleep, thus avoid choosing a seemingly
arbitrary constant.
2017-05-20 17:56:03 +00:00
Mark Garlanger
69b600c8d3 Add support for ULTRA ROM on the Heathkit H19 (#2313) 2017-05-20 22:51:41 +10:00
yz70s
36df9bb801 chihiro: usb hotfix (nw) 2017-05-20 13:44:00 +02:00
Ivan Vangelista
bb78784b3b new working clone
-------------------------
Phoenix (Hellomat Automaten bootleg) [unknown]
2017-05-20 10:14:12 +02:00
AJR
30079d38b0 Have -listroms display a user-friendly message when no ROMs are required 2017-05-20 02:01:07 -04:00
AJR
f21e68092f Further tweaks to command verb behavior (nw)
- Extend slot option processing to the -listdevices command as well
- Don't try adding any system-specific options when a wildcard is specified
2017-05-20 01:36:33 -04:00
Vas Crabb
a0a94606b6 cleanup (nw) 2017-05-20 15:31:24 +10:00
Robbbert
335651bd79 (nw)zexall: output to error log at LN's request. 2017-05-20 14:40:39 +10:00
Vas Crabb
c9dc9feacc this should fix a coverity error (nw) 2017-05-20 14:25:29 +10:00
Nathan Woods
7293450835 Fixed a regression in -listmedia/-listslots
The issue is that -listmedia/-listslots were not honoring command line options specified on the slot.  This works around the problem.
2017-05-20 14:01:40 +10:00
Justin Kerk
e6a7df8afc New working software list additions
-----------------------------------
t1000.xml: MS-DOS (Version 2.11, Tandy version 02.11.24), MS-DOS (Verson 3.30, Tandy Version 03.30.20)
2017-05-19 19:41:54 -07:00
AJR
8d0a24e738 bingor.cpp: Random cleanups (nw) 2017-05-19 12:58:12 -04:00
hap
1627f382be fidel6502: add note (nw) 2017-05-19 18:54:47 +02:00
hap
6f535e25d4 flkatck.cpp: fix old regression when memorymaps were merged (nw) 2017-05-19 18:49:36 +02:00
Ted Green
0ac471d4f6 vegas: Add proper ioasic shuffling for nbagold and add sio fpga register reset. (nw) 2017-05-19 07:33:40 -06:00
Robbbert
b7186ae569 (nw) Zexall: removed unneeded writes to the console. 2017-05-19 23:24:49 +10:00
AJR
a0a9c32590 segam1.cpp: Hook up video devices, sound and much else (nw)
bingpty and unkm1 both boot to error screens now
2017-05-18 21:52:44 -04:00
AJR
895a27005d Remove unhelpful assert (nw) 2017-05-18 21:51:54 -04:00
Vas Crabb
c9f0cef555 make generic_terminal a bit more forgiving, should really make a variant of it with no keyboard (nw) 2017-05-19 11:28:52 +10:00
Vas Crabb
c7106b559b assert output calback is set for keyboard/terminal (nw) 2017-05-19 11:23:59 +10:00
Vas Crabb
026905fb30 More usability improvements:
* Allow multiple patterns/names for -listxml
* Fix some spurious errors from -listroms and -verifyroms with multiple patterns
2017-05-19 10:48:02 +10:00
Brandon Munger
87f8a8d248 r9751: Add terminal keyboard callback 2017-05-19 10:20:30 +10:00
AJR
0d13a816ac One more use for core_iswildstr (nw) 2017-05-18 11:28:55 -04:00
AJR
afbb14cba8 What you can't see can sometimes embarrass you (nw) 2017-05-18 11:28:17 -04:00
Vas Crabb
54f0efa2bd More auxiliary verb stuff:
* -validate complains if device shortnames exceed 32 characters
* -listroms and -verifyroms accept multiple names/patterns
2017-05-18 23:37:30 +10:00
Vas Crabb
75dfd32e71 Support -listroms for devices (e.g. mpu401 or m68705p3)
* Also ~67% improvement of device walk in -verifyroms
2017-05-18 19:34:28 +10:00
Dirk Best
a8c908b05e Amiga: Use correctly sized bootroms for the A1000 [Guru] 2017-05-18 11:17:50 +02:00
AJR
38a077b1c5 Misc. validation fixes (nw)
- Make single-driver command-line validation work again
- Correct some fruit machine driver classes
- Remove some now-redundant checks related to device name validity (including the slot test, which also made assumptions that some ti99 bus devices now break)
2017-05-18 02:45:59 -04:00
057a3dd61f99517a3afea0051a49cb27994f94d
5b39822103 Relax the threshold to consider an oversleep as a system time change,
in case of running on a heavily loaded system, as suggested by cuavas.
2017-05-18 04:09:47 +00:00
angelosa
e735009690 m14.cpp: Added flip screen support 2017-05-18 03:53:17 +02:00
angelosa
ee71c6abe3 m14.cpp: Revised PT Reach Mahjong, making it actually working [Angelo Salese]
* Added ball and paddle screen drawing;
* Added green background as per flyer pics;
* Added reach button and updated input labels;
2017-05-18 03:30:06 +02:00
MooglyGuy
90d6fe79ce Fixed HQx shaders with BGFX OpenGL backend. Fixes for more shaders seem to be a bit more involved. Will have proper commit message later. (nw) 2017-05-18 00:59:37 +02:00
R. Belmont
e73dc77873 Merge pull request #2317 from DavidHaywood/pangfix2
mitchell.cpp : just use the finder method for nvram
2017-05-17 15:07:50 -04:00
Lord-Nightmare
827539b216 update comments to clarify the epos.cpp tristar 8000 clock situation, based on schematics (nw) 2017-05-17 13:20:31 -04:00
Ivan Vangelista
843dcdf32f royalmah.cpp: removed aysnd tagmap lookups, partial move to configured banking, save state preparation (nw) 2017-05-17 18:09:41 +02:00
Ivan Vangelista
1934329b7e new working clone
----------------------------------
Super Street Fighter II: The Tournament Battle (Asia 931005) [idc/Team Avalaunch]
2017-05-17 18:07:29 +02:00
Ted Green
0626b116ee pci-ide: Added function to set default PIF byte. (nw) 2017-05-17 09:49:54 -06:00
David Haywood
4a80fb2d25 missed one (nw) 2017-05-17 16:39:51 +01:00