Previous | 199869 Revisions | Next |
r17115 Saturday 4th August, 2012 at 05:19:46 UTC by Aaron Giles |
---|
Sega 16-bit cleanup, part 1 (still more coming): * Converted FD1089/FD1094 into proper devices, derived from m68000. They now handle their own decryption and memory management, so we can remove all the calls for initialization/reset/etc. The key now lives as a 'key' subdevice under the CPU, and the FD1089/1094 are now specified just like any other CPU. * Removed the horrible s16fd and s24fd files. Good riddance. * Created a helper class for managing fd1094 decryption caches. * Converted the memory mapper into a new modern device and updated the segas16b, segaorun, and segas18 drivers to use it. Fixed ROM memory mapping so that the source ROMs can be loaded contiguously, removing a bunch of hacks. * Untangled the joined segas1x_state and split the states for each system into their own classes. Cleaned up some implementations. * Added support for member functions to be called as DRIVER_INIT functions. To do this, #define MODERN_DRIVER_INIT prior to #including "emu.h" and you will be required to specify a class and member function for your driver init. * Fully modernized the segas16b and segas18 drivers. New working games added ----------------------- GP Rider (Japan) [ShouTime, Charles MacDonald, Aaron Giles] Last Survivor [ShouTime, Charles MacDonald, Aaron Giles, 9ofzeven, TrevEB, Dr. Spankenstein, ghoolster, Surgeville, Tormod, Tjaberg, Waremonger] (Note: A couple games are still busted, but most are working. Will follow up with more updates.) |
[src/emu] | driver.c driver.h gamedrv.h ui.c |
[src/mame] | mame.lst mame.mak |
[src/mame/drivers] | beathead.c segahang.c segaorun.c segas16a.c segas16b.c segas18.c segas24.c segaxbd.c segaybd.c |
[src/mame/includes] | beathead.h segas16.h segas24.h |
[src/mame/machine] | fd1089.c fd1089.h fd1094.c fd1094.h fddebug.c |
[src/mame/video] | beathead.c segahang.c segaorun.c segas16a.c segas16b.c segas18.c segaxbd.c segaybd.c |
Previous | 199869 Revisions | Next |