Commit Graph

52376 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
Patrick Mackinlay
bacc4578d2 minor tidy 2017-05-19 15:19:59 +07:00
Patrick Mackinlay
2da04cd294 relocate preproc directive 2017-05-19 14:57:09 +07:00
Patrick Mackinlay
405daa611e scsi dma improvements 2017-05-19 14:54:35 +07:00
Patrick Mackinlay
192f7b8911 permissions 2017-05-19 12:42:11 +07:00
Patrick Mackinlay
405a80b0fe tidy up 2017-05-19 12:34:02 +07:00
Patrick Mackinlay
c9e344d412 tidy 2017-05-19 11:56:32 +07:00
Patrick Mackinlay
c156ec6e92 merge 2017-05-19 11:47:14 +07:00
Patrick Mackinlay
625ad44d4a Merge remote-tracking branch 'refs/remotes/mamedev/master' into interpro 2017-05-19 11:30:17 +07:00
Patrick Mackinlay
09e7f997fb revert to mcga, fix headers 2017-05-19 09:58:42 +07:00
Patrick Mackinlay
53ba81f850 Merge branch 'master' 2017-05-19 09:43:57 +07: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
Patrick Mackinlay
9e1428179e fix file modes 2017-05-19 08:50:26 +07: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
Patrick Mackinlay
66fc4b0a44 merge cleanups 2017-05-19 08:26:42 +07: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
Patrick Mackinlay
9f98ebe314 Merge remote-tracking branch 'refs/remotes/mamedev/master' into interpro 2017-05-18 18:59:57 +07:00