// license:BSD-3-Clause // copyright-holders:Aaron Giles /*************************************************************************** Atari Food Fight hardware driver by Aaron Giles Games supported: * Food Fight Known bugs: * none at this time **************************************************************************** Memory map **************************************************************************** ======================================================================== MAIN CPU ======================================================================== 000000-00FFFF R xxxxxxxx xxxxxxxx Program ROM 014000-01BFFF R/W xxxxxxxx xxxxxxxx Program RAM 01C000-01CFFF R/W xxxxxxxx xxxxxxxx Motion object RAM (1024 entries x 2 words) R/W x------- -------- (0: Horizontal flip) R/W -x------ -------- (0: Vertical flip) R/W ---xxxxx -------- (0: Palette select) R/W -------- xxxxxxxx (0: Tile index) R/W xxxxxxxx -------- (1: X position) R/W -------- xxxxxxxx (1: Y position) 800000-8007FF R/W xxxxxxxx xxxxxxxx Playfield RAM (32x32 tiles) R/W x------- -------- (Tile index MSB) R/W --xxxxxx -------- (Palette select) R/W -------- xxxxxxxx (Tile index LSBs) 900000-9001FF R/W -------- ----xxxx NVRAM 940000-940007 R -------- xxxxxxxx Analog input read 944000-944007 W -------- -------- Analog input select 948000 R -------- xxxxxxxx Digital inputs R -------- x------- (Self test) R -------- -x------ (Player 2 throw) R -------- --x----- (Player 1 throw) R -------- ---x---- (Aux coin) R -------- ----x--- (2 player start) R -------- -----x-- (1 player start) R -------- ------x- (Right coin) R -------- -------x (Left coin) 948000 W -------- xxxxxxxx Digital outputs W -------- x------- (Right coin counter) W -------- -x------ (Left coin counter) W -------- --x----- (LED 2) W -------- ---x---- (LED 1) W -------- ----x--- (INT2 reset) W -------- -----x-- (INT1 reset) W -------- ------x- (Update) W -------- -------x (Playfield flip) 94C000 W -------- -------- Unknown 950000-9501FF W -------- xxxxxxxx Palette RAM (256 entries) W -------- xx------ (Blue) W -------- --xxx--- (Green) W -------- -----xxx (Red) 954000 W -------- -------- NVRAM recall 958000 W -------- -------- Watchdog A40000-A4001F R/W -------- xxxxxxxx POKEY 2 A80000-A8001F R/W -------- xxxxxxxx POKEY 1 AC0000-AC001F R/W -------- xxxxxxxx POKEY 3 ======================================================================== Interrupts: IRQ1 = 32V IRQ2 = VBLANK ======================================================================== ***************************************************************************/ #include "emu.h" #include "includes/foodf.h" #include "cpu/m68000/m68000.h" #include "machine/adc0808.h" #include "machine/watchdog.h" #include "sound/pokey.h" #include "speaker.h" #define MASTER_CLOCK 12.096_MHz_XTAL /************************************* * * NVRAM * *************************************/ WRITE16_MEMBER(foodf_state::nvram_recall_w) { m_nvram->recall(0); m_nvram->recall(1); m_nvram->recall(0); } /************************************* * * Interrupts * *************************************/ void foodf_state::update_interrupts() { m_maincpu->set_input_line(1, m_scanline_int_state ? ASSERT_LINE : CLEAR_LINE); m_maincpu->set_input_line(2, m_video_int_state ? ASSERT_LINE : CLEAR_LINE); m_maincpu->set_input_line(3, m_scanline_int_state && m_video_int_state ? ASSERT_LINE : CLEAR_LINE); } TIMER_DEVICE_CALLBACK_MEMBER(foodf_state::scanline_update_timer) { int scanline = param; /* WARNING: the timing of this is not perfectly accurate; it should fire on 32V (i.e., on scanlines 32, 96, 160, and 224). However, due to the interrupt structure, it cannot fire at the same time as VBLANK. I have not solved this mystery yet */ /* INT 1 is on 32V */ m_scanline_int_state = true; update_interrupts(); /* advance to the next interrupt */ scanline += 64; if (scanline > 192) scanline = 0; /* set a timer for it */ timer.adjust(m_screen->time_until_pos(scanline), scanline); } WRITE_LINE_MEMBER(foodf_state::video_int_write_line) { if (state) { m_video_int_state = true; update_interrupts(); } } void foodf_state::machine_start() { m_scanline_int_state = false; m_video_int_state = false; save_item(NAME(m_scanline_int_state)); save_item(NAME(m_video_int_state)); m_leds.resolve(); } void foodf_state::machine_reset() { m_scan_timer->adjust(m_screen->time_until_pos(0)); } /************************************* * * Digital outputs * *************************************/ WRITE8_MEMBER(foodf_state::digital_w) { foodf_set_flip(data & 0x01); m_nvram->store(data & 0x02); if (!BIT(data, 2)) { m_scanline_int_state = false; update_interrupts(); } if (!BIT(data, 3)) { m_video_int_state = false; update_interrupts(); } m_leds[0] = BIT(data, 4); m_leds[1] = BIT(data, 5); machine().bookkeeping().coin_counter_w(0, (data >> 6) & 1); machine().bookkeeping().coin_counter_w(1, (data >> 7) & 1); } /************************************* * * Main CPU memory handlers * *************************************/ // complete memory map derived from schematics void foodf_state::main_map(address_map &map) { map.unmap_value_high(); map(0x000000, 0x00ffff).mirror(0x3e0000).rom(); map(0x014000, 0x014fff).mirror(0x3e3000).ram(); map(0x018000, 0x018fff).mirror(0x3e3000).ram(); map(0x01c000, 0x01c0ff).mirror(0x3e3f00).ram().share("spriteram"); map(0x800000, 0x8007ff).mirror(0x03f800).ram().w(m_playfield_tilemap, FUNC(tilemap_device::write16)).share("playfield"); map(0x900000, 0x9001ff).mirror(0x03fe00).rw(m_nvram, FUNC(x2212_device::read), FUNC(x2212_device::write)).umask16(0x00ff); map(0x940001, 0x940001).mirror(0x023ffe).r("adc", FUNC(adc0809_device::data_r)); map(0x944000, 0x944007).mirror(0x023ff8).w("adc", FUNC(adc0809_device::address_offset_start_w)).umask16(0x00ff); map(0x948000, 0x948001).mirror(0x023ffe).portr("SYSTEM"); map(0x948001, 0x948001).mirror(0x023ffe).w(FUNC(foodf_state::digital_w)); map(0x950000, 0x9501ff).mirror(0x023e00).w(FUNC(foodf_state::foodf_paletteram_w)).share("paletteram"); map(0x954000, 0x954001).mirror(0x023ffe).w(FUNC(foodf_state::nvram_recall_w)); map(0x958000, 0x958001).mirror(0x023ffe).rw("watchdog", FUNC(watchdog_timer_device::reset16_r), FUNC(watchdog_timer_device::reset16_w)); map(0xa40000, 0xa4001f).mirror(0x03ffe0).rw("pokey2", FUNC(pokey_device::read), FUNC(pokey_device::write)).umask16(0x00ff); map(0xa80000, 0xa8001f).mirror(0x03ffe0).rw("pokey1", FUNC(pokey_device::read), FUNC(pokey_device::write)).umask16(0x00ff); map(0xac0000, 0xac001f).mirror(0x03ffe0).rw("pokey3", FUNC(pokey_device::read), FUNC(pokey_device::write)).umask16(0x00ff); } /************************************* * * Port definitions * *************************************/ static INPUT_PORTS_START( foodf ) PORT_START("STICK0_X") PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_X ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_REVERSE PORT_PLAYER(1) PORT_START("STICK1_X") PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_X ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_REVERSE PORT_COCKTAIL PORT_PLAYER(2) PORT_START("STICK0_Y") PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_Y ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_REVERSE PORT_PLAYER(1) PORT_START("STICK1_Y") PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_Y ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_REVERSE PORT_COCKTAIL PORT_PLAYER(2) PORT_START("SYSTEM") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START2 ) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) PORT_START("DSW") /* SW1 */ PORT_DIPNAME( 0x07, 0x00, "Bonus Coins" ) PORT_DIPLOCATION("SW1:8,7,6") PORT_DIPSETTING( 0x00, DEF_STR( None ) ) PORT_DIPSETTING( 0x05, "1 for every 2" ) PORT_DIPSETTING( 0x02, "1 for every 4" ) PORT_DIPSETTING( 0x01, "1 for every 5" ) PORT_DIPSETTING( 0x06, "2 for every 4" ) PORT_DIPNAME( 0x08, 0x00, DEF_STR( Coin_A )) PORT_DIPLOCATION("SW1:5") PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C )) PORT_DIPSETTING( 0x08, DEF_STR( 1C_2C )) PORT_DIPNAME( 0x30, 0x00, DEF_STR( Coin_B )) PORT_DIPLOCATION("SW1:4,3") PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C )) PORT_DIPSETTING( 0x20, DEF_STR( 1C_4C )) PORT_DIPSETTING( 0x10, DEF_STR( 1C_5C )) PORT_DIPSETTING( 0x30, DEF_STR( 1C_6C )) PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coinage )) PORT_DIPLOCATION("SW1:2,1") PORT_DIPSETTING( 0x80, DEF_STR( 2C_1C )) PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C )) PORT_DIPSETTING( 0xc0, DEF_STR( 1C_2C )) PORT_DIPSETTING( 0x40, DEF_STR( Free_Play )) INPUT_PORTS_END /************************************* * * Graphics definitions * *************************************/ static const gfx_layout charlayout = { 8,8, RGN_FRAC(1,1), 2, { 0, 4 }, { STEP4(8*8,1), STEP4(0,1) }, { STEP8(0,8) }, 8*16 }; static const gfx_layout spritelayout = { 16,16, RGN_FRAC(1,2), 2, { RGN_FRAC(1,2), 0 }, { STEP8(8*16,1), STEP8(0,1) }, { STEP16(0,8) }, 8*32 }; static GFXDECODE_START( gfx_foodf ) GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 64 ) GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 0, 32 ) GFXDECODE_END /************************************* * * Sound definitions * *************************************/ READ8_MEMBER(foodf_state::pot_r) { return (ioport("DSW")->read() >> offset) << 7; } /************************************* * * Machine driver * *************************************/ void foodf_state::foodf(machine_config &config) { /* basic machine hardware */ M68000(config, m_maincpu, MASTER_CLOCK/2); m_maincpu->set_addrmap(AS_PROGRAM, &foodf_state::main_map); adc0809_device &adc(ADC0809(config, "adc", MASTER_CLOCK/16)); adc.in_callback<0>().set_ioport("STICK1_Y"); adc.in_callback<1>().set_ioport("STICK0_Y"); adc.in_callback<2>().set_ioport("STICK1_X"); adc.in_callback<3>().set_ioport("STICK0_X"); X2212(config, "nvram").set_auto_save(true); WATCHDOG_TIMER(config, "watchdog").set_vblank_count(m_screen, 8); TIMER(config, m_scan_timer).configure_generic(FUNC(foodf_state::scanline_update_timer)); /* video hardware */ GFXDECODE(config, m_gfxdecode, m_palette, gfx_foodf); PALETTE(config, m_palette).set_entries(256); TILEMAP(config, m_playfield_tilemap, "gfxdecode", 2, 8,8, TILEMAP_SCAN_COLS, 32,32, 0).set_info_callback(FUNC(foodf_state::get_playfield_tile_info)); SCREEN(config, m_screen, SCREEN_TYPE_RASTER); m_screen->set_raw(MASTER_CLOCK/2, 384, 0, 256, 259, 0, 224); m_screen->set_screen_update(FUNC(foodf_state::screen_update_foodf)); m_screen->set_palette(m_palette); m_screen->screen_vblank().set(FUNC(foodf_state::video_int_write_line)); /* sound hardware */ SPEAKER(config, "mono").front_center(); pokey_device &pokey1(POKEY(config, "pokey1", MASTER_CLOCK/2/10)); pokey1.pot_r<0>().set(FUNC(foodf_state::pot_r)); pokey1.pot_r<1>().set(FUNC(foodf_state::pot_r)); pokey1.pot_r<2>().set(FUNC(foodf_state::pot_r)); pokey1.pot_r<3>().set(FUNC(foodf_state::pot_r)); pokey1.pot_r<4>().set(FUNC(foodf_state::pot_r)); pokey1.pot_r<5>().set(FUNC(foodf_state::pot_r)); pokey1.pot_r<6>().set(FUNC(foodf_state::pot_r)); pokey1.pot_r<7>().set(FUNC(foodf_state::pot_r)); pokey1.add_route(ALL_OUTPUTS, "mono", 0.33); pokey_device &pokey2(POKEY(config, "pokey2", MASTER_CLOCK/2/10)); pokey2.add_route(ALL_OUTPUTS, "mono", 0.33); pokey_device &pokey3(POKEY(config, "pokey3", MASTER_CLOCK/2/10)); pokey3.add_route(ALL_OUTPUTS, "mono", 0.33); MACHINE_CONFIG_END /************************************* * * ROM definition(s) * *************************************/ ROM_START( foodf ) ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for 68000 code */ ROM_LOAD16_BYTE( "136020-301.8c", 0x000001, 0x002000, CRC(dfc3d5a8) SHA1(7abe5e9c27098bd8c93cc06f1b9e3db0744019e9) ) ROM_LOAD16_BYTE( "136020-302.9c", 0x000000, 0x002000, CRC(ef92dc5c) SHA1(eb41291615165f549a68ebc6d4664edef1a04ac5) ) ROM_LOAD16_BYTE( "136020-303.8d", 0x004001, 0x002000, CRC(64b93076) SHA1(efa4090d96aa0ffd4192a045f174ac5960810bca) ) ROM_LOAD16_BYTE( "136020-204.9d", 0x004000, 0x002000, CRC(ea596480) SHA1(752aa33a8e8045650dd32ec7c7026e00d7896e0f) ) /* rev 2xx is correct for this rom */ ROM_LOAD16_BYTE( "136020-305.8e", 0x008001, 0x002000, CRC(e6cff1b1) SHA1(7c7ad2dcdff60fc092e8a825c5a6de6b506523de) ) ROM_LOAD16_BYTE( "136020-306.9e", 0x008000, 0x002000, CRC(95159a3e) SHA1(f180126671776f62242ec9fd4a82a581c551ffce) ) ROM_LOAD16_BYTE( "136020-307.8f", 0x00c001, 0x002000, CRC(17828dbb) SHA1(9d8e29a5e56a8a9c5db8561e4c20ff22f69b46ca) ) ROM_LOAD16_BYTE( "136020-208.9f", 0x00c000, 0x002000, CRC(608690c9) SHA1(419020c69ce6fded0d9af44ead8ec4727468d58b) ) /* rev 2xx is correct for this rom */ ROM_REGION( 0x2000, "gfx1", 0 ) ROM_LOAD( "136020-109.6lm", 0x000000, 0x002000, CRC(c13c90eb) SHA1(ebd2bbbdd7e184851d1ab4b5648481d966c78cc2) ) ROM_REGION( 0x4000, "gfx2", 0 ) ROM_LOAD( "136020-110.4e", 0x000000, 0x002000, CRC(8870e3d6) SHA1(702007d3d543f872b5bf5d00b49f6e05b46d6600) ) /* Actual PCB locations! WARNING: Original Atari manuals */ ROM_LOAD( "136020-111.4d", 0x002000, 0x002000, CRC(84372edf) SHA1(9beef3ff3b28405c45d691adfbc233921073be47) ) /* incorrectly have these two listed in reverse locations. */ ROM_REGION( 0x100, "proms", 0 ) ROM_LOAD( "136020-112.2p", 0x000000, 0x000100, CRC(0aa962d6) SHA1(efb51e4c95efb1b85206c416c1d6d35c6f4ff35c) ) ROM_REGION( 0x100, "nvram", 0 ) // default initialized nvram ROM_LOAD( "foodf.nv", 0x000000, 0x000100, CRC(a4186b13) SHA1(7633ceb6f61403a46e36cc2172839e6c3f31bac2) ) ROM_END ROM_START( foodf2 ) ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for 68000 code */ ROM_LOAD16_BYTE( "136020-201.8c", 0x000001, 0x002000, CRC(4ee52d73) SHA1(ff4ab8169a9b260bbd1f49023a30064e2f0b6686) ) ROM_LOAD16_BYTE( "136020-202.9c", 0x000000, 0x002000, CRC(f8c4b977) SHA1(824d33baa413b2ee898c75157624ea007c92032f) ) ROM_LOAD16_BYTE( "136020-203.8d", 0x004001, 0x002000, CRC(0e9f99a3) SHA1(37bba66957ee19e7d05fcc3e4583e909809075ed) ) ROM_LOAD16_BYTE( "136020-104.9d", 0x004000, 0x002000, CRC(f667374c) SHA1(d7be70b56500e2071b7f8c810f7a3e2a6743c6bd) ) /* rev 1xx is correct for this rom */ ROM_LOAD16_BYTE( "136020-205.8e", 0x008001, 0x002000, CRC(1edd05b5) SHA1(cc712a11946c103eaa808c86e15676fde8610ad9) ) ROM_LOAD16_BYTE( "136020-206.9e", 0x008000, 0x002000, CRC(bb8926b3) SHA1(95c6ba8ac6b56d1a67a47758b71712d55a959cd0) ) ROM_LOAD16_BYTE( "136020-207.8f", 0x00c001, 0x002000, CRC(c7383902) SHA1(f76e2c95fccd0cafff9346a32e0c041c291a6696) ) ROM_LOAD16_BYTE( "136020-208.9f", 0x00c000, 0x002000, CRC(608690c9) SHA1(419020c69ce6fded0d9af44ead8ec4727468d58b) ) ROM_REGION( 0x2000, "gfx1", 0 ) ROM_LOAD( "136020-109.6lm", 0x000000, 0x002000, CRC(c13c90eb) SHA1(ebd2bbbdd7e184851d1ab4b5648481d966c78cc2) ) ROM_REGION( 0x4000, "gfx2", 0 ) ROM_LOAD( "136020-110.4e", 0x000000, 0x002000, CRC(8870e3d6) SHA1(702007d3d543f872b5bf5d00b49f6e05b46d6600) ) /* Actual PCB locations! WARNING: Original Atari manuals */ ROM_LOAD( "136020-111.4d", 0x002000, 0x002000, CRC(84372edf) SHA1(9beef3ff3b28405c45d691adfbc233921073be47) ) /* incorrectly have these two listed in reverse locations. */ ROM_REGION( 0x100, "proms", 0 ) ROM_LOAD( "136020-112.2p", 0x000000, 0x000100, CRC(0aa962d6) SHA1(efb51e4c95efb1b85206c416c1d6d35c6f4ff35c) ) ROM_REGION( 0x100, "nvram", 0 ) // default initialized nvram ROM_LOAD( "foodf.nv", 0x000000, 0x000100, CRC(a4186b13) SHA1(7633ceb6f61403a46e36cc2172839e6c3f31bac2) ) ROM_END ROM_START( foodf1 ) ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for 68000 code */ ROM_LOAD16_BYTE( "136020-101.8c", 0x000001, 0x002000, CRC(06d0ede0) SHA1(2bc6bef433abcaba8181b76dfa90e45a35b04ada) ) ROM_LOAD16_BYTE( "136020-102.9c", 0x000000, 0x002000, CRC(ca6390a4) SHA1(b5a355f7900e96eaeb6946de6d10bfc842ce23d1) ) ROM_LOAD16_BYTE( "136020-103.8d", 0x004001, 0x002000, CRC(36e89e89) SHA1(2a71650d71ca8b8e16fdff158e6c8265b9bf8625) ) ROM_LOAD16_BYTE( "136020-104.9d", 0x004000, 0x002000, CRC(f667374c) SHA1(d7be70b56500e2071b7f8c810f7a3e2a6743c6bd) ) ROM_LOAD16_BYTE( "136020-105.8e", 0x008001, 0x002000, CRC(a8c22e50) SHA1(7c18f58c0b4769fd8b91e134b812d0df0e4b5c13) ) ROM_LOAD16_BYTE( "136020-106.9e", 0x008000, 0x002000, CRC(13e013c4) SHA1(2c35261a129c0cd29dcf396067cc3239af71411e) ) ROM_LOAD16_BYTE( "136020-107.8f", 0x00c001, 0x002000, CRC(8a3f7ca4) SHA1(7196ebe15a35511276c32111fc69a207bbc7837f) ) ROM_LOAD16_BYTE( "136020-108.9f", 0x00c000, 0x002000, CRC(d4244e12) SHA1(f8963c1e170471f5c132005b96fed80bc26f2574) ) ROM_REGION( 0x2000, "gfx1", 0 ) ROM_LOAD( "136020-109.6lm", 0x000000, 0x002000, CRC(c13c90eb) SHA1(ebd2bbbdd7e184851d1ab4b5648481d966c78cc2) ) ROM_REGION( 0x4000, "gfx2", 0 ) ROM_LOAD( "136020-110.4e", 0x000000, 0x002000, CRC(8870e3d6) SHA1(702007d3d543f872b5bf5d00b49f6e05b46d6600) ) ROM_LOAD( "136020-111.4d", 0x002000, 0x002000, CRC(84372edf) SHA1(9beef3ff3b28405c45d691adfbc233921073be47) ) ROM_REGION( 0x100, "proms", 0 ) ROM_LOAD( "136020-112.2p", 0x000000, 0x000100, CRC(0aa962d6) SHA1(efb51e4c95efb1b85206c416c1d6d35c6f4ff35c) ) ROM_REGION( 0x100, "nvram", 0 ) // default initialized nvram ROM_LOAD( "foodf.nv", 0x000000, 0x000100, CRC(a4186b13) SHA1(7633ceb6f61403a46e36cc2172839e6c3f31bac2) ) ROM_END ROM_START( foodfc ) ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for 68000 code */ ROM_LOAD16_BYTE( "136020-113.8c", 0x000001, 0x002000, CRC(193a299f) SHA1(58bbf714eff22d8a47b174e4b121f14a8dcb4ef9) ) ROM_LOAD16_BYTE( "136020-114.9c", 0x000000, 0x002000, CRC(33ed6bbe) SHA1(5d80fb092d2964b851e6c5982572d4ffc5078c55) ) ROM_LOAD16_BYTE( "136020-115.8d", 0x004001, 0x002000, CRC(64b93076) SHA1(efa4090d96aa0ffd4192a045f174ac5960810bca) ) ROM_LOAD16_BYTE( "136020-116.9d", 0x004000, 0x002000, CRC(ea596480) SHA1(752aa33a8e8045650dd32ec7c7026e00d7896e0f) ) ROM_LOAD16_BYTE( "136020-117.8e", 0x008001, 0x002000, CRC(12a55db6) SHA1(508f02c72074a0e3300ec32c181e4f72cbc4245f) ) ROM_LOAD16_BYTE( "136020-118.9e", 0x008000, 0x002000, CRC(e6d451d4) SHA1(03bfa932ed419572c08942ad159288b38d24d90f) ) ROM_LOAD16_BYTE( "136020-119.8f", 0x00c001, 0x002000, CRC(455cc891) SHA1(9f7764c15dea7568326860b910686fec644c42c2) ) ROM_LOAD16_BYTE( "136020-120.9f", 0x00c000, 0x002000, CRC(34173910) SHA1(19e6032c22d20410386516ffc1a809ae50431c65) ) ROM_REGION( 0x2000, "gfx1", 0 ) ROM_LOAD( "136020-109.6lm", 0x000000, 0x002000, CRC(c13c90eb) SHA1(ebd2bbbdd7e184851d1ab4b5648481d966c78cc2) ) ROM_REGION( 0x4000, "gfx2", 0 ) ROM_LOAD( "136020-110.4e", 0x000000, 0x002000, CRC(8870e3d6) SHA1(702007d3d543f872b5bf5d00b49f6e05b46d6600) ) /* Actual PCB locations! WARNING: Original Atari manuals */ ROM_LOAD( "136020-111.4d", 0x002000, 0x002000, CRC(84372edf) SHA1(9beef3ff3b28405c45d691adfbc233921073be47) ) /* incorrectly have these two listed in reverse locations. */ ROM_REGION( 0x100, "proms", 0 ) ROM_LOAD( "136020-112.2p", 0x000000, 0x000100, CRC(0aa962d6) SHA1(efb51e4c95efb1b85206c416c1d6d35c6f4ff35c) ) ROM_REGION( 0x100, "nvram", 0 ) // default initialized nvram, differs from the other sets ROM_LOAD( "foodfc.nv", 0x000000, 0x000100, CRC(c1385dab) SHA1(52f4dc772e5da0f7c9bcef6c6ef3a655dcd3d59d) ) ROM_END /************************************* * * Game driver(s) * *************************************/ GAME( 1982, foodf, 0, foodf, foodf, foodf_state, empty_init, ROT0, "General Computer Corporation (Atari license)", "Food Fight (rev 3)", MACHINE_SUPPORTS_SAVE ) GAME( 1982, foodf2, foodf, foodf, foodf, foodf_state, empty_init, ROT0, "General Computer Corporation (Atari license)", "Food Fight (rev 2)", MACHINE_SUPPORTS_SAVE ) GAME( 1982, foodf1, foodf, foodf, foodf, foodf_state, empty_init, ROT0, "General Computer Corporation (Atari license)", "Food Fight (rev 1)", MACHINE_SUPPORTS_SAVE ) GAME( 1982, foodfc, foodf, foodf, foodf, foodf_state, empty_init, ROT0, "General Computer Corporation (Atari license)", "Food Fight (cocktail)", MACHINE_SUPPORTS_SAVE )