Commit Graph

9366 Commits

Author SHA1 Message Date
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
Aaron Giles
46e30c4f68 Remove obsolete type. 2010-07-02 15:54:09 +00:00
Aaron Giles
7f11224184 Added overrides to fetch the execute and state interfaces without doing
a dynamic_cast<> to speed up common legacy operations.
2010-07-02 15:42:18 +00:00
Aaron Giles
553ec7f427 Some more cases to directly access the state interface instead of using the old
cpu_* macros. Also changed the ADSP21xx callbacks to take a cpu_device.
2010-07-02 15:12:58 +00:00
Aaron Giles
af9e6f531f Kill cpu_get_sp(). 2010-07-02 13:29:03 +00:00
Miodrag Milanovic
48d8e3d3cf Update cheat loading to support image devices (moved implementation from MESS), use only CRC of first found image. [Miodrag Milanovic] 2010-07-02 12:21:03 +00:00
Aaron Giles
a0ce1569b6 More slowdown relief. 2010-07-02 06:01:44 +00:00
Aaron Giles
030c1ee79f Fix coolridr speed regression. 2010-07-02 04:49:37 +00:00
Aaron Giles
8a73491965 Fix dynamic cast in machine->describe_context(). 2010-07-02 04:41:18 +00:00
Aaron Giles
001f2462c9 Speed up attckufo. 2010-07-02 04:06:07 +00:00
Aaron Giles
fa2d8a88a4 Oops, forgot to remove some dead code. 2010-07-02 03:55:48 +00:00
Aaron Giles
b67fd48c9f Winmain cleanup:
* created dynamic_bind<> template class to handle dynamically binding to
    optionally-supported functions
 * wrapped stack walking code in a class
 * wrapped symbol lookup code in a class
 * added support for parsing objdump-produced symbol dumps which include
    non-global functions for much better stack dumps and profiling in gcc builds

Also: modified makefile for win32 targets to automatically run objdump and
produce a .sym file if SYMBOLS is enabled.
2010-07-02 03:49:56 +00:00
Michaël Banaan Ananas
2c6e27c547 regression fix way back at r152, atarimo_set_xscroll wasn't updated when some MDRV_SCREEN_RAW_PARAMS were increased by 8 (like with rampart.c) 2010-07-01 21:28:53 +00:00
Michaël Banaan Ananas
c8e49537f3 write/control ports were not default 2010-07-01 20:28:26 +00:00
Michaël Banaan Ananas
fff2175e6e whatsnew (from Tafoid), please disregard raiden2.c:
New games marked as GAME_NOT_WORKING
------------------------------------
Raiden DX (Great Britain) [arcaderelics]


change to:
New clones added
----------------
Raiden DX (UK) [Irongiant]
2010-07-01 16:33:23 +00:00
Michaël Banaan Ananas
a749bc9ce7 added COPX romloading for sets that didn't have it, marked as BAD_DUMP until the assumption that they're the same is (un)confirmed 2010-07-01 16:13:15 +00:00
Michaël Banaan Ananas
1856b0703c make the new dx set the parent, clean up setnames, change year to 94 2010-07-01 15:29:40 +00:00
Curt Coder
465487a221 New games marked as GAME_NOT_WORKING
------------------------------------
Raiden DX (Great Britain) [arcaderelics]
2010-07-01 15:15:53 +00:00
Fabio Priuli
997936e985 namcos22.c: updated ridgerac, raveracw and acedrvrw to use keys instead of dipswitches for shifters [Fabio Priuli]
out of whatsnew: the code is maybe not the ideal solution, but dipswitches were neither, imho. test mode shows no change in functionalities compared to the old code, but the new implementation makes a lot easier the actual use of shifter in-game
2010-07-01 14:24:53 +00:00
Aaron Giles
7bdb4bf083 Use UINT64s for converting cycles <-> clocks. 2010-07-01 05:01:12 +00:00
Brian Troha
884cadfde0 correct dipswitch location order in World Rally to match actual dips as seen by the game / service menu 2010-07-01 02:08:24 +00:00
Aaron Giles
de771cbfeb Remove the following functions:
cpu_get_total_cycles()   == cpudevice->total_cycles()
  cpu_clocks_to_attotime() == cpudevice->cycles_to_attotime()
  cpu_attotime_to_clocks() == cpudevice->attotime_to_cycles()

In some cases, I updated existing code that fetched and cached 
devices to fetch them as cpu_device so that these can be called
without casting.

In other cases, I did the quick & dirty thing which was to downcast
a generic device to a cpu_device and then call the function.

Note that cpu_clocks_to_attotime() and cpu_attotime_to_clocks()
were previously mapping to the device-level functions
clocks_to_attotime() and attotime_to_clocks(). This was different
behavior than before the big devices change, so with this update
I have fixed it to match the previous behavior (i.e., map cycles
not clocks).

This may impact timing of drivers that used these functions on
CPUs that have clock dividers or multipliers.
2010-07-01 00:34:46 +00:00
Aaron Giles
dfc04871c4 Remove most other instances of cpu_get_total_cycles. 2010-06-30 23:35:26 +00:00
Wilbert Pol
daccd1f46c Fixes to get OSX debugger working again. (no whatsnew) 2010-06-30 21:55:38 +00:00
Aaron Giles
e7e1e04b7f Fix performance regression for PowerPC games. The timing made heavy use of
cpu_get_total_cycles() which is now slow. Better to use the legacy_cpu_device
directly and call device->total_cycles() which avoids the dynamic_cast to find
the execute interface from a generic device.

Also added cycles_to_attotime() and attotime_to_cycles() which is more often
what is requested. (Clocks are the raw input clock, while cycles are internal
clock after dividers/multipliers.)
2010-06-30 20:48:26 +00:00
Aaron Giles
77f2ea0e3e Resurrect the old sampling profiler, and improve it to be useful:
- always available now, just specify -profile <n> to enable it
 - supports stack walking to uniquely identify call chains; the <n> parameter
    to the -profile option specifies how deep to go
 - automatically turns off throttling and multithreading, and sets the number of
    processors available to 1 (since we only sample the main thread)
 - output now uses the common symbol lookup, which actually uses the PDB for
    MSVC builds and gives excellent results (may eventually figure out how to
    extract gcc symbols someday)
 - the top 30 unique call chains are output
2010-06-30 20:29:12 +00:00
Phil Bennett
7f53ab90fe Also unbreak Performan (no whatsnew) 2010-06-30 20:28:46 +00:00
Aaron Giles
265c584899 Turn off the bool warning. 2010-06-30 20:23:49 +00:00
Phil Bennett
9b8261e41c Unbreak kuniokunb (no whatsnew) 2010-06-30 18:10:10 +00:00
Wilbert Pol
9a8095f9b3 Fix compiling on non-windows SDL targets. (no whatsnew) 2010-06-30 17:50:48 +00:00
Michaël Banaan Ananas
7b9e4bae0e (a77) 2010-06-30 15:42:57 +00:00
Michaël Banaan Ananas
08c73b26e8 less confusing names for slapfight bootlegs 2010-06-30 15:37:02 +00:00
Michaël Banaan Ananas
24ce7d4f73 New clones added
----------------
Marvel Vs. Capcom: Clash of Super Heroes (USA 971222) [Razoola]
2010-06-30 14:38:39 +00:00
Scott Stone
82ffec10c0 MAME doesn't like uppercase ROM names. 2010-06-30 14:00:30 +00:00
Miodrag Milanovic
5a40287b9c Added call to add device with parameters sent and his sub devices (no whatsnew) 2010-06-30 13:14:51 +00:00
Aaron Giles
733b797a3d Split mame.c into mame.c and machine.c, the latter containing the
running_machine definition and implementation.

Moved global machine-level operations and accessors into methods on the
running_machine class. For the most part, this doesn't affect drivers
except for a few occasional bits:

  mame_get_phase() == machine->phase()
  add_reset_callback() == machine->add_notifier(MACHINE_NOTIFY_RESET, ...)
  add_exit_callback() == machine->add_notifier(MACHINE_NOTIFY_EXIT, ...)
  mame_get_base_datetime() == machine->base_datetime()
  mame_get_current_datetime() == machine->current_datetime()

Cleaned up the region_info class, removing most global region accessors
except for memory_region() and memory_region_length(). Again, this doesn't
generally affect drivers.
2010-06-30 03:46:21 +00:00
Brian Troha
2c549dad23 a little more information about the alt set of Slap Fight. Also minor correction of PCB locations. 2010-06-30 00:03:39 +00:00
Brian Troha
420ccf24e9 slapfght.c: Corrected rom names for the Slap Fight sets and added PCB locations to any set where possible. Added Dipswitch locations to Slap Fight. Moved PCB information down to matching rom sets. [Brian Troha, Guru] 2010-06-29 23:15:49 +00:00
Miodrag Milanovic
cdc7457957 Moved back utility functions in order to make mess tools compile again (no whatsnew) 2010-06-29 17:10:05 +00:00
Scott Stone
4f53274d98 Changed autmoon (aristmk4) romload to proper crc/sha hashes. The submitted romset contained a 32kb (u87.bin) which actually appeared to be an 8k overdumped.
Comment:  I was trying to get these now working sets 'running' (set up and configured) so I could write up the comments for the MAME FAQ.  Does anyone have any experience with these?
2010-06-29 14:47:34 +00:00
Miodrag Milanovic
949fc85ee8 Moved some utility functions to image from MESS (no whatsnew) 2010-06-29 14:28:18 +00:00
Miodrag Milanovic
83b96c81ee Added new static call in diimage and added call to initialize subdevices for image device (no whatsnew) 2010-06-29 13:47:46 +00:00
Michaël Banaan Ananas
4054f61980 correct romnames round2 2010-06-29 09:04:05 +00:00
Miodrag Milanovic
63e8e8fe98 Modified way device_type constants are defined in order to get unidasm compile [Miodrag Milanovic] 2010-06-29 09:02:17 +00:00
Angelo Salese
0a68d1afde Fixed title screen colors in Bogey Manor [Angelo Salese, Stefan Lindberg] 2010-06-28 19:01:58 +00:00