a limited capacity (e.g., for devices), but the existing copy-and-rebind
code would just cast the bound object without verifying the pointer was
of the correct type or pointing to the correct class in the hierarchy.
Objects that are late-bound must be derived from the delegate_late_bind
class at some point so that a dynamic_cast from delegate_late_bind to the
appropriate type succeeds.
Updated the address map and custom NVRAM handlers to do the right thing
with their re-binding.
Remove the old tokenizing helpers. Add basic classes for ports, fields,
settings, and dip locations as a first step. These will be fully cleaned
up later. Added machine() method to field to hide all the necessary
indirection. Changed custom/changed handlers into generic read/write
handlers, and added wrappers to convert them to device read/write
lines. [Aaron Giles]
MDEC is now an internal device of the PlayStation CPU [smf]
PlayStation DMA uses delegates so devices can be hooked up.
device_t::siblingdevice() uses device list on mconfig() so it can work before the machine is constructed.
moved unused console code back to mess.
- Updated modern macros to propagate device so it is possible to make modern maps for devices too
- Updated bsmt2000.c and mie.c as examples of modern address map devices
---------------------
Mahjong Maina - Kairakukan he Youkoso [alien_mame, The Dumping Union]
The Nanpa [alien_mame, The Dumping Union]
Cospure Tengoku 7 - Super Co-gal Grandprix [alien_mame, The Dumping Union]
Fudol [alien_mame, The Dumping Union]
- Hooked up sound CPU interrupts properly, using the V35 builtin
interrupt controller, rather than generating the vectors in the
driver.
- Cleaned up ROM mirroring, using AM_REGION macros in the address
maps instead of memcpy()ing all over the place in the DRIVER_INITs.
- Converted bankswitching to use configured banks. Only configure the
banks and install the bankswitch WRITE_HANDLER in the games that
actually use it (i.e. those with a full megabyte of program ROM).
This and the previous change make the drivers a lot less confusing to
look at... I hope.
- Converted both drivers to use a scanline timer device instead of a
hand-rolled one.
- Added save state support to m92.c. Everything necessary was already
saved, I just had to add the tag. However, presumably due to the core
emu_timer breakage (MT 4330, 4331) the save states don't actually
work at the moment. I've already reported this as MT #4333
- Added GAME_MECHANICAL tag to wpksoc and clone
- "Ninja Baseball Batman" -> "Ninja Baseball Bat Man"--it's clearly
two words both on the game's title screen and even more obviously in
the flyer.
Note that msm8251 would be nice to have on emu section but it depends of serial.c which needs to be rewritten in order to be useful. Also upd765 is used only by MESS and it's pain to keep it in emu since it is not yet bug free.