Commit Graph

9545 Commits

Author SHA1 Message Date
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
Michaël Banaan Ananas
663d46a225 whatsnew note:
this was wrong:
New games marked as GAME_NOT_WORKING
------------------------------------
Fire Trap (Japan)

correct:

New clones added
----------------
Fire Trap (Japan) [Guru]
2010-06-28 18:15:12 +00:00
Michaël Banaan Ananas
d0b232c19b New clones added
----------------
Virtua Striker 2 '99 (Revision B) [Guru]
2010-06-28 18:12:00 +00:00
Michaël Banaan Ananas
9fe558d395 idsoccer: Improved DIP locations, confirmed MSM5205 clock [Kevin Eshbach]
New clones added
----------------
American Soccer [Kevin Eshbach]
2010-06-28 17:16:33 +00:00
Michaël Banaan Ananas
6bbe23b884 firetrap.c: Added PCB documentation, corrected ROM names, corrected clocks [Guru]
New games marked as GAME_NOT_WORKING
------------------------------------
Fire Trap (Japan)
2010-06-28 13:49:50 +00:00
Miodrag Milanovic
58c2e62440 Moved image_postdevice_init call to proper place (no whatsnew) 2010-06-28 11:04:20 +00:00
Miodrag Milanovic
4849299a0d Fixed regression in z80dart device (no whatsnew) 2010-06-28 08:19:58 +00:00
Aaron Giles
41b9dbb9ac Made the machine_config a proper object. Added detokenize method to
this object which can be called multiple times to append new devices
after the initial machine configuration is set up. Updated member
variables to match new naming convention.

Changed the running_machine to take a constructed machine_config
object in the constructor, instead of creating one itself, for
consistency. Also added machine->total_colors() as a shortcut to 
machine->config->m_total_colors.
2010-06-28 06:40:44 +00:00
Brian Troha
f9a3aaf5c8 cps2.c: Correct the release order for the Xmen: Cota (Hispanic) sets [gregf] 2010-06-28 03:33:58 +00:00
Aaron Giles
2782c92d8e Hooked up MCUs for Tough Turf (US) and Wrestle War. 2010-06-27 21:30:39 +00:00
Michaël Banaan Ananas
35f91b926b developed by toaplan (under taito contract): tiger heli, guardian, slap fight 2010-06-27 18:13:15 +00:00
Phil Bennett
92ed14a1e9 Hooked up Slap Fight/Alcon 68705 MCU [Phil Bennett, Dr. Decapitator]
New games added or promoted from NOT_WORKING
--------------------------------------------
Slap Fight (set 1) [Phil Bennett, Dr. Decapitator]
Alcon [Phil Bennett, Dr. Decapitator]
2010-06-27 17:52:25 +00:00
Luca Elia
311e46a7bb igs011.c update [Luca Elia]
- Emulated IGS011 protection
- Emulated IGS012 protection
- Removed 149 rom patches
2010-06-27 16:04:13 +00:00
Angelo Salese
9fd5d7f354 Improved v25 logging for Batsugun [David Haywood] 2010-06-27 15:56:45 +00:00
Phil Bennett
18f3908841 neodrvr.c updates: [Johnboy]
* Tagged kof2003h AES VERSION
* Tagged the following sets as MVS AND AES VERSION: aodk, lbowling
* Renamed P1 in sengoku3 to correct chip label
* Marked v2 in strhoop BAD_DUMP
* Marked P1 in flipshot BAD_DUMP
* Identified kof98n as AES version, renamed to kof98h


New games added or promoted from NOT_WORKING
--------------------------------------------
"The King of Fighters '98 - The Slugfest / King of Fighters '98 - dream match never ends (Korean board 2)
2010-06-27 15:16:23 +00:00
Phil Bennett
cc64c060ab naomi.c: Corrected and updated some game names and cartridge descriptions [f205v] 2010-06-27 15:03:38 +00:00
Phil Bennett
6fa25e5c9a aristmk4: various improvements: [FrasheR, Palindrome]
* Fixed VIA for good. 5010 - 501F
* Hooked up push button inputs
* Hooked up ports for the PML 2852 U3
* Implemented coin input
* Lamp output and button layout
* NVRAM backup
* Connected SW7 for BG colour map select
* Added LK13. 3MHz or 1.5 MHz CPU speed select
* Added sound sample for mechanical meter pulse
* Replaced custom RTC code with MC146818
2010-06-27 14:42:45 +00:00
Aaron Giles
5e020e0281 That's what trimspace is for. :) 2010-06-27 14:23:48 +00:00
Phil Bennett
590f02fe0e Added some IC locations to the Renegade ROMs 2010-06-27 12:56:56 +00:00
Fabio Priuli
5a3f86829f added a PPU function eventually needed by MMC5 NES boards. no whatsnew. 2010-06-27 12:13:52 +00:00
Miodrag Milanovic
a456b3322d - Fixed compile
- Moved some defines from MESS to MAME
- Cleaned MESS side and therefore removed some includes
(no whatsnew)
2010-06-27 09:58:57 +00:00
Scott Stone
943e90a36e Added DIP LOCATIONS for xain.c [Tafoid] 2010-06-27 01:40:27 +00:00