diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-03-13 15:44:43 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-03-13 15:44:43 +0000 |
commit | de3cfee6c6f890d182c5b05543e0c0ae1ed08b40 (patch) | |
tree | 44115120f66b8c00888ed80e7a30eb8f84196992 | |
parent | 28ee84b180d16b3828153470eef2a2ca6442ca3f (diff) |
src/mame/drivers/asuka.c:
Created MACHINE_START( asuka ) to configure cpu2 banks with memory_configure_bank(),
All drivers support save states, with the exception of cadash and clones, the background does not load properly. I'm not familiar enough with taitoic.c to make that happen.
-rw-r--r-- | src/mame/drivers/asuka.c | 46 |
1 files changed, 35 insertions, 11 deletions
diff --git a/src/mame/drivers/asuka.c b/src/mame/drivers/asuka.c index 504e7a22169..660bd5fc199 100644 --- a/src/mame/drivers/asuka.c +++ b/src/mame/drivers/asuka.c @@ -195,7 +195,8 @@ Earthjkr: Wrong screen size? Left edge of green blueprints in attract looks like it's incorrectly off screen. Cadash: Hooks for twin arcade machine setup: will involve emulating an extra -microcontroller, the 07 rom might be the program for it. +microcontroller, the 07 rom might be the program for it. Cadash background +colors don't reinitialize properly with save states. Galmedes: Test mode has select1/2 stuck at on. @@ -302,6 +303,17 @@ static WRITE8_HANDLER( asuka_msm5205_stop_w ) +static MACHINE_START( asuka ) +{ + /* configure the banks */ + memory_configure_bank(1, 0, 1, memory_region(REGION_CPU2), 0); + memory_configure_bank(1, 1, 3, memory_region(REGION_CPU2) + 0x10000, 0x04000); + + state_save_register_global(adpcm_pos); +} + + + /*********************************************************** MEMORY STRUCTURES ***********************************************************/ @@ -800,6 +812,8 @@ static MACHINE_DRIVER_START( bonzeadv ) MDRV_GFXDECODE(asuka) MDRV_PALETTE_LENGTH(4096) + MDRV_MACHINE_START(asuka) + MDRV_VIDEO_START(asuka) MDRV_VIDEO_EOF(asuka) MDRV_VIDEO_UPDATE(bonzeadv) @@ -836,6 +850,8 @@ static MACHINE_DRIVER_START( asuka ) MDRV_GFXDECODE(asuka) MDRV_PALETTE_LENGTH(4096) + MDRV_MACHINE_START(asuka) + MDRV_VIDEO_START(asuka) MDRV_VIDEO_EOF(asuka) MDRV_VIDEO_UPDATE(asuka) @@ -875,6 +891,8 @@ static MACHINE_DRIVER_START( cadash ) MDRV_GFXDECODE(asuka) MDRV_PALETTE_LENGTH(4096) + MDRV_MACHINE_START(asuka) + MDRV_VIDEO_START(cadash) MDRV_VIDEO_EOF(asuka) MDRV_VIDEO_UPDATE(bonzeadv) @@ -910,6 +928,8 @@ static MACHINE_DRIVER_START( mofflott ) MDRV_GFXDECODE(asuka) MDRV_PALETTE_LENGTH(4096) /* only Mofflott uses full palette space */ + MDRV_MACHINE_START(asuka) + MDRV_VIDEO_START(galmedes) MDRV_VIDEO_EOF(asuka) MDRV_VIDEO_UPDATE(asuka) @@ -949,6 +969,8 @@ static MACHINE_DRIVER_START( galmedes ) MDRV_GFXDECODE(asuka) MDRV_PALETTE_LENGTH(4096) /* only Mofflott uses full palette space */ + MDRV_MACHINE_START(asuka) + MDRV_VIDEO_START(galmedes) MDRV_VIDEO_EOF(asuka) MDRV_VIDEO_UPDATE(asuka) @@ -984,6 +1006,8 @@ static MACHINE_DRIVER_START( eto ) MDRV_GFXDECODE(asuka) MDRV_PALETTE_LENGTH(4096) + MDRV_MACHINE_START(asuka) + MDRV_VIDEO_START(galmedes) MDRV_VIDEO_EOF(asuka) MDRV_VIDEO_UPDATE(asuka) @@ -1341,18 +1365,18 @@ ROM_START( eto ) ROM_END -GAME( 1988, bonzeadv, 0, bonzeadv, bonzeadv, 0, ROT0, "Taito Corporation Japan", "Bonze Adventure (World, Newer)", 0 ) -GAME( 1988, bonzeado, bonzeadv, bonzeadv, bonzeadv, 0, ROT0, "Taito Corporation Japan", "Bonze Adventure (World, Older)", 0 ) -GAME( 1988, bonzeadu, bonzeadv, bonzeadv, jigkmgri, 0, ROT0, "Taito America Corporation", "Bonze Adventure (US)", 0 ) -GAME( 1988, jigkmgri, bonzeadv, bonzeadv, jigkmgri, 0, ROT0, "Taito Corporation", "Jigoku Meguri (Japan)", 0 ) -GAME( 1988, asuka, 0, asuka, asuka, 0, ROT270, "Taito Corporation", "Asuka & Asuka (World)", 0 ) -GAME( 1988, asukaj, asuka, asuka, asuka, 0, ROT270, "Taito Corporation", "Asuka & Asuka (Japan)", 0 ) -GAME( 1989, mofflott, 0, mofflott, mofflott, 0, ROT270, "Taito Corporation", "Maze of Flott (Japan)", 0 ) +GAME( 1988, bonzeadv, 0, bonzeadv, bonzeadv, 0, ROT0, "Taito Corporation Japan", "Bonze Adventure (World, Newer)", GAME_SUPPORTS_SAVE ) +GAME( 1988, bonzeado, bonzeadv, bonzeadv, bonzeadv, 0, ROT0, "Taito Corporation Japan", "Bonze Adventure (World, Older)", GAME_SUPPORTS_SAVE ) +GAME( 1988, bonzeadu, bonzeadv, bonzeadv, jigkmgri, 0, ROT0, "Taito America Corporation", "Bonze Adventure (US)", GAME_SUPPORTS_SAVE ) +GAME( 1988, jigkmgri, bonzeadv, bonzeadv, jigkmgri, 0, ROT0, "Taito Corporation", "Jigoku Meguri (Japan)", GAME_SUPPORTS_SAVE ) +GAME( 1988, asuka, 0, asuka, asuka, 0, ROT270, "Taito Corporation", "Asuka & Asuka (World)", GAME_SUPPORTS_SAVE ) +GAME( 1988, asukaj, asuka, asuka, asuka, 0, ROT270, "Taito Corporation", "Asuka & Asuka (Japan)", GAME_SUPPORTS_SAVE ) +GAME( 1989, mofflott, 0, mofflott, mofflott, 0, ROT270, "Taito Corporation", "Maze of Flott (Japan)", GAME_SUPPORTS_SAVE ) GAME( 1989, cadash, 0, cadash, cadash, 0, ROT0, "Taito Corporation Japan", "Cadash (World)", 0 ) GAME( 1989, cadashj, cadash, cadash, cadashj, 0, ROT0, "Taito Corporation", "Cadash (Japan)", 0 ) GAME( 1989, cadashu, cadash, cadash, cadashu, 0, ROT0, "Taito America Corporation", "Cadash (US)", 0 ) GAME( 1989, cadashi, cadash, cadash, cadash, 0, ROT0, "Taito Corporation Japan", "Cadash (Italy)", 0 ) GAME( 1989, cadashf, cadash, cadash, cadash, 0, ROT0, "Taito Corporation Japan", "Cadash (France)", 0 ) -GAME( 1992, galmedes, 0, galmedes, galmedes, 0, ROT270, "Visco", "Galmedes (Japan)", 0 ) -GAME( 1993, earthjkr, 0, galmedes, earthjkr, 0, ROT270, "Visco", "U.N. Defense Force: Earth Joker", 0 ) -GAME( 1994, eto, 0, eto, eto, 0, ROT0, "Visco", "Kokontouzai Eto Monogatari (Japan)", 0 ) +GAME( 1992, galmedes, 0, galmedes, galmedes, 0, ROT270, "Visco", "Galmedes (Japan)", GAME_SUPPORTS_SAVE ) +GAME( 1993, earthjkr, 0, galmedes, earthjkr, 0, ROT270, "Visco", "U.N. Defense Force: Earth Joker", GAME_SUPPORTS_SAVE ) +GAME( 1994, eto, 0, eto, eto, 0, ROT0, "Visco", "Kokontouzai Eto Monogatari (Japan)", GAME_SUPPORTS_SAVE ) |