[stephh] :
- Fixed Dip Switches and Inputs (after verification of the M68000
code)
- Fixed coin insertion which now correctly supports "Coin A" and
"Coin B" settings
-------------------------------------------------------------------------------
from Atari Ace <atari_ace@frontier.com>
date Sun, Aug 22, 2010 at 10:24 PM
subject [patch] Convert toaplan1/2 to driver_data^3
mamedev,
toaplan2 remains a moving target. This patch is a rebsubmission of
yesterday's patch adjusted to account for recent toaplan2 changes.
~aa
- Fixed Dip Switches and Inputs (after verification of the Z80 code)
- Fixed coin insertion which now correctly supports "Coin A" and
"Coin B" settings
- Fixed MCU simulation for 'firetrapj' (only the initialisation was
different) so the game is now playable
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Fire Trap (Japan) [stephh]
* Added proper willowj roms to match real pcb,
it was using incorrect roms copied from parent set
* Added an old pcb rev of knightsj, using split roms
* Added an old pcb rev of kodj, using split roms
* Added newer Street Fighter II CE set
* Fixed kodj labels and confirmed pcb infos
* Fixed qadj labels, added PALs and pcb infos
* Fixed sf2ua labels and added pcb infos
* Minor cleanups and fixes
New clones added
-------------------------------------------
Knights of the Round (Japan 911127, B-Board 89625B-1) [Layne, john666, Ricky74, ranger_lennier, Smitdogg, The Dumping Union]
The King of Dragons (Japan 910805, B-Board 89625B-1) [Kevin Eshbach, takearushfan, M. De Pasquale, Smitdogg, The Dumping Union]
Street Fighter II': Champion Edition (World 920513) [john666, Smitdogg, The Dumping Union]
Willow (Japan, Japanese) [Layne, john666, C. Trutmann, Smitdogg, The Dumping Union]
#define ADDRESS_MAP_MODERN prior to #including "emu.h", you will
get the new macros, which have the following properties:
* ADDRESS_MAP_START takes a 4th parameter, which is the name of the
driver_data class the other macros will reference
* AM_READ/AM_WRITE/etc. all assume you are providing method names off
of the driver_data class you originally specified
* AM_READ_LEGACY/AM_WRITE_LEGACY macros are provided for calling
global static functions of yore
* AM_BASE/AM_SIZE all assume you are providing member names off of the
driver_Data class
* AM_BASE_LEGACY/AM_SIZE_LEGACY are provided to reference globals if
necessary
Also removed AM_READ_MEMBER/AM_WRITE_MEMBER/etc from the non-modern
macros. If you want to use member functions in the address map, you
are now required to use the new macros.
machine_start
machine_reset
sound_start
sound_reset
palette_init
video_start
video_reset
video_update
video_eof
The default implementations of these call through the machine
configuration's functions as before. However, if a driver_data_t
overrides them, it will be called instead.
Also added virtual functions for pre_save() and post_load(),
which can be overridden to implement machine driver-specific
pre-save/post-load functionality instead of registering with
the save state system.
Updated beathead to use these new virtual functions instead of
specifying callbacks in the MACHINE_DRIVER.