summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cosmic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cosmic.c')
-rw-r--r--src/mame/drivers/cosmic.c180
1 files changed, 90 insertions, 90 deletions
diff --git a/src/mame/drivers/cosmic.c b/src/mame/drivers/cosmic.c
index 5c9a78f833d..53314f15fb7 100644
--- a/src/mame/drivers/cosmic.c
+++ b/src/mame/drivers/cosmic.c
@@ -56,9 +56,9 @@ WRITE8_MEMBER(cosmic_state::panic_sound_output_w)
{
switch (offset)
{
- case 0: if (data) m_samples->start(0, 0); break; /* Walk */
- case 1: if (data) m_samples->start(0, 5); break; /* Enemy Die 1 */
- case 2: if (data) /* Drop 1 */
+ case 0: if (data) m_samples->start(0, 0); break; /* Walk */
+ case 1: if (data) m_samples->start(0, 5); break; /* Enemy Die 1 */
+ case 2: if (data) /* Drop 1 */
{
if (!m_samples->playing(1))
{
@@ -70,17 +70,17 @@ WRITE8_MEMBER(cosmic_state::panic_sound_output_w)
m_samples->stop(1);
break;
- case 3: if (data && !m_samples->playing(6)) /* Oxygen */
+ case 3: if (data && !m_samples->playing(6)) /* Oxygen */
m_samples->start(6, 9, true);
break;
- case 4: break; /* Drop 2 */
- case 5: if (data) m_samples->start(0, 5); break; /* Enemy Die 2 (use same sample as 1) */
- case 6: if (data && !m_samples->playing(1) && !m_samples->playing(3)) /* Hang */
+ case 4: break; /* Drop 2 */
+ case 5: if (data) m_samples->start(0, 5); break; /* Enemy Die 2 (use same sample as 1) */
+ case 6: if (data && !m_samples->playing(1) && !m_samples->playing(3)) /* Hang */
m_samples->start(2, 2);
break;
- case 7: if (data) /* Escape */
+ case 7: if (data) /* Escape */
{
m_samples->stop(2);
m_samples->start(3, 4);
@@ -89,17 +89,17 @@ WRITE8_MEMBER(cosmic_state::panic_sound_output_w)
m_samples->stop(3);
break;
- case 8: if (data) m_samples->start(0, 1); break; /* Stairs */
- case 9: if (data) /* Extend */
+ case 8: if (data) m_samples->start(0, 1); break; /* Stairs */
+ case 9: if (data) /* Extend */
m_samples->start(4, 8);
else
m_samples->stop(4);
break;
- case 10: m_dac->write_unsigned8(data); break;/* Bonus */
- case 15: if (data) m_samples->start(0, 6); break; /* Player Die */
- case 16: if (data) m_samples->start(5, 7); break; /* Enemy Laugh */
- case 17: if (data) m_samples->start(0, 10); break; /* Coin - Not triggered by software */
+ case 10: m_dac->write_unsigned8(data); break;/* Bonus */
+ case 15: if (data) m_samples->start(0, 6); break; /* Player Die */
+ case 16: if (data) m_samples->start(5, 7); break; /* Enemy Laugh */
+ case 17: if (data) m_samples->start(0, 10); break; /* Coin - Not triggered by software */
}
}
@@ -135,26 +135,26 @@ WRITE8_MEMBER(cosmic_state::cosmicg_output_w)
/* as other cosmic series games, but it never seems to */
/* be used for anything. It is implemented for sake of */
/* completness. Maybe it plays a tune if you win ? */
- case 1: m_dac->write_unsigned8(-data); break;
- case 2: if (data) m_samples->start(0, m_march_select); break; /* March Sound */
- case 3: m_march_select = (m_march_select & 0xfe) | data; break;
- case 4: m_march_select = (m_march_select & 0xfd) | (data << 1); break;
- case 5: m_march_select = (m_march_select & 0xfb) | (data << 2); break;
+ case 1: m_dac->write_unsigned8(-data); break;
+ case 2: if (data) m_samples->start(0, m_march_select); break; /* March Sound */
+ case 3: m_march_select = (m_march_select & 0xfe) | data; break;
+ case 4: m_march_select = (m_march_select & 0xfd) | (data << 1); break;
+ case 5: m_march_select = (m_march_select & 0xfb) | (data << 2); break;
- case 6: if (data) /* Killer Attack (crawly thing at bottom of screen) */
+ case 6: if (data) /* Killer Attack (crawly thing at bottom of screen) */
m_samples->start(1, 8, true);
else
m_samples->stop(1);
break;
- case 7: if (data) /* Bonus Chance & Got Bonus */
+ case 7: if (data) /* Bonus Chance & Got Bonus */
{
m_samples->stop(4);
m_samples->start(4, 10);
}
break;
- case 8: if (data)
+ case 8: if (data)
{
if (!m_samples->playing(4)) m_samples->start(4, 9, true);
}
@@ -162,11 +162,11 @@ WRITE8_MEMBER(cosmic_state::cosmicg_output_w)
m_samples->stop(4);
break;
- case 9: if (data) m_samples->start(3, 11); break; /* Got Ship */
+ case 9: if (data) m_samples->start(3, 11); break; /* Got Ship */
// case 11: watchdog_reset_w(0, 0); break; /* Watchdog */
- case 13: if (data) m_samples->start(8, 13 - m_gun_die_select); break; /* Got Monster / Gunshot */
- case 14: m_gun_die_select = data; break;
- case 15: if (data) m_samples->start(5, 14); break; /* Coin Extend (extra base) */
+ case 13: if (data) m_samples->start(8, 13 - m_gun_die_select); break; /* Got Monster / Gunshot */
+ case 14: m_gun_die_select = data; break;
+ case 15: if (data) m_samples->start(5, 14); break; /* Coin Extend (extra base) */
}
}
@@ -198,9 +198,9 @@ WRITE8_MEMBER(cosmic_state::cosmica_sound_output_w)
{
switch (offset)
{
- case 0: if (data) m_samples->start(1, 2); break; /*Dive Bombing Type A*/
+ case 0: if (data) m_samples->start(1, 2); break; /*Dive Bombing Type A*/
- case 2: /*Dive Bombing Type B (Main Control)*/
+ case 2: /*Dive Bombing Type B (Main Control)*/
if (data)
{
switch (m_dive_bomb_b_select)
@@ -284,11 +284,11 @@ WRITE8_MEMBER(cosmic_state::cosmica_sound_output_w)
break;
- case 6: if (data) m_samples->start(8, 9); break; /*Fire Control*/
+ case 6: if (data) m_samples->start(8, 9); break; /*Fire Control*/
- case 7: if (data) m_samples->start(9, 10); break; /*Small Explosion*/
+ case 7: if (data) m_samples->start(9, 10); break; /*Small Explosion*/
- case 8: if (data) m_samples->start(10, 11); break; /*Loud Explosion*/
+ case 8: if (data) m_samples->start(10, 11); break; /*Loud Explosion*/
case 9:
if (data)
@@ -297,7 +297,7 @@ WRITE8_MEMBER(cosmic_state::cosmica_sound_output_w)
m_samples->stop(11);
break; /*Extend Sound control*/
- case 12: if (data) m_samples->start(11,12); break; /*Insert Coin*/
+ case 12: if (data) m_samples->start(11,12); break; /*Insert Coin*/
}
}
@@ -335,10 +335,10 @@ READ8_MEMBER(cosmic_state::nomnlnd_port_0_1_r)
if ((fire & 0xc0) == 0) return 0xff;
/* set bit according to 8 way direction */
- if ((control & 0x82) == 0 ) return 0xfe; /* Up & Left */
- if ((control & 0x0a) == 0 ) return 0xfb; /* Down & Left */
- if ((control & 0x28) == 0 ) return 0xef; /* Down & Right */
- if ((control & 0xa0) == 0 ) return 0xbf; /* Up & Right */
+ if ((control & 0x82) == 0 ) return 0xfe; /* Up & Left */
+ if ((control & 0x0a) == 0 ) return 0xfb; /* Down & Left */
+ if ((control & 0x28) == 0 ) return 0xef; /* Down & Right */
+ if ((control & 0xa0) == 0 ) return 0xbf; /* Up & Right */
return control;
}
@@ -531,14 +531,14 @@ INPUT_CHANGED_MEMBER(cosmic_state::cosmicg_coin_inserted)
}
static INPUT_PORTS_START( cosmicg )
- PORT_START("IN0") /* 4-7 */
- PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_SPECIAL ) /* pixel clock */
+ PORT_START("IN0") /* 4-7 */
+ PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_SPECIAL ) /* pixel clock */
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_2WAY
- PORT_START("IN1") /* 8-15 */
+ PORT_START("IN1") /* 8-15 */
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_2WAY
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT) PORT_2WAY PORT_COCKTAIL
@@ -555,7 +555,7 @@ static INPUT_PORTS_START( cosmicg )
PORT_DIPSETTING( 0x00, "3" )
PORT_DIPSETTING( 0x80, "5" )
- PORT_START("IN2") /* Hard wired settings */
+ PORT_START("IN2") /* Hard wired settings */
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, cosmic_state,cosmicg_coin_inserted, 0)
/* This dip switch is not read by the program at any time */
@@ -608,7 +608,7 @@ static INPUT_PORTS_START( magspot )
PORT_DIPSETTING( 0x03, "5000" )
PORT_DIPSETTING( 0x00, DEF_STR( None ) )
/* According to the manual, bits 2-3 should control coinage like in devzone
- and only bit 4 should control lives setting. */
+ and only bit 4 should control lives setting. */
// PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SWA:3,4")
// PORT_DIPSETTING( 0x0c, "Use Coin A & B" )
// PORT_DIPSETTING( 0x04, DEF_STR( 2C_1C ) )
@@ -631,8 +631,8 @@ static INPUT_PORTS_START( magspot )
PORT_START("IN3")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_VBLANK("screen")
- PORT_BIT( 0x1e, IP_ACTIVE_LOW, IPT_UNUSED ) /* always HI */
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SPECIAL ) /* reads what was written to 4808. Probably not used?? */
+ PORT_BIT( 0x1e, IP_ACTIVE_LOW, IPT_UNUSED ) /* always HI */
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SPECIAL ) /* reads what was written to 4808. Probably not used?? */
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
@@ -776,19 +776,19 @@ INPUT_PORTS_END
static INPUT_PORTS_START( nomnlnd )
- PORT_START("IN0") /* Controls - Remapped for game */
+ PORT_START("IN0") /* Controls - Remapped for game */
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY
- PORT_BIT( 0x55, IP_ACTIVE_LOW, IPT_SPECIAL ) /* diagonals */
+ PORT_BIT( 0x55, IP_ACTIVE_LOW, IPT_SPECIAL ) /* diagonals */
PORT_START("IN1")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_COCKTAIL
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL
- PORT_BIT( 0x55, IP_ACTIVE_LOW, IPT_SPECIAL ) /* diagonals */
+ PORT_BIT( 0x55, IP_ACTIVE_LOW, IPT_SPECIAL ) /* diagonals */
PORT_START("IN2")
PORT_DIPNAME( 0x03, 0x02, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:5,6")
@@ -812,8 +812,8 @@ static INPUT_PORTS_START( nomnlnd )
PORT_START("IN3")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_VBLANK("screen")
- PORT_BIT( 0x1e, IP_ACTIVE_LOW, IPT_UNUSED ) /* always HI */
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SPECIAL ) /* reads what was written to 4808. Probably not used?? */
+ PORT_BIT( 0x1e, IP_ACTIVE_LOW, IPT_UNUSED ) /* always HI */
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SPECIAL ) /* reads what was written to 4808. Probably not used?? */
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
@@ -845,9 +845,9 @@ static const gfx_layout cosmic_spritelayout16 =
2,
{ RGN_FRAC(0,2), RGN_FRAC(1,2) },
{ 0*8+0, 0*8+1, 0*8+2, 0*8+3, 0*8+4, 0*8+5, 0*8+6, 0*8+7,
- 16*8+0, 16*8+1, 16*8+2, 16*8+3, 16*8+4, 16*8+5, 16*8+6, 16*8+7},
+ 16*8+0, 16*8+1, 16*8+2, 16*8+3, 16*8+4, 16*8+5, 16*8+6, 16*8+7},
{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
- 8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8 },
+ 8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8 },
32*8
};
@@ -858,13 +858,13 @@ static const gfx_layout cosmic_spritelayout32 =
2,
{ RGN_FRAC(0,2), RGN_FRAC(1,2) },
{ 0*32*8+0, 0*32*8+1, 0*32*8+2, 0*32*8+3, 0*32*8+4, 0*32*8+5, 0*32*8+6, 0*32*8+7,
- 1*32*8+0, 1*32*8+1, 1*32*8+2, 1*32*8+3, 1*32*8+4, 1*32*8+5, 1*32*8+6, 1*32*8+7,
- 2*32*8+0, 2*32*8+1, 2*32*8+2, 2*32*8+3, 2*32*8+4, 2*32*8+5, 2*32*8+6, 2*32*8+7,
- 3*32*8+0, 3*32*8+1, 3*32*8+2, 3*32*8+3, 3*32*8+4, 3*32*8+5, 3*32*8+6, 3*32*8+7 },
+ 1*32*8+0, 1*32*8+1, 1*32*8+2, 1*32*8+3, 1*32*8+4, 1*32*8+5, 1*32*8+6, 1*32*8+7,
+ 2*32*8+0, 2*32*8+1, 2*32*8+2, 2*32*8+3, 2*32*8+4, 2*32*8+5, 2*32*8+6, 2*32*8+7,
+ 3*32*8+0, 3*32*8+1, 3*32*8+2, 3*32*8+3, 3*32*8+4, 3*32*8+5, 3*32*8+6, 3*32*8+7 },
{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
- 8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8,
- 16*8, 17*8, 18*8, 19*8, 20*8, 21*8, 22*8, 23*8,
- 24*8, 25*8, 26*8, 27*8, 28*8, 29*8, 30*8, 31*8 },
+ 8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8,
+ 16*8, 17*8, 18*8, 19*8, 20*8, 21*8, 22*8, 23*8,
+ 24*8, 25*8, 26*8, 27*8, 28*8, 29*8, 30*8, 31*8 },
128*8
};
@@ -902,7 +902,7 @@ static const char *const cosmica_sample_names[] =
static const samples_interface cosmica_samples_interface =
{
- 13, /* 12 channels */
+ 13, /* 12 channels */
cosmica_sample_names
};
@@ -926,14 +926,14 @@ static const char *const panic_sample_names[] =
static const samples_interface panic_samples_interface =
{
- 9, /* 9 channels */
+ 9, /* 9 channels */
panic_sample_names
};
static const char *const cosmicg_sample_names[] =
{
"*cosmicg",
- "cg_m0", /* 8 Different pitches of March Sound */
+ "cg_m0", /* 8 Different pitches of March Sound */
"cg_m1",
"cg_m2",
"cg_m3",
@@ -941,19 +941,19 @@ static const char *const cosmicg_sample_names[] =
"cg_m5",
"cg_m6",
"cg_m7",
- "cg_att", /* Killer Attack */
- "cg_chnc", /* Bonus Chance */
- "cg_gotb", /* Got Bonus - have not got correct sound for */
- "cg_dest", /* Gun Destroy */
- "cg_gun", /* Gun Shot */
- "cg_gotm", /* Got Monster */
- "cg_ext", /* Coin Extend */
+ "cg_att", /* Killer Attack */
+ "cg_chnc", /* Bonus Chance */
+ "cg_gotb", /* Got Bonus - have not got correct sound for */
+ "cg_dest", /* Gun Destroy */
+ "cg_gun", /* Gun Shot */
+ "cg_gotm", /* Got Monster */
+ "cg_ext", /* Coin Extend */
0
};
static const samples_interface cosmicg_samples_interface =
{
- 9, /* 9 channels */
+ 9, /* 9 channels */
cosmicg_sample_names
};
@@ -988,7 +988,7 @@ MACHINE_RESET_MEMBER(cosmic_state,cosmic)
static MACHINE_CONFIG_START( cosmic, cosmic_state )
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", Z80,Z80_MASTER_CLOCK/6) /* 1.8026 MHz*/
+ MCFG_CPU_ADD("maincpu", Z80,Z80_MASTER_CLOCK/6) /* 1.8026 MHz*/
MCFG_MACHINE_START_OVERRIDE(cosmic_state,cosmic)
MCFG_MACHINE_RESET_OVERRIDE(cosmic_state,cosmic)
@@ -1070,8 +1070,8 @@ static MACHINE_CONFIG_START( cosmicg, cosmic_state )
MCFG_CPU_ADD("maincpu", TMS9980L, COSMICG_MASTER_CLOCK/8)
/* 9.828 MHz Crystal */
/* R Nabet : huh ? This would imply the crystal frequency is somehow divided by 2 before being
- fed to the tms9904 or tms9980. Also, I have never heard of a tms9900/9980 operating under
- 1.5MHz. So, if someone can check this... */
+ fed to the tms9904 or tms9980. Also, I have never heard of a tms9900/9980 operating under
+ 1.5MHz. So, if someone can check this... */
MCFG_CPU_PROGRAM_MAP(cosmicg_map)
MCFG_CPU_IO_MAP(cosmicg_io_map)
@@ -1277,7 +1277,7 @@ ROM_START( cosmica ) /* later revision 7910-AII pcb; some roms are marked II-x;
ROM_LOAD( "ii-4.e6", 0x1800, 0x0800, CRC(c9b5ca2a) SHA1(3384b98954b6bc9a64e753b95757f61ce1d3c52e) ) /* tms2516 */
ROM_LOAD( "ii-5.e7", 0x2000, 0x0800, CRC(43666d68) SHA1(e44492360a77d93aeaaaa0f38f4ac19732998559) ) /* tms2516; has an & stamped on the chip */
- ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
+ ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
ROM_LOAD( "ii-7.n2", 0x0000, 0x0800, CRC(aa6c6079) SHA1(af4ab73e9e1c189290b26bf42adb511d5a347df9) ) // verify marking
ROM_LOAD( "ii-6.n1", 0x0800, 0x0800, CRC(431e866c) SHA1(b007cd3cc856360a0247bd78bb49d173f5cef321) ) // verify marking
@@ -1311,7 +1311,7 @@ ROM_START( cosmica2 ) /* this set appears to be an intermediate version between
ROM_LOAD( "i-9.e6", 0x2000, 0x0400, CRC(3bb57720) SHA1(2d1edcad57767a4fa2c7713726ed0cb1203f6fbc) ) /* tms2708 - sum16 9b55 */
ROM_LOAD( "j-0.d7", 0x2400, 0x0400, CRC(4ff70f45) SHA1(791499be62a7b91bde75e7a7ab6c546f5fb63027) ) /* tms2708 - sum16 7c3c */
- ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites, on mainboard (note: the locations of these two MIGHT be switched around) */
+ ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites, on mainboard (note: the locations of these two MIGHT be switched around) */
ROM_LOAD( "k-8.n2", 0x0000, 0x0800, CRC(aa6c6079) SHA1(af4ab73e9e1c189290b26bf42adb511d5a347df9) ) /* Fujitsu MB8516 - sum16 4d9c */
ROM_LOAD( "l-7.n1", 0x0800, 0x0800, CRC(431e866c) SHA1(b007cd3cc856360a0247bd78bb49d173f5cef321) ) /* Fujitsu MB8516 - sum16 bb6b */
@@ -1333,7 +1333,7 @@ ROM_START( cosmica1 ) /* earlier 7910-A pcb, had lots of rework; roms do NOT hav
ROM_LOAD( "4.e6", 0x1800, 0x0800, CRC(ba4a9295) SHA1(c7ed9daf48e01ef87253addb0a7e5c62fa1f37cd) ) /* tms2516 */
ROM_LOAD( "5.e7", 0x2000, 0x0800, CRC(2106c82a) SHA1(fa807cf0321813e20dc2d2f2a8ae3778496fa97c) ) /* tms2516; has an & stamped on the chip */
- ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
+ ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
ROM_LOAD( "7.n2", 0x0000, 0x0800, CRC(ee3e86fc) SHA1(4fb5fbee06b2d590a83519761f63ec9d6b90efb3) ) /* tms2516 */
ROM_LOAD( "6.n1", 0x0800, 0x0800, CRC(81c86ca0) SHA1(4cea1a61523ae1c3c681b1102b8e18ab26d0040a) ) /* tms2516 */
@@ -1365,16 +1365,16 @@ ROM_END
/* rom 9 not dumped according to readme? */
ROM_START( magspot )
ROM_REGION( 0x10000, "maincpu", 0 )
- ROM_LOAD( "ms1.bin", 0x0000, 0x0800, CRC(59e9019d) SHA1(3c64ae956ec4eed988018b89c986ad8f6f065fe0) )
- ROM_LOAD( "ms2.bin", 0x0800, 0x0800, CRC(98b913b1) SHA1(2ce86f5069e2664e2ea44bda567ca26432fd59f7) )
- ROM_LOAD( "ms3.bin", 0x1000, 0x0800, CRC(ea58c124) SHA1(7551c14ed9563e3aed7220cc03f7bca4029b3a4e) )
- ROM_LOAD( "ms5.bin", 0x1800, 0x0800, CRC(4302a658) SHA1(9590be8db27b7122c87cfb27f8e09c2ecbf6fbd0) )
- ROM_LOAD( "ms4.bin", 0x2000, 0x0800, CRC(088582ab) SHA1(ad2d86184b4a6ee74464d1df40f4e841434c46c8) )
- ROM_LOAD( "ms6.bin", 0x2800, 0x0800, CRC(e6bf492c) SHA1(ada3a33c54b6c02f3fb9590181fceefafdc429bc) )
+ ROM_LOAD( "ms1.bin", 0x0000, 0x0800, CRC(59e9019d) SHA1(3c64ae956ec4eed988018b89c986ad8f6f065fe0) )
+ ROM_LOAD( "ms2.bin", 0x0800, 0x0800, CRC(98b913b1) SHA1(2ce86f5069e2664e2ea44bda567ca26432fd59f7) )
+ ROM_LOAD( "ms3.bin", 0x1000, 0x0800, CRC(ea58c124) SHA1(7551c14ed9563e3aed7220cc03f7bca4029b3a4e) )
+ ROM_LOAD( "ms5.bin", 0x1800, 0x0800, CRC(4302a658) SHA1(9590be8db27b7122c87cfb27f8e09c2ecbf6fbd0) )
+ ROM_LOAD( "ms4.bin", 0x2000, 0x0800, CRC(088582ab) SHA1(ad2d86184b4a6ee74464d1df40f4e841434c46c8) )
+ ROM_LOAD( "ms6.bin", 0x2800, 0x0800, CRC(e6bf492c) SHA1(ada3a33c54b6c02f3fb9590181fceefafdc429bc) )
- ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
- ROM_LOAD( "ms8.bin", 0x0000, 0x0800, CRC(9e1d63a2) SHA1(d8642e515871da44880e105e6891c4b25222744f) )
- ROM_LOAD( "ms7.bin", 0x0800, 0x0800, CRC(1ab338d3) SHA1(4e3bf93f94119fd10c40953245cec735db8417fb) )
+ ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
+ ROM_LOAD( "ms8.bin", 0x0000, 0x0800, CRC(9e1d63a2) SHA1(d8642e515871da44880e105e6891c4b25222744f) )
+ ROM_LOAD( "ms7.bin", 0x0800, 0x0800, CRC(1ab338d3) SHA1(4e3bf93f94119fd10c40953245cec735db8417fb) )
ROM_REGION( 0x0020, "proms", 0 )
ROM_LOAD( "ms.d9", 0x0000, 0x0020, CRC(36e2aa2a) SHA1(4813b013cb8260157858e3adc7323efc6654e170) )
@@ -1392,7 +1392,7 @@ ROM_START( magspot2 )
ROM_LOAD( "ms.e6", 0x2000, 0x0800, CRC(6a08ab94) SHA1(5d9272a5304546cef6668c975e815f6750bcfa15) )
ROM_LOAD( "ms.e8", 0x2800, 0x0800, CRC(77c6d109) SHA1(bb265bd56d4d597d2ef75d169d5d30db1499e3be) )
- ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
+ ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
ROM_LOAD( "ms.n2", 0x0000, 0x0800, CRC(9e1d63a2) SHA1(d8642e515871da44880e105e6891c4b25222744f) )
ROM_LOAD( "ms.n1", 0x0800, 0x0800, CRC(1ab338d3) SHA1(4e3bf93f94119fd10c40953245cec735db8417fb) )
@@ -1412,7 +1412,7 @@ ROM_START( devzone )
ROM_LOAD( "dv4.e6", 0x2000, 0x0800, CRC(a58c5b8c) SHA1(7ff08007aedd2ff1d7ef64263da92a5b77ae2dc4) )
ROM_LOAD( "dv6.e8", 0x2800, 0x0800, CRC(3930fb67) SHA1(919883e833d6caa8fe7c3ceaa184575a3b4932b6) )
- ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
+ ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
ROM_LOAD( "dv8.n2", 0x0000, 0x0800, CRC(da1cbec1) SHA1(08a668f19c68335f4fc9f98cd53b44047dd8aad9) )
ROM_LOAD( "dv7.n1", 0x0800, 0x0800, CRC(e7562fcf) SHA1(0a0833dbb8d4be69fbf8897aa3e045a87ae42024) )
@@ -1438,7 +1438,7 @@ ROM_START( devzone2 )
ROM_LOAD( "my1_4.e6", 0x2000, 0x0800, BAD_DUMP CRC(5d965d93) SHA1(49fe79e4b5cec1c7aa2f8e1eb750b39bb7dda16c) )
ROM_LOAD( "mz7_6.e8", 0x2800, 0x0800, BAD_DUMP CRC(8504e8c9) SHA1(40e08ff38673544c734a9fc19b38edaa8cc74f23) )
- ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
+ ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
ROM_LOAD( "my8_8.n2", 0x0000, 0x0800, CRC(18abce02) SHA1(5cac11f4e6f1a4801bd02007399a906cdff66b85) )
ROM_LOAD( "mx3_7.n1", 0x0800, 0x0800, CRC(c089c9e3) SHA1(2fb725338a19d5d4f9e445e7d46d105b8db9733c) )
@@ -1464,7 +1464,7 @@ ROM_START( nomnlnd )
ROM_LOAD( "4.bin", 0x2000, 0x0800, CRC(0e8cd46a) SHA1(14cf9017e408b862a4ed63bb8acd37064b3919a8) )
ROM_LOAD( "6.bin", 0x2800, 0x0800, CRC(ba472ba5) SHA1(49be1500b3805a19c7210e53ad5c2c4a5876bf4e) )
- ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
+ ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
ROM_LOAD( "nml8.n2", 0x0000, 0x0800, CRC(739009b4) SHA1(bbabd6ce7b1ded025f20120adaebdb97fb755ef0) )
ROM_LOAD( "nml7.n1", 0x0800, 0x0800, CRC(d08ed22f) SHA1(33f450b6f63110bf804105280dc679f1591422f6) )
@@ -1488,7 +1488,7 @@ ROM_START( nomnlndg )
ROM_LOAD( "nml4.e6", 0x2000, 0x0800, CRC(994c9afb) SHA1(c8e6af30d9b2cb5ca52fa325c6ac9a41413d067c) )
ROM_LOAD( "nml6.e8", 0x2800, 0x0800, CRC(01ed2d8c) SHA1(bfa31e9100a1f9276c521ed8699e1cb0d067e0fa) )
- ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
+ ROM_REGION( 0x1000, "gfx1", 0 ) /* sprites */
ROM_LOAD( "nml8.n2", 0x0000, 0x0800, CRC(739009b4) SHA1(bbabd6ce7b1ded025f20120adaebdb97fb755ef0) )
ROM_LOAD( "nml7.n1", 0x0800, 0x0800, CRC(d08ed22f) SHA1(33f450b6f63110bf804105280dc679f1591422f6) )
@@ -1516,9 +1516,9 @@ DRIVER_INIT_MEMBER(cosmic_state,cosmicg)
UINT8 scrambled = rom[offs];
UINT8 normal = (scrambled >> 3 & 0x11)
- | (scrambled >> 1 & 0x22)
- | (scrambled << 1 & 0x44)
- | (scrambled << 3 & 0x88);
+ | (scrambled >> 1 & 0x22)
+ | (scrambled << 1 & 0x44)
+ | (scrambled << 3 & 0x88);
rom[offs] = normal;
}