summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Alex W. Jackson <alex.w.jackson@gmail.com>2014-12-03 11:09:46 -0500
committerGravatarGravatar Alex W. Jackson <alex.w.jackson@gmail.com>2014-12-03 11:09:46 -0500
commitc14b1fd7cf4f72e2e18999fa08f249a7757e0248 (patch) (github)
tree2f63811e7f2e4fb34f5758b86919d1719ced7bda
parentb56ba3e61778d1b3ad891ee7ce9c6b7eb29e87b3 (diff)
downloadmame-c14b1fd7cf4f72e2e18999fa08f249a7757e0248.tar.bz2
mame-c14b1fd7cf4f72e2e18999fa08f249a7757e0248.zip
raiden2: rename program ROM region so romload automatically picks correct width/endianness (nw)
-rw-r--r--src/mame/drivers/r2dx_v33.c16
-rw-r--r--src/mame/drivers/raiden2.c78
2 files changed, 47 insertions, 47 deletions
diff --git a/src/mame/drivers/r2dx_v33.c b/src/mame/drivers/r2dx_v33.c
index 6c878d977f5..03d24d62bed 100644
--- a/src/mame/drivers/r2dx_v33.c
+++ b/src/mame/drivers/r2dx_v33.c
@@ -490,7 +490,7 @@ static ADDRESS_MAP_START( nzeroteam_base_map, AS_PROGRAM, 16, r2dx_v33_state )
AM_RANGE(0x10000, 0x1efff) AM_RAM
AM_RANGE(0x1f000, 0x1ffff) AM_RAM //_DEVWRITE("palette", palette_device, write) AM_SHARE("palette")
- AM_RANGE(0x20000, 0xfffff) AM_ROM AM_REGION("mainprg", 0x20000 )
+ AM_RANGE(0x20000, 0xfffff) AM_ROM AM_REGION("maincpu", 0x20000 )
ADDRESS_MAP_END
static ADDRESS_MAP_START( nzerotea_map, AS_PROGRAM, 16, r2dx_v33_state )
@@ -846,10 +846,10 @@ DRIVER_INIT_MEMBER(r2dx_v33_state,rdx_v33)
static const int spri[5] = { 0, 1, 2, 3, -1 };
cur_spri = spri;
- membank("bank1")->configure_entries(0, 0x40, memregion("mainprg")->base(), 0x10000);
+ membank("bank1")->configure_entries(0, 0x40, memregion("maincpu")->base(), 0x10000);
- membank("bank3")->configure_entry(0, memregion("mainprg")->base()+0x030000); // 0x30000 - 0xfffff bank for Raiden 2
- membank("bank3")->configure_entry(1, memregion("mainprg")->base()+0x230000); // 0x30000 - 0xfffff bank for Raiden DX
+ membank("bank3")->configure_entry(0, memregion("maincpu")->base()+0x030000); // 0x30000 - 0xfffff bank for Raiden 2
+ membank("bank3")->configure_entry(1, memregion("maincpu")->base()+0x230000); // 0x30000 - 0xfffff bank for Raiden DX
raiden2_decrypt_sprites(machine());
@@ -958,7 +958,7 @@ Notes
ROM_START( r2dx_v33 )
- ROM_REGION( 0x400000, "mainprg", 0 ) /* v33 main cpu */
+ ROM_REGION( 0x400000, "maincpu", 0 ) /* v33 main cpu */
ROM_LOAD("prg.223", 0x000000, 0x400000, CRC(b3dbcf98) SHA1(30d6ec2090531c8c579dff74c4898889902d7d87) )
ROM_REGION( 0x400000, "maincpu", ROMREGION_ERASEFF ) /* v33 main cpu */
@@ -984,7 +984,7 @@ ROM_START( r2dx_v33 )
ROM_END
ROM_START( r2dx_v33_r2 )
- ROM_REGION( 0x400000, "mainprg", 0 ) /* v33 main cpu */
+ ROM_REGION( 0x400000, "maincpu", 0 ) /* v33 main cpu */
ROM_LOAD("prg.223", 0x000000, 0x400000, CRC(b3dbcf98) SHA1(30d6ec2090531c8c579dff74c4898889902d7d87) )
ROM_REGION( 0x400000, "maincpu", ROMREGION_ERASEFF ) /* v33 main cpu */
@@ -1012,7 +1012,7 @@ ROM_END
// uses dipswitches
ROM_START( nzeroteam ) /* V33 SYSTEM TYPE_B hardware, uses SEI333 (AKA COPX-D3) for protection */
- ROM_REGION( 0x100000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x100000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE("prg1", 0x000000, 0x80000, CRC(3c7d9410) SHA1(25f2121b6c2be73f11263934266901ed5d64d2ee) )
ROM_LOAD16_BYTE("prg2", 0x000001, 0x80000, CRC(6cba032d) SHA1(bf5d488cd578fff09e62e3650efdee7658033e3f) )
@@ -1044,7 +1044,7 @@ ROM_END
// uses a 93c46a eeprom
ROM_START( zerotm2k ) /* V33 SYSTEM TYPE_C VER2 hardware, uses SEI333 (AKA COPX-D3) for protection */
- ROM_REGION( 0x100000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x100000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD( "mt28f800b1.u0230", 0x000000, 0x100000, CRC(6ab49d8c) SHA1(d94ec9a46ff98a76c3372369246733268474de99) ) /* SMT rom, PCB silkscreened PRG01 */
/* PCB has unpopulated socket space for two 27C040 at u0224 silkscreened PRG0 & u0226 silkscreened PRG1) */
diff --git a/src/mame/drivers/raiden2.c b/src/mame/drivers/raiden2.c
index ea24dae528a..339a954c7a0 100644
--- a/src/mame/drivers/raiden2.c
+++ b/src/mame/drivers/raiden2.c
@@ -974,7 +974,7 @@ static ADDRESS_MAP_START( raiden2_mem, AS_PROGRAM, 16, raiden2_state )
AM_RANGE(0x20000, 0x2ffff) AM_ROMBANK("mainbank1")
AM_RANGE(0x30000, 0x3ffff) AM_ROMBANK("mainbank2")
- AM_RANGE(0x40000, 0xfffff) AM_ROM AM_REGION("mainprg", 0x40000)
+ AM_RANGE(0x40000, 0xfffff) AM_ROM AM_REGION("maincpu", 0x40000)
ADDRESS_MAP_END
static ADDRESS_MAP_START( raidendx_mem, AS_PROGRAM, 16, raiden2_state )
@@ -1013,7 +1013,7 @@ static ADDRESS_MAP_START( zeroteam_mem, AS_PROGRAM, 16, raiden2_state )
AM_RANGE(0x20000, 0x2ffff) AM_ROMBANK("mainbank1")
AM_RANGE(0x30000, 0x3ffff) AM_ROMBANK("mainbank2")
- AM_RANGE(0x40000, 0xfffff) AM_ROM AM_REGION("mainprg", 0x40000)
+ AM_RANGE(0x40000, 0xfffff) AM_ROM AM_REGION("maincpu", 0x40000)
ADDRESS_MAP_END
static ADDRESS_MAP_START( xsedae_mem, AS_PROGRAM, 16, raiden2_state )
@@ -1043,7 +1043,7 @@ static ADDRESS_MAP_START( xsedae_mem, AS_PROGRAM, 16, raiden2_state )
AM_RANGE(0x10000, 0x1ffff) AM_RAM
- AM_RANGE(0x20000, 0xfffff) AM_ROM AM_REGION("mainprg", 0x20000)
+ AM_RANGE(0x20000, 0xfffff) AM_ROM AM_REGION("maincpu", 0x20000)
ADDRESS_MAP_END
@@ -1577,7 +1577,7 @@ differences amongst SND/u1110 roms:
*/
ROM_START( raiden2 )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE("prg0.u0211", 0x000000, 0x80000, CRC(09475ec4) SHA1(05027f2d8f9e11fcbd485659eda68ada286dae32) )
ROM_RELOAD(0x100000, 0x80000)
ROM_LOAD16_BYTE("prg1.u0212", 0x000001, 0x80000, CRC(4609b5f2) SHA1(272d2aa75b8ea4d133daddf42c4fc9089093df2e) )
@@ -1617,7 +1617,7 @@ ROM_END
ROM_START( raiden2sw ) // original board with serial # 0008307
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE("seibu_1.u0211", 0x000000, 0x80000, CRC(09475ec4) SHA1(05027f2d8f9e11fcbd485659eda68ada286dae32) )
ROM_RELOAD(0x100000, 0x80000)
ROM_LOAD16_BYTE("seibu_2.u0212", 0x000001, 0x80000, CRC(59abc2ec) SHA1(45f2dbd2dd46f5da07dae0dc486772f8e61f4c43) )
@@ -1674,7 +1674,7 @@ S5 U0724 27C1024 ROM7 966D
*/
ROM_START( raiden2hk )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE("prg0.u0211", 0x000000, 0x80000, CRC(09475ec4) SHA1(05027f2d8f9e11fcbd485659eda68ada286dae32) ) // rom1
ROM_RELOAD(0x100000, 0x80000)
ROM_LOAD16_BYTE("rom2e.u0212", 0x000001, 0x80000, CRC(458d619c) SHA1(842bf0eeb5d192a6b188f4560793db8dad697683) )
@@ -1748,7 +1748,7 @@ CUSTOM: SEI150
*/
ROM_START( raiden2j )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE("prg0.u0211", 0x000000, 0x80000, CRC(09475ec4) SHA1(05027f2d8f9e11fcbd485659eda68ada286dae32) ) // rom1
ROM_RELOAD(0x100000, 0x80000)
ROM_LOAD16_BYTE("rom2j.u0212", 0x000001, 0x80000, CRC(e4e4fb4c) SHA1(7ccf33fe9a1cddf0c7e80d7ed66d615a828b3bb9) )
@@ -1787,7 +1787,7 @@ ROM_START( raiden2j )
ROM_END
ROM_START( raiden2i )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE("seibu1.u0211", 0x000000, 0x80000, CRC(c1fc70f5) SHA1(a054f5ae9583972c406d9cf871340d5e072d71a3) ) /* Italian set */
ROM_RELOAD(0x100000, 0x80000)
ROM_LOAD16_BYTE("seibu2.u0212", 0x000001, 0x80000, CRC(28d5365f) SHA1(21efe29c2d373229c2ff302d86e59c2c94fa6d03) )
@@ -1844,7 +1844,7 @@ http://www.gamefaqs.com/coinop/arcade/game/10729.html
*/
ROM_START( raiden2e )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE("r2_prg_0.u0211", 0x000000, 0x80000, CRC(2abc848c) SHA1(1df4276d0074fcf1267757fa0b525a980a520f3d) )
ROM_RELOAD(0x100000, 0x80000)
ROM_LOAD16_BYTE("r2_prg_1.u0212", 0x000001, 0x80000, CRC(509ade43) SHA1(7cdee7bb00a6a1c7899d10b96385d54c261f6f5a) )
@@ -1883,7 +1883,7 @@ ROM_START( raiden2e )
ROM_END
ROM_START( raiden2ea )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE("r2.1.u0211", 0x000000, 0x80000, CRC(d7041be4) SHA1(3cf97132fba6f7b00c9059265f4e9f0bf1505b71) )
ROM_RELOAD(0x100000, 0x80000)
ROM_LOAD16_BYTE("r2.2.u0212", 0x000001, 0x80000, CRC(bf7577ec) SHA1(98576af78760b8aef1ef3efe1ba963977c89d225) )
@@ -1922,7 +1922,7 @@ ROM_START( raiden2ea )
ROM_END
ROM_START( raiden2eu ) // same as raiden2ea, different region
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE("seibu_1.u0211", 0x000000, 0x80000, CRC(d7041be4) SHA1(3cf97132fba6f7b00c9059265f4e9f0bf1505b71) )
ROM_RELOAD(0x100000, 0x80000)
ROM_LOAD16_BYTE("seibu_2.u0212", 0x000001, 0x80000, CRC(beb71ddb) SHA1(471399ead1cdc27ac2a1139f9616f828efd14626) )
@@ -1961,7 +1961,7 @@ ROM_START( raiden2eu ) // same as raiden2ea, different region
ROM_END
ROM_START( raiden2eua ) // sort of a mixture of raiden2e easy set with voice rom of raiden2ea and 2f and a unique sound rom
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("seibu__1.27c020j.u1210", 0x000000, 0x40000, CRC(ED1514E3) SHA1(296125BFE3C4F3033F7AA319DD8554BC978C4A00) )
ROM_RELOAD(0x100000, 0x40000)
ROM_LOAD32_BYTE("seibu__2.27c2001.u1211", 0x000001, 0x40000, CRC(BB6ECF2A) SHA1(D4F628E9D0ED2897654F05A8A2541E1ED3FAF8DD) )
@@ -2005,7 +2005,7 @@ ROM_END
ROM_START( raiden2g ) // this is the same code revision as raiden2eua but a german region
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("raiden_2_1.bin", 0x000000, 0x40000, CRC(ed1514e3) SHA1(296125bfe3c4f3033f7aa319dd8554bc978c4a00) )
ROM_RELOAD(0x100000, 0x40000)
ROM_LOAD32_BYTE("raiden_2_2.bin", 0x000001, 0x40000, CRC(bb6ecf2a) SHA1(d4f628e9d0ed2897654f05a8a2541e1ed3faf8dd) )
@@ -2048,7 +2048,7 @@ ROM_START( raiden2g ) // this is the same code revision as raiden2eua but a germ
ROM_END
ROM_START( raiden2nl )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE("1_u0211.bin", 0x000000, 0x80000, CRC(53be3dd0) SHA1(304d118423e4085eea3b883bd625d90d21bb2054) )
ROM_RELOAD(0x100000, 0x80000)
ROM_LOAD16_BYTE("2_u0212.bin", 0x000001, 0x80000, CRC(88829c08) SHA1(ecdfbafeeffcd009bbc4cf5bf797bcd4b5bfcf50) )
@@ -2088,7 +2088,7 @@ ROM_END
ROM_START( raiden2u )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD16_BYTE("1.u0211", 0x000000, 0x80000, CRC(b16df955) SHA1(9b7fd85cf2f2c9fea657f3c38abafa93673b3933) )
ROM_RELOAD(0x100000, 0x80000)
ROM_LOAD16_BYTE("2.u0212", 0x000001, 0x80000, CRC(2a14b112) SHA1(84cd9891b5be0b71b2bae3487ad38bed3045305e) )
@@ -2128,7 +2128,7 @@ ROM_END
ROM_START( raiden2dx ) // this set is very weird, it's Raiden II on a Raiden DX board, I'm assuming for now that it uses Raiden DX graphics, but could be wrong.
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("u1210.bin", 0x000000, 0x80000, CRC(413241e0) SHA1(50fa501db91412baea474a8faf8ad483f3a119c7) )
ROM_LOAD32_BYTE("prg1_u1211.bin", 0x000001, 0x80000, CRC(93491f56) SHA1(2239980fb7267906e4c3985703c2dc2932b23705) )
ROM_LOAD32_BYTE("u129.bin", 0x000002, 0x80000, CRC(e0932b6c) SHA1(04f1ca885d220e802023042438f63e40e4106696) )
@@ -2166,7 +2166,7 @@ ROM_END
/* Raiden DX sets */
ROM_START( raidendx )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("1d.4n", 0x000000, 0x80000, CRC(14d725fc) SHA1(f12806f64f069fdc4ee29b309a32f7ca00b36f93) )
ROM_LOAD32_BYTE("2d.4p", 0x000001, 0x80000, CRC(5e7e45cb) SHA1(94eff893b5335c522f1c063c3175b9bac87b0a25) )
ROM_LOAD32_BYTE("3d.6n", 0x000002, 0x80000, CRC(f0a47e67) SHA1(8cbd21993077b2e01295db6e343cae9e0e4bfefe) )
@@ -2201,7 +2201,7 @@ ROM_START( raidendx )
ROM_END
ROM_START( raidendxa1 )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("dx_1h.4n", 0x000000, 0x80000, BAD_DUMP CRC(7624c36b) SHA1(84c17f2988031210d06536710e1eac558f4290a1) ) // bad
ROM_LOAD32_BYTE("dx_2h.4p", 0x000001, 0x80000, CRC(4940fdf3) SHA1(c87e307ed7191802583bee443c7c8e4f4e33db25) )
ROM_LOAD32_BYTE("dx_3h.6n", 0x000002, 0x80000, CRC(6c495bcf) SHA1(fb6153ecc443dabc829dda6f8d11234ad48de88a) )
@@ -2236,7 +2236,7 @@ ROM_START( raidendxa1 )
ROM_END
ROM_START( raidendxa2 )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("1d.bin", 0x000000, 0x80000, CRC(22b155ae) SHA1(388151e2c8fb301bd5bc66a974e9fe16816ae0bc) )
ROM_LOAD32_BYTE("2d.bin", 0x000001, 0x80000, CRC(2be98ca8) SHA1(491e990405b0ad3de45bdbcc2453af9215ae19c8) )
ROM_LOAD32_BYTE("3d.bin", 0x000002, 0x80000, CRC(b4785576) SHA1(aa5eee7b0c635c6d18a7fc1e037bf570a677dd90) )
@@ -2271,7 +2271,7 @@ ROM_START( raidendxa2 )
ROM_END
ROM_START( raidendxk )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("rdxj_1.bin", 0x000000, 0x80000, CRC(b5b32885) SHA1(fb3c592b2436d347103c17bd765176062be95fa2) )
ROM_LOAD32_BYTE("rdxj_2.bin", 0x000001, 0x80000, CRC(7efd581d) SHA1(4609a0d8afb3d62a38b461089295efed47beea91) )
ROM_LOAD32_BYTE("rdxj_3.bin", 0x000002, 0x80000, CRC(55ec0e1d) SHA1(6be7f268df51311a817c1c329a578b38abb659ae) )
@@ -2306,7 +2306,7 @@ ROM_START( raidendxk )
ROM_END
ROM_START( raidendxu )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("1a.u1210", 0x000000, 0x80000, CRC(53e63194) SHA1(a957330e14649cf46ad27fb99c460576c59e60b1) )
ROM_LOAD32_BYTE("2a.u1211", 0x000001, 0x80000, CRC(ec8d1647) SHA1(5ceae132c6c09d6bb8565e9141ee1170bbdfd5fc) )
ROM_LOAD32_BYTE("3a.u129", 0x000002, 0x80000, CRC(7dbfd73d) SHA1(43cb1dbc3ccbded64fc300c262d1fd528e0391a2) )
@@ -2341,7 +2341,7 @@ ROM_START( raidendxu )
ROM_END
ROM_START( raidendxg )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("1d.u1210", 0x000000, 0x80000, CRC(14d725fc) SHA1(f12806f64f069fdc4ee29b309a32f7ca00b36f93) )
ROM_LOAD32_BYTE("2d.u1211", 0x000001, 0x80000, CRC(5e7e45cb) SHA1(94eff893b5335c522f1c063c3175b9bac87b0a25) )
ROM_LOAD32_BYTE("3d.u129", 0x000002, 0x80000, CRC(f0a47e67) SHA1(8cbd21993077b2e01295db6e343cae9e0e4bfefe) )
@@ -2377,7 +2377,7 @@ ROM_END
ROM_START( raidendxnl )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("u1210_4n.bin", 0x000000, 0x80000, CRC(c589019a) SHA1(9bdd7f7d0bca16d67ba234d8a1fed5d2c8ab7191) )
ROM_LOAD32_BYTE("u1211_4p.bin", 0x000001, 0x80000, CRC(b2222254) SHA1(b0e41d88111a96f0c0fb11b20ea99f436e8d493d) )
ROM_LOAD32_BYTE("u129_6n.bin", 0x000002, 0x80000, CRC(60f04634) SHA1(50f1b721a017d879838d920cf5d5355aa024e09b) )
@@ -2413,7 +2413,7 @@ ROM_END
ROM_START( raidendxj )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("rdxj_1.u1211", 0x000000, 0x80000, CRC(5af382e1) SHA1(a11fc181da322f484815f55a510ce7e6c7df2d60) )
ROM_LOAD32_BYTE("rdxj_2.u0212", 0x000001, 0x80000, CRC(899966fc) SHA1(0f91c2b05a44afb4c4b74e115a8fa530fb6d6414) )
ROM_LOAD32_BYTE("rdxj_3.u129", 0x000002, 0x80000, CRC(e7f08013) SHA1(1f99672d8fdbda847c6552da210c417b21ca78ac) )
@@ -2450,7 +2450,7 @@ ROM_END
ROM_START( raidendxch )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("rdxc_1.u1210", 0x000000, 0x80000, CRC(2154c6ae) SHA1(dc794f8ddbd8a6267db37fe4e3ed44e06e9b84b7) )
ROM_LOAD32_BYTE("rdxc_2.u1211", 0x000001, 0x80000, CRC(73bb74b7) SHA1(2f197adbe89d96c9e75054c568c380fdd2e80162))
ROM_LOAD32_BYTE("rdxc_3.u129", 0x000002, 0x80000, CRC(50f0a6aa) SHA1(68579f8e73fe06b458368ac9cac0b33370cf3b4e))
@@ -2579,7 +2579,7 @@ Notes:
ROM_START( zeroteam ) // Fabtek, US licensee, displays 'USA' under zero team logo, board had serial 'Seibu Kaihatsu No. 0001468' on it, as well as AAMA 0458657
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("seibu__1.u024.5k", 0x000000, 0x40000, CRC(25aa5ba4) SHA1(40e6047620fbd195c87ac3763569af099096eff9) ) // alternate label "1"
ROM_LOAD32_BYTE("seibu__3.u023.6k", 0x000002, 0x40000, CRC(ec79a12b) SHA1(515026a2fca92555284ac49818499af7395783d3) ) // alternate label "3"
ROM_LOAD32_BYTE("seibu__2.u025.6l", 0x000001, 0x40000, CRC(54f3d359) SHA1(869744185746d55c60d2f48eabe384a8499e00fd) ) // alternate label "2"
@@ -2616,7 +2616,7 @@ ROM_START( zeroteam ) // Fabtek, US licensee, displays 'USA' under zero team log
ROM_END
ROM_START( zeroteama ) // No licensee, original japan?
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("1.u024.5k", 0x000000, 0x40000, CRC(bd7b3f3a) SHA1(896413901a429d0efa3290f61920063c81730e9b) )
ROM_LOAD32_BYTE("3.u023.6k", 0x000002, 0x40000, CRC(19e02822) SHA1(36c9b887eaa9b9b67d65c55e8f7eefd08fe0be15) )
ROM_LOAD32_BYTE("2.u025.6l", 0x000001, 0x40000, CRC(0580b7e8) SHA1(d4416264aa5acdaa781ebcf51f128b3e665cc903) )
@@ -2660,7 +2660,7 @@ problem of the 3.6v lithium battery dying and the missing keys to cause the spri
// sets, using the sound and char roms from us set and code from later japan set. This would make sense if it was dumped
// from a 'fixed, suicide free' modified us board where someone swapped in the later suicideless japan code roms.
ROM_START( zeroteamb ) // No licensee, later japan?
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("1b.u024.5k", 0x000000, 0x40000, CRC(157743d0) SHA1(f9c84c9025319f76807ef0e79f1ee1599f915b45) )
ROM_LOAD32_BYTE("3b.u023.6k", 0x000002, 0x40000, CRC(fea7e4e8) SHA1(08c4bdff82362ae4bcf86fa56fcfc384bbf82b71) )
ROM_LOAD32_BYTE("2b.u025.6l", 0x000001, 0x40000, CRC(21d68f62) SHA1(8aa85b38e8f36057ef6c7dce5a2878958ce93ce8) )
@@ -2697,7 +2697,7 @@ ROM_START( zeroteamb ) // No licensee, later japan?
ROM_END
ROM_START( zeroteamc ) // Liang Hwa, Taiwan licensee, no special word under logo on title
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("b1.u024.5k", 0x000000, 0x40000, CRC(528de3b9) SHA1(9ca8cdc0212f2540e852d20ab4c04f68b967d024) )
ROM_LOAD32_BYTE("b3.u023.6k", 0x000002, 0x40000, CRC(3688739a) SHA1(f98f461fb8e7804b3b4020a5e3762d36d6458a62) )
ROM_LOAD32_BYTE("b2.u025.6l", 0x000001, 0x40000, CRC(5176015e) SHA1(6b372564b2f1b1f56cae0c98f4ca588b784bfa3d) )
@@ -2735,7 +2735,7 @@ ROM_END
ROM_START( zeroteamd ) // Dream Soft, Korea licensee, no special word under logo on title; board had serial 'no 1041' on it.
// this is weird, on other zt sets the rom order is 1 3 2 4, but this one is 1 3 4 2. blame seibu or whoever marked the roms, which were labeled in pen
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("1.d.u024.5k", 0x000000, 0x40000, CRC(6CC279BE) SHA1(63143BA3105D24D133E60FFDB3EDC2CEB2D5DC5B) )
ROM_LOAD32_BYTE("3.d.u023.6k", 0x000002, 0x40000, CRC(0212400D) SHA1(28F77B5FDDB9D724B735C3FF2255BD518B166E67) )
ROM_LOAD32_BYTE("4.d.u025.6l", 0x000001, 0x40000, CRC(08813EBB) SHA1(454779CEC2FD0E71B72F7161E7D9334893EE42DE) )
@@ -2773,7 +2773,7 @@ ROM_END
// A version of the above exists (which dr.kitty used to own) which DOES have 'Korea' under the logo on title, needs dumping
ROM_START( zeroteams ) // No license, displays 'Selection' under logo
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("1_sel.bin", 0x000000, 0x40000, CRC(d99d6273) SHA1(21dccd5d71c720b8364406835812b3c9defaff6c) )
ROM_LOAD32_BYTE("3_sel.bin", 0x000002, 0x40000, CRC(0a9fe0b1) SHA1(3588fe19788f77d07e9b5ab8182b94362ffd0024) )
ROM_LOAD32_BYTE("2_sel.bin", 0x000001, 0x40000, CRC(4e114e74) SHA1(fcccbb68c6b7ffe8d109ed3a1ec9120d338398f9) )
@@ -2822,7 +2822,7 @@ Next, turn off power and reinsert the old code roms, and the pcb should now have
*/
ROM_START( zeroteamsr )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("zteam1.u24", 0x000000, 0x40000, CRC(c531e009) SHA1(731881fca3dc0a8269ecdd295ba7119d93c892e7) )
ROM_LOAD32_BYTE("zteam3.u23", 0x000002, 0x40000, CRC(1f988808) SHA1(b1fcb8c96e57c4942bc032d42408d7289c6a3681) )
ROM_LOAD32_BYTE("zteam2.u25", 0x000001, 0x40000, CRC(b7234b93) SHA1(35bc093e8ad4bce1d2130a392ed1b9487a5642a1) )
@@ -2897,7 +2897,7 @@ Notes:
*/
ROM_START( xsedae )
- ROM_REGION( 0x200000, "mainprg", 0 ) /* v30 main cpu */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* v30 main cpu */
ROM_LOAD32_BYTE("1.u024", 0x000000, 0x40000, CRC(185437f9) SHA1(e46950b6a549d11dc57105dd7d9cb512a8ecbe70) )
ROM_LOAD32_BYTE("2.u025", 0x000001, 0x40000, CRC(a2b052df) SHA1(e8bf9ab3d5d4e601ea9386e1f2d4e017b025407e) )
ROM_LOAD32_BYTE("3.u023", 0x000002, 0x40000, CRC(293fd6c1) SHA1(8b1a231f4bedbf9c0f347330e13fdf092b9888b4) )
@@ -2991,8 +2991,8 @@ DRIVER_INIT_MEMBER(raiden2_state,raiden2)
init_blending(raiden_blended_colors);
static const int spri[5] = { 0, 1, 2, 3, -1 };
cur_spri = spri;
- membank("mainbank1")->configure_entries(0, 4, memregion("mainprg")->base(), 0x10000);
- membank("mainbank2")->configure_entries(0, 4, memregion("mainprg")->base(), 0x10000);
+ membank("mainbank1")->configure_entries(0, 4, memregion("maincpu")->base(), 0x10000);
+ membank("mainbank2")->configure_entries(0, 4, memregion("maincpu")->base(), 0x10000);
raiden2_decrypt_sprites(machine());
}
@@ -3001,8 +3001,8 @@ DRIVER_INIT_MEMBER(raiden2_state,raidendx)
init_blending(raiden_blended_colors);
static const int spri[5] = { 0, 1, 2, 3, -1 };
cur_spri = spri;
- membank("mainbank1")->configure_entries(0, 0x20, memregion("mainprg")->base(), 0x10000);
- membank("mainbank2")->configure_entries(0, 0x20, memregion("mainprg")->base(), 0x10000);
+ membank("mainbank1")->configure_entries(0, 0x20, memregion("maincpu")->base(), 0x10000);
+ membank("mainbank2")->configure_entries(0, 0x20, memregion("maincpu")->base(), 0x10000);
raiden2_decrypt_sprites(machine());
}
@@ -3037,8 +3037,8 @@ DRIVER_INIT_MEMBER(raiden2_state,zeroteam)
init_blending(zeroteam_blended_colors);
static const int spri[5] = { -1, 0, 1, 2, 3 };
cur_spri = spri;
- membank("mainbank1")->configure_entries(0, 4, memregion("mainprg")->base(), 0x10000);
- membank("mainbank2")->configure_entries(0, 4, memregion("mainprg")->base(), 0x10000);
+ membank("mainbank1")->configure_entries(0, 4, memregion("maincpu")->base(), 0x10000);
+ membank("mainbank2")->configure_entries(0, 4, memregion("maincpu")->base(), 0x10000);
zeroteam_decrypt_sprites(machine());
}