summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-02-20 01:13:08 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-02-20 01:13:19 -0500
commit0d9494480ac4a89310dd10df64ee2b23432a63e3 (patch)
tree133f885da992e54cbf94863fad9ef4f6f73a8670 /src
parentfeb9ac04e2a0208a85ddd1bea7f26c44f11ca855 (diff)
raiden.cpp: Clock changes and video of bootleg apply to raidenkb, not raidenb (nw)
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/raiden.cpp32
-rw-r--r--src/mame/includes/raiden.h1
2 files changed, 21 insertions, 12 deletions
diff --git a/src/mame/drivers/raiden.cpp b/src/mame/drivers/raiden.cpp
index 8e4d64f703f..6d25d18f43b 100644
--- a/src/mame/drivers/raiden.cpp
+++ b/src/mame/drivers/raiden.cpp
@@ -393,16 +393,23 @@ WRITE16_MEMBER( raiden_state::raidenb_layer_scroll_w )
COMBINE_DATA(&m_raidenb_scroll_ram[offset]);
}
-MACHINE_CONFIG_START(raiden_state::raidenb)
+MACHINE_CONFIG_START(raiden_state::raidenkb)
raiden(config);
/* basic machine hardware */
MCFG_CPU_MODIFY("maincpu")
- MCFG_CPU_CLOCK(XTAL(32'000'000) / 4) // Xtal and clock verified, real hw has heavy slow downs, sometimes making the game borderline unplayable
- MCFG_CPU_PROGRAM_MAP(raidenb_main_map)
+ MCFG_CPU_CLOCK(XTAL(32'000'000) / 4) // Xtal and clock verified
MCFG_CPU_MODIFY("sub")
MCFG_CPU_CLOCK(XTAL(32'000'000) / 4) // Xtal and clock verified
+MACHINE_CONFIG_END
+
+MACHINE_CONFIG_START(raiden_state::raidenb)
+ raiden(config);
+
+ /* basic machine hardware */
+ MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_PROGRAM_MAP(raidenb_main_map)
/* video hardware */
MCFG_VIDEO_START_OVERRIDE(raiden_state,raidenb)
@@ -658,7 +665,7 @@ ROM_START( raidenkb ) /* Korean bootleg board. ROMs for main, sub, audiocpu, cha
ROM_LOAD( "82s147.h7", 0x0000, 0x0200, NO_DUMP )
ROM_END
-ROM_START( raidenb )/* Different hardware, Main & Sub CPU code not encrypted. https://www.youtube.com/watch?v=_FF4N9mBxao */
+ROM_START( raidenb )/* Different hardware, Main & Sub CPU code not encrypted. */
ROM_REGION( 0x100000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE( "1.u0253", 0x0a0000, 0x10000, CRC(a4b12785) SHA1(446314e82ce01315cb3e3d1f323eaa2ad6fb48dd) )
ROM_LOAD16_BYTE( "2.u0252", 0x0a0001, 0x10000, CRC(17640bd5) SHA1(5bbc99900426b1a072b52537ae9a50220c378a0d) )
@@ -774,19 +781,20 @@ DRIVER_INIT_MEMBER(raiden_state,raiden)
/***************************************************************************/
/* Same PCB, differ by region byte(s) */
-GAME( 1990, raiden, 0, raidene, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu", "Raiden (set 1)", MACHINE_SUPPORTS_SAVE )
-GAME( 1990, raidena, raiden, raidene, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu", "Raiden (set 2)", MACHINE_SUPPORTS_SAVE )
-GAME( 1990, raidenu, raiden, raidene, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden (US set 1)", MACHINE_SUPPORTS_SAVE )
-GAME( 1990, raident, raiden, raidene, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu (Liang HWA Electronics license)", "Raiden (Taiwan)", MACHINE_SUPPORTS_SAVE )
+GAME( 1990, raiden, 0, raidene, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu", "Raiden (set 1)", MACHINE_SUPPORTS_SAVE )
+GAME( 1990, raidena, raiden, raidene, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu", "Raiden (set 2)", MACHINE_SUPPORTS_SAVE )
+GAME( 1990, raidenu, raiden, raidene, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden (US set 1)", MACHINE_SUPPORTS_SAVE )
+GAME( 1990, raident, raiden, raidene, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu (Liang HWA Electronics license)", "Raiden (Taiwan)", MACHINE_SUPPORTS_SAVE )
/* Same as above, but the sound CPU code is not encrypted */
-GAME( 1990, raidenk, raiden, raiden, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu (IBL Corporation license)", "Raiden (Korea)", MACHINE_SUPPORTS_SAVE )
+GAME( 1990, raidenk, raiden, raiden, raiden, raiden_state, raiden, ROT270, "Seibu Kaihatsu (IBL Corporation license)", "Raiden (Korea)", MACHINE_SUPPORTS_SAVE )
/* Bootleg of the Korean release */
-GAME( 1990, raidenkb, raiden, raiden, raiden, raiden_state, raiden, ROT270, "bootleg", "Raiden (Korea, bootleg)", MACHINE_SUPPORTS_SAVE )
+/* real hw has heavy slow downs, sometimes making the game borderline unplayable (https://www.youtube.com/watch?v=_FF4N9mBxao) */
+GAME( 1990, raidenkb, raiden, raidenkb, raiden, raiden_state, raiden, ROT270, "bootleg", "Raiden (Korea, bootleg)", MACHINE_SUPPORTS_SAVE )
/* Alternate hardware; SEI8904 + SEI9008 PCBs. Main & Sub CPU code not encrypted */
-GAME( 1990, raidenua, raiden, raidenu, raiden, raiden_state, 0, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden (US set 2)", MACHINE_SUPPORTS_SAVE )
+GAME( 1990, raidenua, raiden, raidenu, raiden, raiden_state, 0, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden (US set 2)", MACHINE_SUPPORTS_SAVE )
/* Alternate hardware. Main, Sub & Sound CPU code not encrypted. It also sports Seibu custom CRTC. */
-GAME( 1990, raidenb, raiden, raidenb, raiden, raiden_state, 0, ROT270, "Seibu Kaihatsu", "Raiden (set 3)", MACHINE_SUPPORTS_SAVE )
+GAME( 1990, raidenb, raiden, raidenb, raiden, raiden_state, 0, ROT270, "Seibu Kaihatsu", "Raiden (set 3)", MACHINE_SUPPORTS_SAVE )
diff --git a/src/mame/includes/raiden.h b/src/mame/includes/raiden.h
index 95032cea8ab..68afe14dbe9 100644
--- a/src/mame/includes/raiden.h
+++ b/src/mame/includes/raiden.h
@@ -75,6 +75,7 @@ public:
void raidene(machine_config &config);
void raidenb(machine_config &config);
void raiden(machine_config &config);
+ void raidenkb(machine_config &config);
void raidenu(machine_config &config);
void main_map(address_map &map);
void raiden_sound_decrypted_opcodes_map(address_map &map);