Commit Graph

9610 Commits

Author SHA1 Message Date
Miodrag Milanovic
5a4b6fa9a0 Adding ability to support other types of software lists, so floppies, cassettes, cd-roms are now possible to be used [Miodrag Milanovic] 2010-07-08 12:59:21 +00:00
Aaron Giles
0910f8038a Fix bad loop condition that shows up with -cheat enabled. 2010-07-08 04:48:25 +00:00
Aaron Giles
4df35a02d9 Whoops, forgot this. 2010-07-07 21:04:32 +00:00
Aaron Giles
20fe094c0e Remove the global clock accessors and cpu_* aliases:
cpu_get_clock -> device_get_clock
cpu_set_clock -> device_set_clock
cpu_get_clockscale -> device_get_clock_scale
cpu_set_clockscale -> device_set_clock_scale

Search: device_get_clock([ \t]*)\(([ \t]*)([^)]+)
Replace: \3->unscaled_clock\1\(\2

Search: device_set_clock([ \t]*)\(([ \t]*)([^,]+),[ \t]*
Replace: \3->set_unscaled_clock\1\(\2

Search: device_get_clock_scale([ \t]*)\(([ \t]*)([^)]+)
Replace: \3->clock_scale\1\(\2

Search: device_set_clock_scale([ \t]*)\(([ \t]*)([^,]+),[ \t]*
Replace: \3->set_clock_scale\1\(\2
2010-07-07 21:01:36 +00:00
Aaron Giles
65f8a15555 Time to kill off some deadwood.
First to go is devtag_get_device() (what a stupid name).
Use machine->device() instead.

This was strictly a bulk replace:
Search: devtag_get_device([ \t]*)\(([ \t]*)([^,]+),[ \t]*
Replace: \3->device\1\(\2
2010-07-07 19:27:01 +00:00
Miodrag Milanovic
b797437b3b Added per-device image softlist loading routine [Miodrag Milanovic]
Renamed feof to image_feof (in device_image_interface) in order to compile on FreeBSD [El Barto]
2010-07-07 13:25:03 +00:00
smf-
c13eb4d193 turned i2cmem into a c++ device & ditched the unused legacy device. 2010-07-07 13:05:02 +00:00
Nicola Salmoria
c35336557d fix xmcotah/xmcotahr1 ROMs [Razoola] 2010-07-07 07:29:38 +00:00
R. Belmont
b05556b705 Fix OS X debugger (verified on PPC and Intel) 2010-07-07 03:31:58 +00:00
R. Belmont
6a315283c9 More loop initializers for PowerPC compile. 2010-07-07 03:30:06 +00:00
R. Belmont
4b978bec11 This pattern is everywhere (no whatsnew) 2010-07-07 03:18:56 +00:00
R. Belmont
47ba04990c Another OS X compile problem (no whatsnew) 2010-07-07 03:17:28 +00:00
R. Belmont
97713f034e Fix reported OS X compile problem. 2010-07-07 01:47:06 +00:00
R. Belmont
9580049784 Fix SH-2 interpreter [Atari Ace] 2010-07-07 01:27:54 +00:00
Aaron Giles
30662dcdef Cleanups and version bump. 2010-07-06 17:30:28 +00:00
Wilbert Pol
bcd97e9880 Fix compiling of osx debugger. 2010-07-06 16:59:04 +00:00
Michaël Banaan Ananas
d7482052ea made the new model racing gun game unknown again, it's not super shot 2010-07-06 16:30:25 +00:00
Michaël Banaan Ananas
06753ef668 made unknown games titles lowercase 2010-07-06 16:26:20 +00:00
Aaron Giles
f7ce43f8fb Cleanup debugger interface some more. 2010-07-06 16:12:53 +00:00
Miodrag Milanovic
16f14bc5f9 - Added MDRV_SOFTWARE_LIST_COMPATIBLE_ADD for adding compatible software lists (for documentation purposes) [Miodrag Milanovic]
- listsoftware option now return only original software lists
- UI is updated to enable mounting software items per device, it will display only items from list that are for specific device
- Separate compatible software lists in UI
2010-07-06 14:27:51 +00:00
Miodrag Milanovic
4d9a17ee08 Support for multiple software list per driver [Miodrag Milanovic] 2010-07-06 09:27:57 +00:00
Michaël Banaan Ananas
fc27db65e1 Slip Stream 2010-07-06 08:32:43 +00:00
Nicola Salmoria
ea0bdee34e no functional changes 2010-07-06 08:16:08 +00:00
Jonathan Gevaryahu
0646440c51 fix an error in the new documentation comment, no whatsnew 2010-07-06 07:15:36 +00:00
Jonathan Gevaryahu
116e5a390d Big comment update for TMS52xx, explaining in much more detail how the chip timing and interpolation works. No functional changes. 2010-07-06 03:02:41 +00:00
Aaron Giles
8b90eb19d5 Fix SDL debugger. 2010-07-06 02:04:15 +00:00
Aaron Giles
5d21c672af Moved debugging structure away from CPUs only and attached to all
devices. Debugger now creates one for each device. C++-ified most
debugger operations to hang off the debugging class, and updated
most callers. This still needs a little cleanup, but it fixes most
issues introduced when the CPUs were moved to their own devices.

Got rid of cpu_count, cpu_first, cpu_next, etc. as they were badly 
broken. Also removed cpu_is_executing, cpu_is_suspended,
cpu_get_local_time, and cpu_abort_timeslice.

Some minor name changes:
  state_value() -> state()
  state_set_value() -> set_state()
2010-07-06 00:52:36 +00:00
Angelo Salese
995097894f Hooked up second layer, no whatsnew 2010-07-05 23:52:39 +00:00
Fabio Priuli
b0a74c9e0f New clone added:
Exerizer (Japan) [N. Francfort, blib, Smitdogg, The Dumping Union]


roms are a mixup of Sky Fox and the bootleg, but they've been dumped from an original board (and label are correct)
2010-07-05 21:47:01 +00:00
Nicola Salmoria
df76263805 317-5000 decryption (same as 315-5177). Reorganised decryption code. 2010-07-05 21:08:18 +00:00
Michaël Banaan Ananas
de67a76a60 un-CAPS svc 2010-07-05 19:57:29 +00:00
Nicola Salmoria
0664448c9d divided segacrpt.c in two files, one for the old encryption and one for the new one. 2010-07-05 19:38:55 +00:00
Brian Troha
c82cf78f39 standardize PCB location form for a few rom names in slapfght.c. 2010-07-05 18:19:45 +00:00
Michaël Banaan Ananas
c2e8493cc1 minor naming cleanup 2010-07-05 13:34:20 +00:00
Michaël Banaan Ananas
4f3100924b directly casting to UINT caused compile-time negative values to become 0 2010-07-05 12:18:11 +00:00
Angelo Salese
cc86ec423e Improved video emulation in cb2001 [David Haywood] 2010-07-05 11:53:00 +00:00
Miodrag Milanovic
1538288109 Removed need for messdrv.h (no whatsnew) 2010-07-05 10:34:34 +00:00
Miodrag Milanovic
c14878e59a Imported image related utils from MESS into /lib/util [Miodrag Milanovic] 2010-07-05 10:19:05 +00:00
Michaël Banaan Ananas
66a88c930f modelr -> suprshot:
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=226445&page=&view=&sb=5&o=&fpart=1&vc=1
2010-07-05 09:52:24 +00:00
Miodrag Milanovic
5cf07785d0 Software list update: [Wilbert Pol]
- Software list xml files are now read in full such that information for clone and parent sets is available.
- Added validity check to check for existence of parent sets.
2010-07-04 19:16:47 +00:00
Angelo Salese
79dbd821c0 new clones
----------

Boggy '84 (original Kaneko) [Klaus Sommer, Team Europe, The Dumping Union]
2010-07-04 13:12:53 +00:00
Fabio Priuli
22a2473cb6 fixed a MMC1 minor detail in multigam.c. I'm not sure if it was affecting any game, so there is no need of whatsnew mention. 2010-07-04 13:00:11 +00:00
Miodrag Milanovic
c31a033b9f Fixed compiler error (no whatsnew) 2010-07-04 06:09:43 +00:00
Bryan McPhail
e8f96f3aba no whatnews. woops - meikyuh coin input wiring is inverted from Ghostbusters. 2010-07-03 18:41:27 +00:00
Bryan McPhail
0de759962b whatsnew
Hooked up Gondomania I8751 MCU [Bryan McPhail, Dr Decapitator]
Reimplemented Meikyuu Hunter G I8751 MCU according to schematics [Bryan McPhail]
2010-07-03 18:36:14 +00:00
Quench
1079dd15d8 Stop MingW-32 Seg-Faulting on WinXP [no whatsnew] 2010-07-03 17:44:15 +00:00
Roberto Zandona
7aecd327d0 [cb2001] added 2 new opcodes [robiza] 2010-07-03 16:47:24 +00:00
Angelo Salese
4333bf7b83 new not working
------------

Model Racing Shooting Game (unknown title) [Luigi, Volker Hahn, Team Europe]
Out Run 2 (Rev. A) [GDX-0004A]  [Team Europe, The Dumping Union, Alex]
2010-07-03 12:34:20 +00:00
Bryan McPhail
3c8f6c6159 Hooked up Heavy Barrel I8751 MCU [Bryan McPhail, Dr Decapitator] 2010-07-03 11:45:25 +00:00
Aaron Giles
c70c5fee5a Created CPU-specific device types for all CPUs, using new macros
DECLARE_LEGACY_CPU_DEVICE and DEFINE_LEGACY_CPU_DEVICE. Changed CPUs
to be their own device types, rather than all of type CPU with a
special internal subtype. Note that as part of this process I removed
the CPU_ prefix from the ALL-CAPS device name, so CPU_Z80 is just
plain old Z80 now. This required changing a couple of names like
8080 to I8080 so that there was an alphabetic first character.

Added memory interfaces to the list of fast-access interfaces. To do
this properly I had to add a separate method to devices which is
called immediately after construction, when it is possible to perform
dynamic_casts on fully-constructed objects. (This is just internal,
no changes necessary to the devices themselves.)

Some additional notes:
 * SH2 and SH4 had typedefs that conflicted with their CPU_-less names
    so I bulk renamed to structures to sh2_state and sh4_state; RB, feel
    free to choose alternate names if you don't like 'em
 * SCSP was caught doing something to the 3rd indexed CPU. Since several
    systems that use SCSP don't even have 3 CPUs, I had no idea what
    this was supposed to do, so I changed to it reference "audiocpu"
    assuming that stv was the assumed target. This is really gross and
    should be a configuration parameter, not a hard-coded assumption.
2010-07-03 00:12:44 +00:00