diff options
Diffstat (limited to 'src/mame/drivers/blockout.c')
-rw-r--r-- | src/mame/drivers/blockout.c | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/src/mame/drivers/blockout.c b/src/mame/drivers/blockout.c index 5aa4ba18837..cb1a1f7a1c1 100644 --- a/src/mame/drivers/blockout.c +++ b/src/mame/drivers/blockout.c @@ -112,12 +112,12 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 16, blockout_state ) AM_RANGE(0x100010, 0x100011) AM_WRITE(blockout_irq6_ack_w) AM_RANGE(0x100012, 0x100013) AM_WRITE(blockout_irq5_ack_w) AM_RANGE(0x100014, 0x100015) AM_WRITE(blockout_sound_command_w) - AM_RANGE(0x100016, 0x100017) AM_WRITENOP /* don't know, maybe reset sound CPU */ + AM_RANGE(0x100016, 0x100017) AM_WRITENOP /* don't know, maybe reset sound CPU */ AM_RANGE(0x180000, 0x1bffff) AM_RAM_WRITE(blockout_videoram_w) AM_SHARE("videoram") - AM_RANGE(0x1d4000, 0x1dffff) AM_RAM /* work RAM */ - AM_RANGE(0x1f4000, 0x1fffff) AM_RAM /* work RAM */ + AM_RANGE(0x1d4000, 0x1dffff) AM_RAM /* work RAM */ + AM_RANGE(0x1f4000, 0x1fffff) AM_RAM /* work RAM */ AM_RANGE(0x200000, 0x207fff) AM_RAM AM_SHARE("frontvideoram") - AM_RANGE(0x208000, 0x21ffff) AM_RAM /* ??? */ + AM_RANGE(0x208000, 0x21ffff) AM_RAM /* ??? */ AM_RANGE(0x280002, 0x280003) AM_WRITE(blockout_frontcolor_w) AM_RANGE(0x280200, 0x2805ff) AM_RAM_WRITE(blockout_paletteram_w) AM_SHARE("paletteram") ADDRESS_MAP_END @@ -132,12 +132,12 @@ static ADDRESS_MAP_START( agress_map, AS_PROGRAM, 16, blockout_state ) AM_RANGE(0x100010, 0x100011) AM_WRITE(blockout_irq6_ack_w) AM_RANGE(0x100012, 0x100013) AM_WRITE(blockout_irq5_ack_w) AM_RANGE(0x100014, 0x100015) AM_WRITE(blockout_sound_command_w) - AM_RANGE(0x100016, 0x100017) AM_WRITENOP /* don't know, maybe reset sound CPU */ + AM_RANGE(0x100016, 0x100017) AM_WRITENOP /* don't know, maybe reset sound CPU */ AM_RANGE(0x180000, 0x1bffff) AM_RAM_WRITE(blockout_videoram_w) AM_SHARE("videoram") - AM_RANGE(0x1d4000, 0x1dffff) AM_RAM /* work RAM */ - AM_RANGE(0x1f4000, 0x1fffff) AM_RAM /* work RAM */ + AM_RANGE(0x1d4000, 0x1dffff) AM_RAM /* work RAM */ + AM_RANGE(0x1f4000, 0x1fffff) AM_RAM /* work RAM */ AM_RANGE(0x200000, 0x203fff) AM_RAM AM_SHARE("frontvideoram") AM_MIRROR(0x004000) // agress checks at F3A that this is mirrored, blockout glitches if you do it to it - AM_RANGE(0x208000, 0x21ffff) AM_RAM /* ??? */ + AM_RANGE(0x208000, 0x21ffff) AM_RAM /* ??? */ AM_RANGE(0x280002, 0x280003) AM_WRITE(blockout_frontcolor_w) AM_RANGE(0x280200, 0x2805ff) AM_RAM_WRITE(blockout_paletteram_w) AM_SHARE("paletteram") ADDRESS_MAP_END @@ -184,37 +184,37 @@ static INPUT_PORTS_START( blockout ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_START("DSW1") - PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:1,2") + PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:1,2") PORT_DIPSETTING( 0x00, DEF_STR( 3C_1C ) ) PORT_DIPSETTING( 0x01, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x03, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x02, DEF_STR( 1C_2C ) ) /* the following two are supposed to control Coin 2, but they don't work. */ /* This happens on the original board too. */ - PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW1:3" ) /* According to the manual SW1:3,4 should be the same settings as SW1:1,2 */ + PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW1:3" ) /* According to the manual SW1:3,4 should be the same settings as SW1:1,2 */ PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW1:4" ) - PORT_DIPNAME( 0x10, 0x10, "1 Coin to Continue" ) PORT_DIPLOCATION("SW1:5") - PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) /* Same price as Coinage setting */ - PORT_DIPSETTING( 0x00, DEF_STR( On ) ) /* Always 1 Coin */ - PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:6") + PORT_DIPNAME( 0x10, 0x10, "1 Coin to Continue" ) PORT_DIPLOCATION("SW1:5") + PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) /* Same price as Coinage setting */ + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) /* Always 1 Coin */ + PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:6") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x20, DEF_STR( On ) ) - PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW1:7" ) /* Listed as "Unused" */ - PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW1:8" ) /* Listed as "Unused" */ + PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW1:7" ) /* Listed as "Unused" */ + PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW1:8" ) /* Listed as "Unused" */ PORT_START("DSW2") - PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:1,2") + PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:1,2") PORT_DIPSETTING( 0x02, DEF_STR( Easy ) ) PORT_DIPSETTING( 0x03, DEF_STR( Normal ) ) PORT_DIPSETTING( 0x01, DEF_STR( Hard ) ) PORT_DIPSETTING( 0x00, DEF_STR( Very_Hard ) ) - PORT_DIPNAME( 0x04, 0x04, "Rotate Buttons" ) PORT_DIPLOCATION("SW2:3") + PORT_DIPNAME( 0x04, 0x04, "Rotate Buttons" ) PORT_DIPLOCATION("SW2:3") PORT_DIPSETTING( 0x00, "2" ) PORT_DIPSETTING( 0x04, "3" ) - PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW2:4" ) /* Listed as "Unused" */ - PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW2:5" ) /* Listed as "Unused" */ - PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW2:6" ) /* Listed as "Unused" */ - PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_DIPLOCATION("SW2:7") /* Listed as "Unused" */ + PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW2:4" ) /* Listed as "Unused" */ + PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW2:5" ) /* Listed as "Unused" */ + PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW2:6" ) /* Listed as "Unused" */ + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_DIPLOCATION("SW2:7") /* Listed as "Unused" */ PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_DIPLOCATION("SW2:8") /* Listed as "Unused" */ INPUT_PORTS_END @@ -231,7 +231,7 @@ static INPUT_PORTS_START( blockoutj ) /* The following switch is 2/3 rotate buttons on the other sets, option doesn't exist in the Japan version */ PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "SW2:3" ) /* these can still be used on the difficutly select even if they can't be used for rotating pieces in this version */ - PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_DIPLOCATION("SW2:7") + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_DIPLOCATION("SW2:7") PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2) PORT_DIPLOCATION("SW2:8") INPUT_PORTS_END @@ -240,14 +240,14 @@ static INPUT_PORTS_START( agress ) /* factory shipment setting is all dips OFF */ PORT_MODIFY("DSW1") - PORT_DIPNAME( 0x04, 0x04, "Opening Cut" ) PORT_DIPLOCATION("SW1:3") + PORT_DIPNAME( 0x04, 0x04, "Opening Cut" ) PORT_DIPLOCATION("SW1:3") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x04, DEF_STR( On ) ) PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW1:5" ) PORT_MODIFY("DSW2") /* Engrish here. The manual says "Number of Prayers". Maybe related to lives? */ - PORT_DIPNAME( 0x04, 0x04, DEF_STR( Players ) ) PORT_DIPLOCATION("SW2:3") + PORT_DIPNAME( 0x04, 0x04, DEF_STR( Players ) ) PORT_DIPLOCATION("SW2:3") PORT_DIPSETTING( 0x04, "1" ) PORT_DIPSETTING( 0x00, "2" ) INPUT_PORTS_END @@ -305,7 +305,7 @@ static MACHINE_CONFIG_START( blockout, blockout_state ) MCFG_CPU_PROGRAM_MAP(main_map) MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", blockout_state, blockout_scanline, "screen", 0, 1) - MCFG_CPU_ADD("audiocpu", Z80, AUDIO_CLOCK) /* 3.579545 MHz */ + MCFG_CPU_ADD("audiocpu", Z80, AUDIO_CLOCK) /* 3.579545 MHz */ MCFG_CPU_PROGRAM_MAP(audio_map) @@ -345,75 +345,75 @@ MACHINE_CONFIG_END *************************************/ ROM_START( blockout ) - ROM_REGION( 0x40000, "maincpu", 0 ) /* 2*128k for 68000 code */ + ROM_REGION( 0x40000, "maincpu", 0 ) /* 2*128k for 68000 code */ ROM_LOAD16_BYTE( "bo29a0-2.bin", 0x00000, 0x20000, CRC(b0103427) SHA1(53cac2adc04783abbde21e9f3c0e655f22f68f69) ) ROM_LOAD16_BYTE( "bo29a1-2.bin", 0x00001, 0x20000, CRC(5984d5a2) SHA1(4b350856d0313d40eaa3d8a8d9e310f74bc20398) ) ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "bo29e3-0.bin", 0x0000, 0x8000, CRC(3ea01f78) SHA1(5fc4ad4d9f03d7c26d2afc3e7ede75589e40b0d8) ) - ROM_REGION( 0x40000, "oki", 0 ) /* 128k for ADPCM samples - sound chip is OKIM6295 */ + ROM_REGION( 0x40000, "oki", 0 ) /* 128k for ADPCM samples - sound chip is OKIM6295 */ ROM_LOAD( "bo29e2-0.bin", 0x0000, 0x20000, CRC(15c5a99d) SHA1(89091eda454a028fd1f17501584bd589baf6d523) ) ROM_REGION( 0x0100, "proms", 0 ) - ROM_LOAD( "mb7114h.25", 0x0000, 0x0100, CRC(b25bbda7) SHA1(840f1470886bd0019db3cd29e3d1d80205a65f48) ) /* unknown */ + ROM_LOAD( "mb7114h.25", 0x0000, 0x0100, CRC(b25bbda7) SHA1(840f1470886bd0019db3cd29e3d1d80205a65f48) ) /* unknown */ ROM_END ROM_START( blockout2 ) - ROM_REGION( 0x40000, "maincpu", 0 ) /* 2*128k for 68000 code */ + ROM_REGION( 0x40000, "maincpu", 0 ) /* 2*128k for 68000 code */ ROM_LOAD16_BYTE( "29a0", 0x00000, 0x20000, CRC(605f931e) SHA1(65fa7227dafde1fc8564e09fa949fe575b394d8a) ) ROM_LOAD16_BYTE( "29a1", 0x00001, 0x20000, CRC(38f07000) SHA1(e4070e3067d77cc1b0d8d0c63786f2729c5c703a) ) ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "bo29e3-0.bin", 0x0000, 0x8000, CRC(3ea01f78) SHA1(5fc4ad4d9f03d7c26d2afc3e7ede75589e40b0d8) ) - ROM_REGION( 0x40000, "oki", 0 ) /* 128k for ADPCM samples - sound chip is OKIM6295 */ + ROM_REGION( 0x40000, "oki", 0 ) /* 128k for ADPCM samples - sound chip is OKIM6295 */ ROM_LOAD( "bo29e2-0.bin", 0x0000, 0x20000, CRC(15c5a99d) SHA1(89091eda454a028fd1f17501584bd589baf6d523) ) ROM_REGION( 0x0100, "proms", 0 ) - ROM_LOAD( "mb7114h.25", 0x0000, 0x0100, CRC(b25bbda7) SHA1(840f1470886bd0019db3cd29e3d1d80205a65f48) ) /* unknown */ + ROM_LOAD( "mb7114h.25", 0x0000, 0x0100, CRC(b25bbda7) SHA1(840f1470886bd0019db3cd29e3d1d80205a65f48) ) /* unknown */ ROM_END ROM_START( blockoutj ) - ROM_REGION( 0x40000, "maincpu", 0 ) /* 2*128k for 68000 code */ + ROM_REGION( 0x40000, "maincpu", 0 ) /* 2*128k for 68000 code */ ROM_LOAD16_BYTE( "2.bin", 0x00000, 0x20000, CRC(e16cf065) SHA1(541b30b054cf08f10d6ca4746423759f4326c005) ) ROM_LOAD16_BYTE( "1.bin", 0x00001, 0x20000, CRC(950b28a3) SHA1(7d1635ac2a3fc1efdd2f78cd6038bd7b4c907b1b) ) ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "bo29e3-0.bin", 0x0000, 0x8000, CRC(3ea01f78) SHA1(5fc4ad4d9f03d7c26d2afc3e7ede75589e40b0d8) ) - ROM_REGION( 0x40000, "oki", 0 ) /* 128k for ADPCM samples - sound chip is OKIM6295 */ + ROM_REGION( 0x40000, "oki", 0 ) /* 128k for ADPCM samples - sound chip is OKIM6295 */ ROM_LOAD( "bo29e2-0.bin", 0x0000, 0x20000, CRC(15c5a99d) SHA1(89091eda454a028fd1f17501584bd589baf6d523) ) ROM_REGION( 0x0100, "proms", 0 ) - ROM_LOAD( "mb7114h.25", 0x0000, 0x0100, CRC(b25bbda7) SHA1(840f1470886bd0019db3cd29e3d1d80205a65f48) ) /* unknown */ + ROM_LOAD( "mb7114h.25", 0x0000, 0x0100, CRC(b25bbda7) SHA1(840f1470886bd0019db3cd29e3d1d80205a65f48) ) /* unknown */ ROM_END ROM_START( agress ) - ROM_REGION( 0x40000, "maincpu", 0 ) /* 2*128k for 68000 code */ + ROM_REGION( 0x40000, "maincpu", 0 ) /* 2*128k for 68000 code */ ROM_LOAD16_BYTE( "palco1.81", 0x00000, 0x20000, CRC(3acc917a) SHA1(14960588673458d862daf14a8d7474af6c95c2ad) ) ROM_LOAD16_BYTE( "palco2.91", 0x00001, 0x20000, CRC(abfd5bcc) SHA1(bf0ea8ba00750ea2ddf2b8afc96393bf8a730068) ) ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "palco3.73", 0x0000, 0x8000, CRC(2a21c97d) SHA1(7f71bf18db3e6ff9c69c589268450e66c6585cdd) ) - ROM_REGION( 0x40000, "oki", 0 ) /* 128k for ADPCM samples - sound chip is OKIM6295 */ + ROM_REGION( 0x40000, "oki", 0 ) /* 128k for ADPCM samples - sound chip is OKIM6295 */ ROM_LOAD( "palco4.78", 0x0000, 0x20000, CRC(9dfd9cfe) SHA1(5ea8f98bc0cd117cde81c04f02aa33199afe8231) ) ROM_REGION( 0x0100, "proms", 0 ) - ROM_LOAD( "82s129pr.25", 0x0000, 0x0100, CRC(b25bbda7) SHA1(840f1470886bd0019db3cd29e3d1d80205a65f48) ) /* unknown */ + ROM_LOAD( "82s129pr.25", 0x0000, 0x0100, CRC(b25bbda7) SHA1(840f1470886bd0019db3cd29e3d1d80205a65f48) ) /* unknown */ ROM_END // this is probably an original English version with copyright year hacked ROM_START( agressb ) - ROM_REGION( 0x40000, "maincpu", 0 ) /* 2*128k for 68000 code */ + ROM_REGION( 0x40000, "maincpu", 0 ) /* 2*128k for 68000 code */ ROM_LOAD16_BYTE( "palco1.ic81", 0x00000, 0x20000, CRC(a1875175) SHA1(6c9946bcd4fe7987d4f817ea25bfc76432188883) ) ROM_LOAD16_BYTE( "palco2.ic91", 0x00001, 0x20000, CRC(ab3182c3) SHA1(788a3e7cf6ef889262f3d72af8be9ec951eb397b) ) ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "palco3.ic73", 0x000000, 0x08000, CRC(2a21c97d) SHA1(7f71bf18db3e6ff9c69c589268450e66c6585cdd) ) - ROM_REGION( 0x40000, "oki", 0 ) /* 128k for ADPCM samples - sound chip is OKIM6295 */ + ROM_REGION( 0x40000, "oki", 0 ) /* 128k for ADPCM samples - sound chip is OKIM6295 */ ROM_LOAD( "palco4.ic78", 0x000000, 0x20000, CRC(9dfd9cfe) SHA1(5ea8f98bc0cd117cde81c04f02aa33199afe8231) ) ROM_REGION( 0x0100, "proms", 0 ) |