mirror of
https://github.com/holub/mame
synced 2025-05-20 12:48:53 +03:00
moved anteateruk/anteaterg to galdrvr
This commit is contained in:
parent
d625c435a3
commit
5fc16d9ce3
@ -1486,6 +1486,47 @@ static ADDRESS_MAP_START( scobra_map, ADDRESS_SPACE_PROGRAM, 8 )
|
||||
ADDRESS_MAP_END
|
||||
|
||||
|
||||
static ADDRESS_MAP_START( anteateruk_map, ADDRESS_SPACE_PROGRAM, 8 )
|
||||
ADDRESS_MAP_UNMAP_HIGH
|
||||
AM_RANGE(0x0000, 0x03ff) AM_ROM
|
||||
AM_RANGE(0x0400, 0x0bff) AM_RAM
|
||||
AM_RANGE(0x0c00, 0x0fff) AM_RAM_WRITE(galaxian_videoram_w) AM_BASE_MEMBER(galaxian_state, videoram)
|
||||
AM_RANGE(0x1001, 0x1001) AM_MIRROR(0x01f8) AM_WRITE(irq_enable_w)
|
||||
AM_RANGE(0x1002, 0x1002) AM_MIRROR(0x01f8) AM_WRITE(coin_count_0_w)
|
||||
AM_RANGE(0x1003, 0x1003) AM_MIRROR(0x01f8) AM_WRITE(scramble_background_enable_w)
|
||||
AM_RANGE(0x1004, 0x1004) AM_MIRROR(0x01f8) AM_WRITE(galaxian_stars_enable_w)
|
||||
AM_RANGE(0x1005, 0x1005) AM_MIRROR(0x01f8) //POUT2
|
||||
AM_RANGE(0x1006, 0x1006) AM_MIRROR(0x01f8) AM_WRITE(galaxian_flip_screen_x_w)
|
||||
AM_RANGE(0x1007, 0x1007) AM_MIRROR(0x01f8) AM_WRITE(galaxian_flip_screen_y_w)
|
||||
AM_RANGE(0x1200, 0x12ff) AM_MIRROR(0x0100) AM_RAM_WRITE(galaxian_objram_w) AM_BASE_GENERIC(spriteram)
|
||||
AM_RANGE(0x1400, 0x1400) AM_MIRROR(0x03ff) AM_READ(watchdog_reset_r)
|
||||
AM_RANGE(0x4000, 0xbfff) AM_ROM
|
||||
AM_RANGE(0xc000, 0xc003) AM_MIRROR(0x3efc) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w)
|
||||
AM_RANGE(0xc100, 0xc103) AM_MIRROR(0x3efc) AM_DEVREADWRITE("ppi8255_0", ppi8255_r, ppi8255_w)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
|
||||
static ADDRESS_MAP_START( anteaterg_map, ADDRESS_SPACE_PROGRAM, 8 )
|
||||
ADDRESS_MAP_UNMAP_HIGH
|
||||
AM_RANGE(0x0000, 0x03ff) AM_ROM
|
||||
AM_RANGE(0x0400, 0x0bff) AM_RAM
|
||||
AM_RANGE(0x0c00, 0x0fff) AM_RAM_WRITE(galaxian_videoram_w) AM_BASE_MEMBER(galaxian_state, videoram)
|
||||
AM_RANGE(0x2000, 0x20ff) AM_MIRROR(0x0300) AM_RAM_WRITE(galaxian_objram_w) AM_BASE_GENERIC(spriteram)
|
||||
AM_RANGE(0x2400, 0x2403) AM_MIRROR(0x01fc) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w)
|
||||
AM_RANGE(0x2601, 0x2601) AM_MIRROR(0x01f8) AM_WRITE(irq_enable_w)
|
||||
AM_RANGE(0x2602, 0x2602) AM_MIRROR(0x01f8) AM_WRITE(coin_count_0_w)
|
||||
AM_RANGE(0x2603, 0x2603) AM_MIRROR(0x01f8) AM_WRITE(scramble_background_enable_w)
|
||||
AM_RANGE(0x2604, 0x2604) AM_MIRROR(0x01f8) AM_WRITE(galaxian_stars_enable_w)
|
||||
AM_RANGE(0x2605, 0x2605) AM_MIRROR(0x01f8) //POUT2
|
||||
AM_RANGE(0x2606, 0x2606) AM_MIRROR(0x01f8) AM_WRITE(galaxian_flip_screen_x_w)
|
||||
AM_RANGE(0x2607, 0x2607) AM_MIRROR(0x01f8) AM_WRITE(galaxian_flip_screen_y_w)
|
||||
AM_RANGE(0x4000, 0xbfff) AM_ROM
|
||||
AM_RANGE(0x7c00, 0x7fff) AM_RAM_WRITE(galaxian_videoram_w) AM_BASE_MEMBER(galaxian_state, videoram) /* mirror! */
|
||||
AM_RANGE(0xf400, 0xf400) AM_MIRROR(0x01ff) AM_READ(watchdog_reset_r)
|
||||
AM_RANGE(0xf600, 0xf603) AM_MIRROR(0x01fc) AM_DEVREADWRITE("ppi8255_0", ppi8255_r, ppi8255_w)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
|
||||
/* map derived from schematics */
|
||||
static ADDRESS_MAP_START( frogger_map, ADDRESS_SPACE_PROGRAM, 8 )
|
||||
ADDRESS_MAP_UNMAP_HIGH
|
||||
@ -2333,14 +2374,30 @@ static MACHINE_CONFIG_DERIVED( anteater, scobra )
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
static MACHINE_CONFIG_DERIVED( anteateruk, anteater )
|
||||
|
||||
/* strange memory map, maybe a kind of protection */
|
||||
MCFG_CPU_MODIFY("maincpu")
|
||||
MCFG_CPU_PROGRAM_MAP(anteateruk_map)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
static MACHINE_CONFIG_DERIVED( anteaterg, anteater )
|
||||
|
||||
/* strange memory map, maybe a kind of protection */
|
||||
MCFG_CPU_MODIFY("maincpu")
|
||||
MCFG_CPU_PROGRAM_MAP(anteaterg_map)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
static MACHINE_CONFIG_DERIVED( moonwar, scobra )
|
||||
/* same as regular type 1, the only difference is that the bullets are less yellow */
|
||||
|
||||
/* device config overrides */
|
||||
MCFG_PPI8255_RECONFIG( "ppi8255_0", moonwar_ppi8255_0_intf )
|
||||
MCFG_PPI8255_RECONFIG( "ppi8255_1", konami_ppi8255_1_intf )
|
||||
|
||||
MCFG_PALETTE_INIT(moonwar)
|
||||
MCFG_PALETTE_INIT(moonwar) // bullets are less yellow
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
@ -3232,9 +3289,15 @@ static DRIVER_INIT( anteater )
|
||||
}
|
||||
|
||||
|
||||
static DRIVER_INIT( anteateruk )
|
||||
{
|
||||
/* video extensions */
|
||||
common_init(machine, scramble_draw_bullet, anteater_draw_background, NULL, NULL);
|
||||
}
|
||||
|
||||
|
||||
static DRIVER_INIT( superbon )
|
||||
{
|
||||
|
||||
/* video extensions */
|
||||
common_init(machine, scramble_draw_bullet, scramble_draw_background, NULL, NULL);
|
||||
|
||||
@ -3245,10 +3308,8 @@ static DRIVER_INIT( superbon )
|
||||
|
||||
static DRIVER_INIT( calipso )
|
||||
{
|
||||
|
||||
/* video extensions */
|
||||
common_init(machine, scramble_draw_bullet, scramble_draw_background, NULL, calipso_extend_sprite_info);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -2595,6 +2595,61 @@ static INPUT_PORTS_START( anteater )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( anteateruk )
|
||||
PORT_START("IN0")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||
|
||||
PORT_START("IN1")
|
||||
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Upright ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) )
|
||||
PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
|
||||
|
||||
PORT_START("IN2")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Coinage ) )
|
||||
PORT_DIPSETTING( 0x02, "A 1/1 B 1/5" )
|
||||
PORT_DIPSETTING( 0x00, "A 2/1 B 1/3" )
|
||||
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) )
|
||||
PORT_DIPSETTING( 0x0c, "3" )
|
||||
PORT_DIPSETTING( 0x08, "4" )
|
||||
PORT_DIPSETTING( 0x04, "5" )
|
||||
PORT_DIPSETTING( 0x00, "6" )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
|
||||
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
|
||||
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
|
||||
PORT_START("IN3") /* need for some PPI accesses */
|
||||
PORT_BIT( 0xff, 0x00, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
/* verified from Z80 code */
|
||||
static INPUT_PORTS_START( calipso )
|
||||
PORT_START("IN0")
|
||||
@ -5855,6 +5910,50 @@ ROM_START( anteater )
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( anteateruk )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD( "ant1.bin", 0x0000, 0x0400, CRC(69debc90) SHA1(2ad4c86a1cbaf86d0b76bb07b885f61bc6604009) )
|
||||
ROM_CONTINUE( 0x4600, 0x0a00 )
|
||||
ROM_CONTINUE( 0x6400, 0x1200 )
|
||||
ROM_LOAD( "ant2.bin", 0x7600, 0x0500, CRC(ab352805) SHA1(858928f2b57c324a7942c13e0e6a7717a36f6ffc) )
|
||||
ROM_CONTINUE( 0x8300, 0x1600 )
|
||||
ROM_CONTINUE( 0xa300, 0x0500 )
|
||||
|
||||
ROM_REGION( 0x10000, "audiocpu", 0 )
|
||||
ROM_LOAD( "ra4-5c", 0x0000, 0x0800, CRC(87300b4f) SHA1(b81b685ac1d353ff1cd40b876a7478b87b85e7a9) )
|
||||
ROM_LOAD( "ra4-5d", 0x0800, 0x0800, CRC(af4e5ffe) SHA1(62717a233cf9f58267af4a9e1c80479b373ab317) )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx1", 0 )
|
||||
ROM_LOAD( "gfx_1.bin", 0x0000, 0x0800, CRC(1e2824b1) SHA1(9527937db618505181f4d5a22bc532977a767232) )
|
||||
ROM_LOAD( "gfx_2.bin", 0x0800, 0x0800, CRC(784319b3) SHA1(0c3612a428d0906b07b35782cc0f84fda13aab73) )
|
||||
|
||||
ROM_REGION( 0x0020, "proms", 0 )
|
||||
ROM_LOAD( "colr6f.cpu", 0x0000, 0x0020, CRC(fce333c7) SHA1(f63a214dc47c5e7c80db000b0b6a261ca8da6629) )
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( anteaterg )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD( "prg_2.bin", 0x0000, 0x0400, CRC(2ba793a8) SHA1(a97c96dcd55804d3b41856ece6477ec1c1e45892) )
|
||||
ROM_CONTINUE( 0x4600, 0x0a00 )
|
||||
ROM_CONTINUE( 0x6400, 0x1200 )
|
||||
ROM_LOAD( "prg_1.bin", 0x7600, 0x0500, CRC(7a798af5) SHA1(b4c8672c92b207a7a334dd3b78e57537b7d99b71) )
|
||||
ROM_CONTINUE( 0x8300, 0x1600 )
|
||||
ROM_CONTINUE( 0xa300, 0x0500 )
|
||||
|
||||
ROM_REGION( 0x10000, "audiocpu", 0 )
|
||||
ROM_LOAD( "ra4-5c", 0x0000, 0x0800, CRC(87300b4f) SHA1(b81b685ac1d353ff1cd40b876a7478b87b85e7a9) )
|
||||
ROM_LOAD( "ra4-5d", 0x0800, 0x0800, CRC(af4e5ffe) SHA1(62717a233cf9f58267af4a9e1c80479b373ab317) )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx1", 0 )
|
||||
ROM_LOAD( "gfx_1.bin", 0x0000, 0x0800, CRC(1e2824b1) SHA1(9527937db618505181f4d5a22bc532977a767232) )
|
||||
ROM_LOAD( "gfx_2.bin", 0x0800, 0x0800, CRC(784319b3) SHA1(0c3612a428d0906b07b35782cc0f84fda13aab73) )
|
||||
|
||||
ROM_REGION( 0x0020, "proms", 0 )
|
||||
ROM_LOAD( "colr6f.cpu", 0x0000, 0x0020, CRC(fce333c7) SHA1(f63a214dc47c5e7c80db000b0b6a261ca8da6629) )
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( calipso )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD( "calipso.2c", 0x0000, 0x1000, CRC(0fcb703c) SHA1(2bb096f114911973afdf3088c860c9566df06f60) )
|
||||
@ -6157,7 +6256,7 @@ GAME( 1981, 600, turtles, turtles, turtles, turtles, ROT90, "Konami",
|
||||
GAME( 1981, amidar, 0, turtles, amidar, turtles, ROT90, "Konami", "Amidar", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, amidaru, amidar, turtles, amidaru, turtles, ROT90, "Konami (Stern Electronics license)", "Amidar (Stern Electronics)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, amidaro, amidar, turtles, amidaro, turtles, ROT90, "Konami (Olympia license)", "Amidar (Olympia)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, amidarb, amidar, turtles, amidaru, turtles, ROT90, "bootleg", "Amidar (bootleg)", GAME_SUPPORTS_SAVE ) /* Simular to Amigo bootleg */
|
||||
GAME( 1982, amidarb, amidar, turtles, amidaru, turtles, ROT90, "bootleg", "Amidar (bootleg)", GAME_SUPPORTS_SAVE ) /* similar to Amigo bootleg */
|
||||
GAME( 1982, amigo, amidar, turtles, amidaru, turtles, ROT90, "bootleg", "Amigo", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, amidars, amidar, scramble, amidars, scramble, ROT90, "Konami", "Amidar (Scramble hardware)", GAME_SUPPORTS_SAVE )
|
||||
|
||||
@ -6215,9 +6314,11 @@ GAME( 1982, tazmania, 0, scobra, tazmania, scobra, ROT90, "Stern E
|
||||
CPU/Video Board: A969 (Has various wire mods)
|
||||
Sound Board: A970
|
||||
*/
|
||||
GAME( 1982, anteater, 0, anteater, anteater, anteater, ROT90, "Tago Electronics", "Anteater", GAME_SUPPORTS_SAVE ) // scramble conversion
|
||||
GAME( 1982, anteater, 0, anteater, anteater, anteater, ROT90, "Tago Electronics", "Anteater", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, anteateruk,anteater, anteateruk,anteateruk,anteateruk,ROT90, "Tago Electronics (Free Enterprise Games license", "The Anteater (UK)", GAME_SUPPORTS_SAVE ) // distributed in 1983
|
||||
GAME( 1982, anteaterg, anteater, anteaterg, anteateruk,anteateruk,ROT90, "Tago Electronics (TV-Tuning license from Free Enterprise Games)", "Ameisenbaer (German)", GAME_SUPPORTS_SAVE )
|
||||
|
||||
GAME( 1982, calipso, 0, scobra, calipso, calipso, ROT90, "Tago Electronics", "Calipso", GAME_SUPPORTS_SAVE ) // scobra conversion
|
||||
GAME( 1982, calipso, 0, scobra, calipso, calipso, ROT90, "Tago Electronics", "Calipso", GAME_SUPPORTS_SAVE )
|
||||
|
||||
/*
|
||||
Lost Tomb
|
||||
@ -6283,8 +6384,6 @@ GAME( 1985, superbon, 0, scobra, superbon, superbon, ROT90, "Signatr
|
||||
//GAME( 1981, stratgys, stratgyx, scobra/*stratgyx*/, stratgyx, stratgyx, ROT0, "Konami (Stern Electronics license)", "Strategy X (Stern Electronics)", GAME_SUPPORTS_SAVE )
|
||||
//GAME( 1982, darkplnt, 0, scobra/*darkplnt*/, darkplnt, darkplnt, ROT180, "Stern Electronics", "Dark Planet", GAME_SUPPORTS_SAVE )
|
||||
//GAME( 1982, tazmani2, tazmania, scobra/*type2*/, tazmania, tazmani2, ROT90, "Stern Electronics", "Tazz-Mania (set 2)", GAME_SUPPORTS_SAVE )
|
||||
//GAME( 1983, anteaterg, anteater, scobra/*anteaterg*/, anteaterg, scramble_ppi, ROT90, "TV-Tuning (F.E.G. license)", "Ameisenbaer (German)", GAME_SUPPORTS_SAVE )
|
||||
//GAME( 1983, anteateruk, anteater, scobra/*anteateruk*/, anteateruk, scramble_ppi, ROT90, "Free Enterprise Games", "The Anteater (UK)", GAME_SUPPORTS_SAVE )
|
||||
//GAME( 1982, rescue, 0, scobra/*rescue*/, rescue, rescue, ROT90, "Stern Electronics", "Rescue", GAME_SUPPORTS_SAVE )
|
||||
//GAME( 1982, aponow, rescue, scobra/*rescue*/, rescue, rescue, ROT90, "bootleg", "Apocaljpse Now", GAME_SUPPORTS_SAVE )
|
||||
//GAME( 1983, minefld, 0, scobra/*minefld*/, minefld, minefld, ROT90, "Stern Electronics", "Minefield", GAME_SUPPORTS_SAVE )
|
||||
|
@ -206,114 +206,6 @@ static ADDRESS_MAP_START( mimonkey_map, ADDRESS_SPACE_PROGRAM, 8 )
|
||||
ADDRESS_MAP_END
|
||||
|
||||
|
||||
static READ8_DEVICE_HANDLER( anteaterg_ppi8255_0_reg0_r )
|
||||
{
|
||||
return ppi8255_r(device, 0);
|
||||
}
|
||||
|
||||
static READ8_DEVICE_HANDLER( anteaterg_ppi8255_0_reg1_r )
|
||||
{
|
||||
return ppi8255_r(device, 1);
|
||||
}
|
||||
|
||||
static READ8_DEVICE_HANDLER( anteaterg_ppi8255_0_reg2_r )
|
||||
{
|
||||
return ppi8255_r(device, 2);
|
||||
}
|
||||
|
||||
static READ8_DEVICE_HANDLER( anteaterg_ppi8255_0_reg3_r )
|
||||
{
|
||||
return ppi8255_r(device, 3);
|
||||
}
|
||||
|
||||
static WRITE8_DEVICE_HANDLER( anteaterg_ppi8255_0_reg0_w )
|
||||
{
|
||||
ppi8255_w(device, 0, data);
|
||||
}
|
||||
|
||||
static WRITE8_DEVICE_HANDLER( anteaterg_ppi8255_0_reg1_w )
|
||||
{
|
||||
ppi8255_w(device, 1, data);
|
||||
}
|
||||
|
||||
static WRITE8_DEVICE_HANDLER( anteaterg_ppi8255_0_reg2_w )
|
||||
{
|
||||
ppi8255_w(device, 2, data);
|
||||
}
|
||||
|
||||
static WRITE8_DEVICE_HANDLER( anteaterg_ppi8255_0_reg3_w )
|
||||
{
|
||||
ppi8255_w(device, 3, data);
|
||||
}
|
||||
|
||||
static WRITE8_DEVICE_HANDLER( anteaterg_ppi8255_1_reg0_w )
|
||||
{
|
||||
ppi8255_w(device, 0, data);
|
||||
}
|
||||
|
||||
static WRITE8_DEVICE_HANDLER( anteaterg_ppi8255_1_reg1_w )
|
||||
{
|
||||
ppi8255_w(device, 1, data);
|
||||
}
|
||||
|
||||
static WRITE8_DEVICE_HANDLER( anteaterg_ppi8255_1_reg3_w )
|
||||
{
|
||||
ppi8255_w(device, 3, data);
|
||||
}
|
||||
|
||||
static ADDRESS_MAP_START( anteaterg_map, ADDRESS_SPACE_PROGRAM, 8 )
|
||||
AM_RANGE(0x0000, 0x03ff) AM_ROM
|
||||
AM_RANGE(0x0400, 0x0bff) AM_RAM
|
||||
AM_RANGE(0x0c00, 0x0fff) AM_RAM_WRITE(galaxold_videoram_w) AM_BASE(&galaxold_videoram)
|
||||
AM_RANGE(0x2000, 0x203f) AM_RAM_WRITE(galaxold_attributesram_w) AM_BASE(&galaxold_attributesram)
|
||||
AM_RANGE(0x2040, 0x205f) AM_RAM AM_BASE(&galaxold_spriteram) AM_SIZE(&galaxold_spriteram_size)
|
||||
AM_RANGE(0x2060, 0x207f) AM_RAM AM_BASE(&galaxold_bulletsram) AM_SIZE(&galaxold_bulletsram_size)
|
||||
AM_RANGE(0x2080, 0x20ff) AM_RAM
|
||||
AM_RANGE(0x2423, 0x2423) AM_DEVWRITE("ppi8255_1", anteaterg_ppi8255_1_reg3_w)
|
||||
AM_RANGE(0x2450, 0x2450) AM_DEVWRITE("ppi8255_1", anteaterg_ppi8255_1_reg0_w)
|
||||
AM_RANGE(0x2511, 0x2511) AM_DEVWRITE("ppi8255_1", anteaterg_ppi8255_1_reg1_w)
|
||||
AM_RANGE(0x2621, 0x2621) AM_WRITE(galaxold_nmi_enable_w)
|
||||
AM_RANGE(0x2624, 0x2624) AM_WRITE(galaxold_stars_enable_w)
|
||||
AM_RANGE(0x2647, 0x2647) AM_WRITE(galaxold_flip_screen_y_w)
|
||||
AM_RANGE(0x2653, 0x2653) AM_WRITE(scrambold_background_enable_w)
|
||||
AM_RANGE(0x2702, 0x2702) AM_WRITE(galaxold_coin_counter_w)
|
||||
AM_RANGE(0x2736, 0x2736) AM_WRITE(galaxold_flip_screen_x_w)
|
||||
AM_RANGE(0x4600, 0x4fff) AM_ROM
|
||||
AM_RANGE(0x6400, 0x7aff) AM_ROM
|
||||
AM_RANGE(0x7c00, 0x7fff) AM_READWRITE(galaxold_videoram_r, galaxold_videoram_w) /* mirror */
|
||||
AM_RANGE(0x8300, 0x98ff) AM_ROM
|
||||
AM_RANGE(0xa300, 0xa7ff) AM_ROM
|
||||
AM_RANGE(0xf521, 0xf521) AM_READ(watchdog_reset_r)
|
||||
AM_RANGE(0xf612, 0xf612) AM_DEVREADWRITE("ppi8255_0", anteaterg_ppi8255_0_reg0_r, anteaterg_ppi8255_0_reg0_w)
|
||||
AM_RANGE(0xf631, 0xf631) AM_DEVREADWRITE("ppi8255_0", anteaterg_ppi8255_0_reg1_r, anteaterg_ppi8255_0_reg1_w)
|
||||
AM_RANGE(0xf710, 0xf710) AM_DEVREADWRITE("ppi8255_0", anteaterg_ppi8255_0_reg2_r, anteaterg_ppi8255_0_reg2_w)
|
||||
AM_RANGE(0xf753, 0xf753) AM_DEVREADWRITE("ppi8255_0", anteaterg_ppi8255_0_reg3_r, anteaterg_ppi8255_0_reg3_w)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static ADDRESS_MAP_START( anteateruk_map, ADDRESS_SPACE_PROGRAM, 8 )
|
||||
AM_RANGE(0x0000, 0x03ff) AM_ROM
|
||||
AM_RANGE(0x0400, 0x0bff) AM_RAM
|
||||
AM_RANGE(0x0c00, 0x0fff) AM_RAM_WRITE(galaxold_videoram_w) AM_BASE(&galaxold_videoram)
|
||||
AM_RANGE(0x1171, 0x1171) AM_WRITE(galaxold_nmi_enable_w)
|
||||
AM_RANGE(0x1174, 0x1174) AM_WRITE(galaxold_stars_enable_w)
|
||||
AM_RANGE(0x1177, 0x1177) AM_WRITE(galaxold_flip_screen_y_w)
|
||||
AM_RANGE(0x1173, 0x1173) AM_WRITE(scrambold_background_enable_w)
|
||||
AM_RANGE(0x1172, 0x1172) AM_WRITE(galaxold_coin_counter_w)
|
||||
AM_RANGE(0x1176, 0x1176) AM_WRITE(galaxold_flip_screen_x_w)
|
||||
AM_RANGE(0x1200, 0x123f) AM_RAM_WRITE(galaxold_attributesram_w) AM_BASE(&galaxold_attributesram)
|
||||
AM_RANGE(0x1240, 0x125f) AM_RAM AM_BASE(&galaxold_spriteram) AM_SIZE(&galaxold_spriteram_size)
|
||||
AM_RANGE(0x1260, 0x127f) AM_RAM AM_BASE(&galaxold_bulletsram) AM_SIZE(&galaxold_bulletsram_size)
|
||||
AM_RANGE(0x1280, 0x12ff) AM_RAM
|
||||
AM_RANGE(0x145b, 0x145b) AM_READ(watchdog_reset_r)
|
||||
AM_RANGE(0x4600, 0x4fff) AM_ROM
|
||||
AM_RANGE(0x6400, 0x7aff) AM_ROM
|
||||
AM_RANGE(0x8300, 0x98ff) AM_ROM
|
||||
AM_RANGE(0xa300, 0xa7ff) AM_ROM
|
||||
AM_RANGE(0xf300, 0xf303) AM_DEVREADWRITE("ppi8255_0", ppi8255_r, ppi8255_w)
|
||||
AM_RANGE(0xfe00, 0xfe03) AM_DEVREADWRITE("ppi8255_1", ppi8255_r, ppi8255_w)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
|
||||
static READ8_HANDLER(scobra_soundram_r)
|
||||
{
|
||||
scobra_state *state = space->machine->driver_data<scobra_state>();
|
||||
@ -542,108 +434,6 @@ static INPUT_PORTS_START( tazmania )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( anteaterg )
|
||||
PORT_START("IN0")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Coinage ) )
|
||||
PORT_DIPSETTING( 0x02, "Coin A 1/1 Coin B 1/5" )
|
||||
PORT_DIPSETTING( 0x00, "Coin A 2/1 Coin B 1/3" )
|
||||
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) )
|
||||
PORT_DIPSETTING( 0x0c, "3" )
|
||||
PORT_DIPSETTING( 0x08, "4" )
|
||||
PORT_DIPSETTING( 0x04, "5" )
|
||||
PORT_DIPSETTING( 0x00, "6" )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
|
||||
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
|
||||
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
|
||||
PORT_START("IN1")
|
||||
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Upright ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) )
|
||||
PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
|
||||
|
||||
PORT_START("IN2")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( anteateruk )
|
||||
PORT_START("IN0")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||
|
||||
PORT_START("IN1")
|
||||
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Upright ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) )
|
||||
PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
|
||||
|
||||
PORT_START("IN2")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
|
||||
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Coinage ) )
|
||||
PORT_DIPSETTING( 0x02, "Coin A 1/1 Coin B 1/5" )
|
||||
PORT_DIPSETTING( 0x00, "Coin A 2/1 Coin B 1/3" )
|
||||
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) )
|
||||
PORT_DIPSETTING( 0x0c, "3" )
|
||||
PORT_DIPSETTING( 0x08, "4" )
|
||||
PORT_DIPSETTING( 0x04, "5" )
|
||||
PORT_DIPSETTING( 0x00, "6" )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
|
||||
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
|
||||
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
/* cocktail mode is N/A */
|
||||
static INPUT_PORTS_START( rescue )
|
||||
PORT_START("IN0")
|
||||
@ -1045,23 +835,6 @@ static MACHINE_CONFIG_DERIVED( hustlerb, hustler )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
/* same as type1 but with a strange memory map, maybe a kind of protection */
|
||||
static MACHINE_CONFIG_DERIVED( anteaterg, type1 )
|
||||
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_MODIFY("maincpu")
|
||||
MCFG_CPU_PROGRAM_MAP(anteaterg_map)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
/* same as type1 but with a strange memory map, maybe a kind of protection */
|
||||
static MACHINE_CONFIG_DERIVED( anteateruk, type1 )
|
||||
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_MODIFY("maincpu")
|
||||
MCFG_CPU_PROGRAM_MAP(anteateruk_map)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
|
||||
Game driver(s)
|
||||
@ -1182,48 +955,6 @@ ROM_START( tazmani2 )
|
||||
ROM_LOAD( "colr6f.cpu", 0x0000, 0x0020, CRC(fce333c7) SHA1(f63a214dc47c5e7c80db000b0b6a261ca8da6629) )
|
||||
ROM_END
|
||||
|
||||
ROM_START( anteaterg )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD( "prg_2.bin", 0x0000, 0x0400, CRC(2ba793a8) SHA1(a97c96dcd55804d3b41856ece6477ec1c1e45892) )
|
||||
ROM_CONTINUE( 0x4600, 0x0a00 )
|
||||
ROM_CONTINUE( 0x6400, 0x1200 )
|
||||
ROM_LOAD( "prg_1.bin", 0x7600, 0x0500, CRC(7a798af5) SHA1(b4c8672c92b207a7a334dd3b78e57537b7d99b71) )
|
||||
ROM_CONTINUE( 0x8300, 0x1600 )
|
||||
ROM_CONTINUE( 0xa300, 0x0500 )
|
||||
|
||||
ROM_REGION( 0x10000, "audiocpu", 0 )
|
||||
ROM_LOAD( "ra4-5c", 0x0000, 0x0800, CRC(87300b4f) SHA1(b81b685ac1d353ff1cd40b876a7478b87b85e7a9) )
|
||||
ROM_LOAD( "ra4-5d", 0x0800, 0x0800, CRC(af4e5ffe) SHA1(62717a233cf9f58267af4a9e1c80479b373ab317) )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx1", 0 )
|
||||
ROM_LOAD( "gfx_1.bin", 0x0000, 0x0800, CRC(1e2824b1) SHA1(9527937db618505181f4d5a22bc532977a767232) )
|
||||
ROM_LOAD( "gfx_2.bin", 0x0800, 0x0800, CRC(784319b3) SHA1(0c3612a428d0906b07b35782cc0f84fda13aab73) )
|
||||
|
||||
ROM_REGION( 0x0020, "proms", 0 )
|
||||
ROM_LOAD( "colr6f.cpu", 0x0000, 0x0020, CRC(fce333c7) SHA1(f63a214dc47c5e7c80db000b0b6a261ca8da6629) )
|
||||
ROM_END
|
||||
|
||||
ROM_START( anteateruk )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD( "ant1.bin", 0x0000, 0x0400, CRC(69debc90) SHA1(2ad4c86a1cbaf86d0b76bb07b885f61bc6604009) )
|
||||
ROM_CONTINUE( 0x4600, 0x0a00 )
|
||||
ROM_CONTINUE( 0x6400, 0x1200 )
|
||||
ROM_LOAD( "ant2.bin", 0x7600, 0x0500, CRC(ab352805) SHA1(858928f2b57c324a7942c13e0e6a7717a36f6ffc) )
|
||||
ROM_CONTINUE( 0x8300, 0x1600 )
|
||||
ROM_CONTINUE( 0xa300, 0x0500 )
|
||||
|
||||
ROM_REGION( 0x10000, "audiocpu", 0 )
|
||||
ROM_LOAD( "ra4-5c", 0x0000, 0x0800, CRC(87300b4f) SHA1(b81b685ac1d353ff1cd40b876a7478b87b85e7a9) )
|
||||
ROM_LOAD( "ra4-5d", 0x0800, 0x0800, CRC(af4e5ffe) SHA1(62717a233cf9f58267af4a9e1c80479b373ab317) )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx1", 0 )
|
||||
ROM_LOAD( "gfx_1.bin", 0x0000, 0x0800, CRC(1e2824b1) SHA1(9527937db618505181f4d5a22bc532977a767232) )
|
||||
ROM_LOAD( "gfx_2.bin", 0x0800, 0x0800, CRC(784319b3) SHA1(0c3612a428d0906b07b35782cc0f84fda13aab73) )
|
||||
|
||||
ROM_REGION( 0x0020, "proms", 0 )
|
||||
ROM_LOAD( "colr6f.cpu", 0x0000, 0x0020, CRC(fce333c7) SHA1(f63a214dc47c5e7c80db000b0b6a261ca8da6629) )
|
||||
ROM_END
|
||||
|
||||
/*
|
||||
Rescue
|
||||
|
||||
@ -1442,8 +1173,6 @@ GAME( 1981, stratgys, stratgyx, stratgyx, stratgyx, stratgyx, ROT0, "Ko
|
||||
GAME( 1982, strongx, stratgyx, stratgyx, stratgyx, stratgyx, ROT0, "bootleg", "Strong X", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, darkplnt, 0, darkplnt, darkplnt, darkplnt, ROT180, "Stern Electronics", "Dark Planet", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, tazmani2, tazmania, type2, tazmania, tazmani2, ROT90, "Stern Electronics", "Tazz-Mania (set 2)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1983, anteateruk,anteater, anteateruk,anteateruk,scramble_ppi, ROT90, "Tago Electronics (Free Enterprise Games license)", "The Anteater (UK)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1983, anteaterg, anteater, anteaterg, anteaterg, scramble_ppi, ROT90, "Tago Electronics (TV-Tuning license from Free Enterprise Games)", "Ameisenbaer (German)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, rescue, 0, rescue, rescue, rescue, ROT90, "Stern Electronics", "Rescue", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, aponow, rescue, rescue, rescue, rescue, ROT90, "bootleg", "Apocaljpse Now", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1983, minefld, 0, minefld, minefld, minefld, ROT90, "Stern Electronics", "Minefield", GAME_SUPPORTS_SAVE )
|
||||
|
Loading…
Reference in New Issue
Block a user