From 175154ad1483e668d71c35e05c3cab6ebe081cfc Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Mon, 6 Jul 2020 16:55:30 +0200 Subject: tigeroad.cpp: enabled save state support, minor cleanups (nw) --- src/mame/drivers/tigeroad.cpp | 353 +++++++++++++++++++++--------------------- src/mame/includes/tigeroad.h | 88 ++++++----- src/mame/machine/tigeroad.cpp | 12 +- src/mame/video/tigeroad.cpp | 66 ++++---- 4 files changed, 260 insertions(+), 259 deletions(-) diff --git a/src/mame/drivers/tigeroad.cpp b/src/mame/drivers/tigeroad.cpp index 428da5cfd63..1c8292e94fc 100644 --- a/src/mame/drivers/tigeroad.cpp +++ b/src/mame/drivers/tigeroad.cpp @@ -53,19 +53,12 @@ single plane board. #include "emu.h" #include "includes/tigeroad.h" +#include "machine/gen_latch.h" #include "screen.h" #include "speaker.h" - -void tigeroad_state::tigeroad_soundcmd_w(offs_t offset, uint16_t data, uint16_t mem_mask) -{ - if (ACCESSING_BITS_8_15) - m_soundlatch->write(data >> 8); -} - - -void tigeroad_state::msm5205_w(uint8_t data) +void tigeroad_state::msm5205_w(u8 data) { m_msm->reset_w(BIT(data, 7)); m_msm->data_w(data); @@ -73,7 +66,7 @@ void tigeroad_state::msm5205_w(uint8_t data) m_msm->vclk_w(0); } -void f1dream_state::out3_w(uint8_t data) +void f1dream_state::out3_w(u8 data) { if ((m_old_p3 & 0x20) != (data & 0x20)) { @@ -92,7 +85,7 @@ void f1dream_state::out3_w(uint8_t data) m_old_p3 = data; } -void f1dream_state::blktiger_to_mcu_w(uint16_t data) +void f1dream_state::to_mcu_w(u16 data) { m_mcu->set_input_line(MCS51_INT0_LINE, HOLD_LINE); @@ -110,26 +103,28 @@ void tigeroad_state::main_map(address_map &map) map(0x000000, 0x03ffff).rom(); map(0xfe0800, 0xfe0cff).ram().share("spriteram"); - map(0xfe0d00, 0xfe1807).ram(); /* still part of OBJ RAM */ - map(0xfe4000, 0xfe4001).portr("P1_P2").w(FUNC(tigeroad_state::tigeroad_videoctrl_w)); /* char bank, coin counters, + ? */ - map(0xfe4002, 0xfe4003).portr("SYSTEM").w(FUNC(tigeroad_state::tigeroad_soundcmd_w)); /* .w(FUNC(tigeroad_state::tigeroad_soundcmd_w)); is replaced in init for for f1dream protection */ + map(0xfe0d00, 0xfe1807).ram(); // still part of OBJ RAM + map(0xfe4000, 0xfe4001).portr("P1_P2"); + map(0xfe4000, 0xfe4000).w(FUNC(tigeroad_state::videoctrl_w)); // char bank, coin counters, + ? + map(0xfe4002, 0xfe4003).portr("SYSTEM"); + map(0xfe4002, 0xfe4002).w("soundlatch", FUNC(generic_latch_8_device::write)); map(0xfe4004, 0xfe4005).portr("DSW"); - map(0xfe8000, 0xfe8003).w(FUNC(tigeroad_state::tigeroad_scroll_w)); - map(0xfe800e, 0xfe800f).writeonly(); /* fe800e = watchdog or IRQ acknowledge */ - map(0xfec000, 0xfec7ff).ram().w(FUNC(tigeroad_state::tigeroad_videoram_w)).share("videoram"); + map(0xfe8000, 0xfe8003).w(FUNC(tigeroad_state::scroll_w)); + map(0xfe800e, 0xfe800f).writeonly(); // fe800e = watchdog or IRQ acknowledge + map(0xfec000, 0xfec7ff).ram().w(FUNC(tigeroad_state::videoram_w)).share("videoram"); map(0xff8000, 0xff87ff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette"); map(0xffc000, 0xffffff).ram().share("ram16"); } -uint8_t f1dream_state::mcu_shared_r(offs_t offset) +u8 f1dream_state::mcu_shared_r(offs_t offset) { - uint8_t ret = m_ram16[(0x3fe0 / 2) + offset]; + u8 ret = m_ram16[(0x3fe0 / 2) + offset]; return ret; } -void f1dream_state::mcu_shared_w(offs_t offset, uint8_t data) +void f1dream_state::mcu_shared_w(offs_t offset, u8 data) { m_ram16[(0x3fe0 / 2) + offset] = (m_ram16[(0x3fe0 / 2) + offset] & 0xff00) | data; } @@ -137,7 +132,7 @@ void f1dream_state::mcu_shared_w(offs_t offset, uint8_t data) void f1dream_state::f1dream_map(address_map &map) { main_map(map); - map(0xfe4002, 0xfe4003).portr("SYSTEM").w(FUNC(f1dream_state::blktiger_to_mcu_w)); + map(0xfe4002, 0xfe4003).portr("SYSTEM").w(FUNC(f1dream_state::to_mcu_w)); } void f1dream_state::f1dream_mcu_io(address_map &map) @@ -162,25 +157,27 @@ void pushman_state::bballs_map(address_map &map) map(0x60000, 0x60001).w(FUNC(pushman_state::bballs_mcu_comm_w)); // are these mirror addresses or does this PCB have a different addressing? map(0xe0800, 0xe17ff).ram().share("spriteram"); - map(0xe4000, 0xe4001).portr("P1_P2").w(FUNC(pushman_state::tigeroad_videoctrl_w)); - map(0xe4002, 0xe4003).portr("SYSTEM").w(FUNC(pushman_state::tigeroad_soundcmd_w)); + map(0xe4000, 0xe4001).portr("P1_P2"); + map(0xe4000, 0xe4000).w(FUNC(pushman_state::videoctrl_w)); + map(0xe4002, 0xe4003).portr("SYSTEM"); + map(0xe4002, 0xe4002).w("soundlatch", FUNC(generic_latch_8_device::write)); map(0xe4004, 0xe4005).portr("DSW"); - map(0xe8000, 0xe8003).w(FUNC(pushman_state::tigeroad_scroll_w)); - map(0xe800e, 0xe800f).nopw(); /* ? */ - map(0xec000, 0xec7ff).ram().w(FUNC(pushman_state::tigeroad_videoram_w)).share("videoram"); + map(0xe8000, 0xe8003).w(FUNC(pushman_state::scroll_w)); + map(0xe800e, 0xe800f).nopw(); // ? + map(0xec000, 0xec7ff).ram().w(FUNC(pushman_state::videoram_w)).share("videoram"); map(0xf8000, 0xf87ff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette"); map(0xfc000, 0xfffff).ram().share("ram16"); } -/* Capcom games ONLY */ +// Capcom games ONLY void tigeroad_state::sound_map(address_map &map) { map(0x0000, 0x7fff).rom(); map(0x8000, 0x8001).rw("ym1", FUNC(ym2203_device::read), FUNC(ym2203_device::write)); map(0xa000, 0xa001).rw("ym2", FUNC(ym2203_device::read), FUNC(ym2203_device::write)); map(0xc000, 0xc7ff).ram(); - map(0xe000, 0xe000).r(m_soundlatch, FUNC(generic_latch_8_device::read)); + map(0xe000, 0xe000).r("soundlatch", FUNC(generic_latch_8_device::read)); } void tigeroad_state::sound_port_map(address_map &map) @@ -189,7 +186,7 @@ void tigeroad_state::sound_port_map(address_map &map) map(0x7f, 0x7f).w("soundlatch2", FUNC(generic_latch_8_device::write)); } -/* toramich ONLY */ +// toramich ONLY void tigeroad_state::sample_map(address_map &map) { map(0x0000, 0xffff).rom(); @@ -202,12 +199,12 @@ void tigeroad_state::sample_port_map(address_map &map) map(0x01, 0x01).w(FUNC(tigeroad_state::msm5205_w)); } -/* Pushman / Bouncing Balls */ +// Pushman / Bouncing Balls void tigeroad_state::comad_sound_map(address_map &map) { map(0x0000, 0x7fff).rom(); map(0xc000, 0xc7ff).ram(); - map(0xe000, 0xe000).r(m_soundlatch, FUNC(generic_latch_8_device::read)); + map(0xe000, 0xe000).r("soundlatch", FUNC(generic_latch_8_device::read)); } void tigeroad_state::comad_sound_io_map(address_map &map) @@ -473,7 +470,7 @@ static INPUT_PORTS_START( pushman ) PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_START2 ) - PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") /* not sure, probably wrong */ + PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") // not sure, probably wrong PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_SERVICE1 ) @@ -481,7 +478,7 @@ static INPUT_PORTS_START( pushman ) PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_START("DSW") - PORT_DIPNAME( 0x0001, 0x0001, "Debug Mode (Cheat)") PORT_DIPLOCATION("SW1:1") /* Listed as "Screen Skip" */ + PORT_DIPNAME( 0x0001, 0x0001, "Debug Mode (Cheat)") PORT_DIPLOCATION("SW1:1") // Listed as "Screen Skip" PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPNAME( 0x0002, 0x0002, "Pull Option" ) PORT_DIPLOCATION("SW1:2") @@ -540,7 +537,7 @@ static INPUT_PORTS_START( bballs ) PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_START2 ) - PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") /* not sure, probably wrong */ + PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") // not sure, probably wrong PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_SERVICE1 ) @@ -621,26 +618,26 @@ GFXDECODE_END void tigeroad_state::tigeroad(machine_config &config) { - /* basic machine hardware */ - M68000(config, m_maincpu, XTAL(10'000'000)); /* verified on pcb */ + // basic machine hardware + M68000(config, m_maincpu, XTAL(10'000'000)); // verified on pcb m_maincpu->set_addrmap(AS_PROGRAM, &tigeroad_state::main_map); m_maincpu->set_vblank_int("screen", FUNC(tigeroad_state::irq2_line_hold)); - Z80(config, m_audiocpu, XTAL(3'579'545)); /* verified on pcb */ + Z80(config, m_audiocpu, XTAL(3'579'545)); // verified on pcb m_audiocpu->set_addrmap(AS_PROGRAM, &tigeroad_state::sound_map); m_audiocpu->set_addrmap(AS_IO, &tigeroad_state::sound_port_map); - /* IRQs are triggered by the YM2203 */ + // IRQs are triggered by the YM2203 - /* video hardware */ + // video hardware BUFFERED_SPRITERAM16(config, "spriteram"); screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER)); - screen.set_refresh_hz(60.08); /* verified on pcb */ + screen.set_refresh_hz(60.08); // verified on pcb screen.set_vblank_time(ATTOSECONDS_IN_USEC(0)); screen.set_size(32*8, 32*8); screen.set_visarea(0*8, 32*8-1, 2*8, 30*8-1); - screen.set_screen_update(FUNC(tigeroad_state::screen_update_tigeroad)); + screen.set_screen_update(FUNC(tigeroad_state::screen_update)); screen.screen_vblank().set("spriteram", FUNC(buffered_spriteram16_device::vblank_copy_rising)); screen.set_palette(m_palette); @@ -652,20 +649,24 @@ void tigeroad_state::tigeroad(machine_config &config) PALETTE(config, m_palette).set_format(palette_device::xRGB_444, 1024); - /* sound hardware */ + // sound hardware SPEAKER(config, "mono").front_center(); - GENERIC_LATCH_8(config, m_soundlatch); + GENERIC_LATCH_8(config, "soundlatch"); GENERIC_LATCH_8(config, "soundlatch2"); - ym2203_device &ym1(YM2203(config, "ym1", XTAL(3'579'545))); /* verified on pcb */ - ym1.irq_handler().set_inputline("audiocpu", 0); + ym2203_device &ym1(YM2203(config, "ym1", XTAL(3'579'545))); // verified on pcb + ym1.irq_handler().set_inputline(m_audiocpu, 0); ym1.add_route(ALL_OUTPUTS, "mono", 0.25); - ym2203_device &ym2(YM2203(config, "ym2", XTAL(3'579'545))); /* verified on pcb */ + ym2203_device &ym2(YM2203(config, "ym2", XTAL(3'579'545))); // verified on pcb ym2.add_route(ALL_OUTPUTS, "mono", 0.25); } +void f1dream_state::machine_start() +{ + save_item(NAME(m_old_p3)); +} void f1dream_state::f1dream(machine_config &config) { @@ -673,33 +674,33 @@ void f1dream_state::f1dream(machine_config &config) m_maincpu->set_addrmap(AS_PROGRAM, &f1dream_state::f1dream_map); - I8751(config, m_mcu, XTAL(10'000'000)); /* ??? */ + I8751(config, m_mcu, XTAL(10'000'000)); // ??? m_mcu->set_addrmap(AS_IO, &f1dream_state::f1dream_mcu_io); - m_mcu->port_out_cb<1>().set(m_soundlatch, FUNC(generic_latch_8_device::write)); + m_mcu->port_out_cb<1>().set("soundlatch", FUNC(generic_latch_8_device::write)); m_mcu->port_out_cb<3>().set(FUNC(f1dream_state::out3_w)); } -/* same as above but with additional Z80 for samples playback */ +// same as above but with additional Z80 for samples playback void tigeroad_state::toramich(machine_config &config) { tigeroad(config); - /* basic machine hardware */ + // basic machine hardware - z80_device &sample(Z80(config, "sample", 3579545)); /* ? */ + z80_device &sample(Z80(config, "sample", 3579545)); // ? sample.set_addrmap(AS_PROGRAM, &tigeroad_state::sample_map); sample.set_addrmap(AS_IO, &tigeroad_state::sample_port_map); - sample.set_periodic_int(FUNC(tigeroad_state::irq0_line_hold), attotime::from_hz(4000)); /* ? */ + sample.set_periodic_int(FUNC(tigeroad_state::irq0_line_hold), attotime::from_hz(4000)); // ? - /* sound hardware */ + // sound hardware MSM5205(config, m_msm, 384000); - m_msm->set_prescaler_selector(msm5205_device::SEX_4B); /* 4KHz playback ? */ + m_msm->set_prescaler_selector(msm5205_device::SEX_4B); // 4KHz playback ? m_msm->add_route(ALL_OUTPUTS, "mono", 1.0); } void tigeroad_state::f1dream_comad(machine_config &config) { - /* basic machine hardware */ + // basic machine hardware M68000(config, m_maincpu, 8000000); m_maincpu->set_addrmap(AS_PROGRAM, &tigeroad_state::main_map); m_maincpu->set_vblank_int("screen", FUNC(tigeroad_state::irq2_line_hold)); @@ -710,15 +711,15 @@ void tigeroad_state::f1dream_comad(machine_config &config) config.set_maximum_quantum(attotime::from_hz(3600)); - /* video hardware */ + // video hardware BUFFERED_SPRITERAM16(config, "spriteram"); screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER)); - screen.set_refresh_hz(60.08); /* verified on pcb */ - screen.set_vblank_time(ATTOSECONDS_IN_USEC(2500)); /* not accurate */ + screen.set_refresh_hz(60.08); // verified on pcb + screen.set_vblank_time(ATTOSECONDS_IN_USEC(2500)); // not accurate screen.set_size(32*8, 32*8); screen.set_visarea(0*8, 32*8-1, 2*8, 30*8-1); - screen.set_screen_update(FUNC(tigeroad_state::screen_update_tigeroad)); + screen.set_screen_update(FUNC(tigeroad_state::screen_update)); screen.screen_vblank().set("spriteram", FUNC(buffered_spriteram16_device::vblank_copy_rising)); screen.set_palette(m_palette); @@ -730,10 +731,10 @@ void tigeroad_state::f1dream_comad(machine_config &config) PALETTE(config, m_palette).set_format(palette_device::xRGB_444, 1024); - /* sound hardware */ + // sound hardware SPEAKER(config, "mono").front_center(); - GENERIC_LATCH_8(config, m_soundlatch); + GENERIC_LATCH_8(config, "soundlatch"); ym2203_device &ym1(YM2203(config, "ym1", 2000000)); ym1.irq_handler().set_inputline("audiocpu", 0); @@ -759,7 +760,7 @@ void pushman_state::pushman(machine_config &config) f1dream_comad(config); m_maincpu->set_addrmap(AS_PROGRAM, &pushman_state::pushman_map); - M68705R3(config, m_mcu, 4000000); /* No idea */ + M68705R3(config, m_mcu, 4000000); // No idea m_mcu->porta_w().set(FUNC(pushman_state::mcu_pa_w)); m_mcu->portb_w().set(FUNC(pushman_state::mcu_pb_w)); m_mcu->portc_w().set(FUNC(pushman_state::mcu_pc_w)); @@ -779,138 +780,138 @@ void pushman_state::bballs(machine_config &config) ***************************************************************************/ -ROM_START( tigeroad ) /* N86614A-5 + N86614B-6 board combo - ECT program roms */ - ROM_REGION( 0x40000, "maincpu", 0 ) /* 256K for 68000 code */ - ROM_LOAD16_BYTE( "tre_02.6j", 0x00000, 0x20000, CRC(c394add0) SHA1(f71cceca92ed7d2211f508df9ddfa97e0dd28d11) ) /* Blue ink underline */ - ROM_LOAD16_BYTE( "tre_04.6k", 0x00001, 0x20000, CRC(73bfbf4a) SHA1(821af477953f7a64f4f1b09e8978fb2bce4138ff) ) /* Blue ink underline */ +ROM_START( tigeroad ) // N86614A-5 + N86614B-6 board combo - ECT program roms + ROM_REGION( 0x40000, "maincpu", 0 ) // 256K for 68000 code + ROM_LOAD16_BYTE( "tre_02.6j", 0x00000, 0x20000, CRC(c394add0) SHA1(f71cceca92ed7d2211f508df9ddfa97e0dd28d11) ) // Blue ink underline + ROM_LOAD16_BYTE( "tre_04.6k", 0x00001, 0x20000, CRC(73bfbf4a) SHA1(821af477953f7a64f4f1b09e8978fb2bce4138ff) ) // Blue ink underline - ROM_REGION( 0x10000, "audiocpu", 0 ) /* audio CPU */ - ROM_LOAD( "tru_05.12k", 0x0000, 0x8000, CRC(f9a7c9bf) SHA1(4d37c71aa6523ac21c6e8b23f9957e75ec4304bf) ) /* Red ink underline */ + ROM_REGION( 0x10000, "audiocpu", 0 ) + ROM_LOAD( "tru_05.12k", 0x0000, 0x8000, CRC(f9a7c9bf) SHA1(4d37c71aa6523ac21c6e8b23f9957e75ec4304bf) ) // Red ink underline - /* i8751 microcontroller not populated */ + // i8751 microcontroller not populated - /* no samples player in the English version */ + // no samples player in the English version ROM_REGION( 0x008000, "text", 0 ) - ROM_LOAD( "tr_01.10d", 0x00000, 0x08000, CRC(74a9f08c) SHA1(458958c8d9a2af5df88bb24c9c5bcbd37d6856bc) ) /* 8x8 text */ + ROM_LOAD( "tr_01.10d", 0x00000, 0x08000, CRC(74a9f08c) SHA1(458958c8d9a2af5df88bb24c9c5bcbd37d6856bc) ) // 8x8 text ROM_REGION( 0x100000, "tiles", 0 ) - ROM_LOAD( "tr-01a.3f", 0x00000, 0x20000, CRC(a8aa2e59) SHA1(792f50d688a4ffb574e41257816bc304d41f0458) ) /* tiles */ + ROM_LOAD( "tr-01a.3f", 0x00000, 0x20000, CRC(a8aa2e59) SHA1(792f50d688a4ffb574e41257816bc304d41f0458) ) ROM_LOAD( "tr-04a.3h", 0x20000, 0x20000, CRC(8863a63c) SHA1(11bfce5b09c5b8a781c658f035d5658c3710d189) ) ROM_LOAD( "tr-02a.3j", 0x40000, 0x20000, CRC(1a2c5f89) SHA1(2a2aa2f1e2a0cdd4bbdb25236e49c7cc573db9e9) ) ROM_LOAD( "tr-05.3l", 0x60000, 0x20000, CRC(5bf453b3) SHA1(5eef151974c6b818a17756549d24a702e1f3a859) ) ROM_LOAD( "tr-03a.2f", 0x80000, 0x20000, CRC(1e0537ea) SHA1(bc65f7104d5f7728b68b3dcb45151c41fc30aa0d) ) ROM_LOAD( "tr-06a.2h", 0xa0000, 0x20000, CRC(b636c23a) SHA1(417e289745996bd00114df6ade591e702265d3a5) ) ROM_LOAD( "tr-07a.2j", 0xc0000, 0x20000, CRC(5f907d4d) SHA1(1820c5c6e0b078db9c64655c7983ea115ad81036) ) - ROM_LOAD( "tr_08.2l", 0xe0000, 0x20000, CRC(adee35e2) SHA1(6707cf43a697eb9465449a144ae4508afe2e6496) ) /* EPROM */ + ROM_LOAD( "tr_08.2l", 0xe0000, 0x20000, CRC(adee35e2) SHA1(6707cf43a697eb9465449a144ae4508afe2e6496) ) // EPROM ROM_REGION( 0x080000, "spritegen", 0 ) - ROM_LOAD32_BYTE( "tr-09a.3b", 0x00003, 0x20000, CRC(3d98ad1e) SHA1(f12cdf50e1708ddae092b9784d4319a7d5f092bc) ) /* sprites */ + ROM_LOAD32_BYTE( "tr-09a.3b", 0x00003, 0x20000, CRC(3d98ad1e) SHA1(f12cdf50e1708ddae092b9784d4319a7d5f092bc) ) ROM_LOAD32_BYTE( "tr-10a.2b", 0x00002, 0x20000, CRC(8f6f03d7) SHA1(08a02cfb373040ea5ffbf5604f68df92a1338bb0) ) ROM_LOAD32_BYTE( "tr-11a.3d", 0x00001, 0x20000, CRC(cd9152e5) SHA1(6df3c43c0c41289890296c2b2aeca915dfdae3b0) ) ROM_LOAD32_BYTE( "tr-12a.2d", 0x00000, 0x20000, CRC(7d8a99d0) SHA1(af8221cfd2ce9aa3bf296981fb7fddd1e9ef4599) ) - ROM_REGION( 0x08000, "bgmap", 0 ) /* background tilemaps */ + ROM_REGION( 0x08000, "bgmap", 0 ) ROM_LOAD( "tr_13.7l", 0x0000, 0x8000, CRC(a79be1eb) SHA1(4191ccd48f7650930f9a4c2be0790239d7420bb1) ) ROM_REGION( 0x0100, "proms", 0 ) - ROM_LOAD( "tr.9e", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) - N82S129A or compatible */ + ROM_LOAD( "tr.9e", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) - N82S129A or compatible ROM_END -ROM_START( tigeroadu ) /* N86614A-5 + N86614B-6 board combo - US ROMSTAR program roms */ - ROM_REGION( 0x40000, "maincpu", 0 ) /* 256K for 68000 code */ - ROM_LOAD16_BYTE( "tru_02.6j", 0x00000, 0x20000, CRC(8d283a95) SHA1(eb6c9225f79f62c22ae1e8980a557d896f598947) ) /* Red ink underline */ - ROM_LOAD16_BYTE( "tru_04.6k", 0x00001, 0x20000, CRC(72e2ef20) SHA1(57ab7df2050042690ccfb1f2d170840f926dcf46) ) /* Red ink underline */ +ROM_START( tigeroadu ) // N86614A-5 + N86614B-6 board combo - US ROMSTAR program roms + ROM_REGION( 0x40000, "maincpu", 0 ) // 256K for 68000 code + ROM_LOAD16_BYTE( "tru_02.6j", 0x00000, 0x20000, CRC(8d283a95) SHA1(eb6c9225f79f62c22ae1e8980a557d896f598947) ) // Red ink underline + ROM_LOAD16_BYTE( "tru_04.6k", 0x00001, 0x20000, CRC(72e2ef20) SHA1(57ab7df2050042690ccfb1f2d170840f926dcf46) ) // Red ink underline - ROM_REGION( 0x10000, "audiocpu", 0 ) /* audio CPU */ - ROM_LOAD( "tru_05.12k", 0x0000, 0x8000, CRC(f9a7c9bf) SHA1(4d37c71aa6523ac21c6e8b23f9957e75ec4304bf) ) /* Red ink underline */ + ROM_REGION( 0x10000, "audiocpu", 0 ) + ROM_LOAD( "tru_05.12k", 0x0000, 0x8000, CRC(f9a7c9bf) SHA1(4d37c71aa6523ac21c6e8b23f9957e75ec4304bf) ) // Red ink underline - /* i8751 microcontroller not populated */ + // i8751 microcontroller not populated - /* no samples player in the English version */ + // no samples player in the English version ROM_REGION( 0x008000, "text", 0 ) - ROM_LOAD( "tr_01.10d", 0x00000, 0x08000, CRC(74a9f08c) SHA1(458958c8d9a2af5df88bb24c9c5bcbd37d6856bc) ) /* 8x8 text */ + ROM_LOAD( "tr_01.10d", 0x00000, 0x08000, CRC(74a9f08c) SHA1(458958c8d9a2af5df88bb24c9c5bcbd37d6856bc) ) // 8x8 text ROM_REGION( 0x100000, "tiles", 0 ) - ROM_LOAD( "tr-01a.3f", 0x00000, 0x20000, CRC(a8aa2e59) SHA1(792f50d688a4ffb574e41257816bc304d41f0458) ) /* tiles */ + ROM_LOAD( "tr-01a.3f", 0x00000, 0x20000, CRC(a8aa2e59) SHA1(792f50d688a4ffb574e41257816bc304d41f0458) ) ROM_LOAD( "tr-04a.3h", 0x20000, 0x20000, CRC(8863a63c) SHA1(11bfce5b09c5b8a781c658f035d5658c3710d189) ) ROM_LOAD( "tr-02a.3j", 0x40000, 0x20000, CRC(1a2c5f89) SHA1(2a2aa2f1e2a0cdd4bbdb25236e49c7cc573db9e9) ) ROM_LOAD( "tr-05.3l", 0x60000, 0x20000, CRC(5bf453b3) SHA1(5eef151974c6b818a17756549d24a702e1f3a859) ) ROM_LOAD( "tr-03a.2f", 0x80000, 0x20000, CRC(1e0537ea) SHA1(bc65f7104d5f7728b68b3dcb45151c41fc30aa0d) ) ROM_LOAD( "tr-06a.2h", 0xa0000, 0x20000, CRC(b636c23a) SHA1(417e289745996bd00114df6ade591e702265d3a5) ) ROM_LOAD( "tr-07a.2j", 0xc0000, 0x20000, CRC(5f907d4d) SHA1(1820c5c6e0b078db9c64655c7983ea115ad81036) ) - ROM_LOAD( "tr_08.2l", 0xe0000, 0x20000, CRC(adee35e2) SHA1(6707cf43a697eb9465449a144ae4508afe2e6496) ) /* EPROM */ + ROM_LOAD( "tr_08.2l", 0xe0000, 0x20000, CRC(adee35e2) SHA1(6707cf43a697eb9465449a144ae4508afe2e6496) ) // EPROM ROM_REGION( 0x080000, "spritegen", 0 ) - ROM_LOAD32_BYTE( "tr-09a.3b", 0x00003, 0x20000, CRC(3d98ad1e) SHA1(f12cdf50e1708ddae092b9784d4319a7d5f092bc) ) /* sprites */ + ROM_LOAD32_BYTE( "tr-09a.3b", 0x00003, 0x20000, CRC(3d98ad1e) SHA1(f12cdf50e1708ddae092b9784d4319a7d5f092bc) ) ROM_LOAD32_BYTE( "tr-10a.2b", 0x00002, 0x20000, CRC(8f6f03d7) SHA1(08a02cfb373040ea5ffbf5604f68df92a1338bb0) ) ROM_LOAD32_BYTE( "tr-11a.3d", 0x00001, 0x20000, CRC(cd9152e5) SHA1(6df3c43c0c41289890296c2b2aeca915dfdae3b0) ) ROM_LOAD32_BYTE( "tr-12a.2d", 0x00000, 0x20000, CRC(7d8a99d0) SHA1(af8221cfd2ce9aa3bf296981fb7fddd1e9ef4599) ) - ROM_REGION( 0x08000, "bgmap", 0 ) /* background tilemaps */ + ROM_REGION( 0x08000, "bgmap", 0 ) ROM_LOAD( "tr_13.7l", 0x0000, 0x8000, CRC(a79be1eb) SHA1(4191ccd48f7650930f9a4c2be0790239d7420bb1) ) ROM_REGION( 0x0100, "proms", 0 ) - ROM_LOAD( "tr.9e", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) - N82S129A or compatible */ + ROM_LOAD( "tr.9e", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) - N82S129A or compatible ROM_END -ROM_START( toramich ) /* N86614A-5 + N86614B-6 board combo */ - ROM_REGION( 0x40000, "maincpu", 0 ) /* 256K for 68000 code */ +ROM_START( toramich ) // N86614A-5 + N86614B-6 board combo + ROM_REGION( 0x40000, "maincpu", 0 ) // 256K for 68000 code ROM_LOAD16_BYTE( "tr_02.6j", 0x00000, 0x20000, CRC(b54723b1) SHA1(dfad82e96dff072c967dd59e3db71fb3b43b6dcb) ) ROM_LOAD16_BYTE( "tr_04.6k", 0x00001, 0x20000, CRC(ab432479) SHA1(b8ec547f7bab67107a7c83931c7ed89142a7af69) ) - ROM_REGION( 0x10000, "audiocpu", 0 ) /* audio CPU */ + ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "tr_05.12k", 0x0000, 0x8000, CRC(3ebe6e62) SHA1(6f5708b6ff8c91bc706f73300e0785f15999d570) ) - /* i8751 microcontroller not populated */ + // i8751 microcontroller not populated - ROM_REGION( 0x10000, "sample", 0 ) /* samples player */ + ROM_REGION( 0x10000, "sample", 0 ) ROM_LOAD( "tr_03.11j", 0x0000, 0x10000, CRC(ea1807ef) SHA1(f856e7b592c6df81586821284ea2220468c5ea9d) ) ROM_REGION( 0x008000, "text", 0 ) - ROM_LOAD( "tr_01.10d", 0x00000, 0x08000, CRC(74a9f08c) SHA1(458958c8d9a2af5df88bb24c9c5bcbd37d6856bc) ) /* 8x8 text */ + ROM_LOAD( "tr_01.10d", 0x00000, 0x08000, CRC(74a9f08c) SHA1(458958c8d9a2af5df88bb24c9c5bcbd37d6856bc) ) // 8x8 text ROM_REGION( 0x100000, "tiles", 0 ) - ROM_LOAD( "tr-01a.3f", 0x00000, 0x20000, CRC(a8aa2e59) SHA1(792f50d688a4ffb574e41257816bc304d41f0458) ) /* tiles */ + ROM_LOAD( "tr-01a.3f", 0x00000, 0x20000, CRC(a8aa2e59) SHA1(792f50d688a4ffb574e41257816bc304d41f0458) ) ROM_LOAD( "tr-04a.3h", 0x20000, 0x20000, CRC(8863a63c) SHA1(11bfce5b09c5b8a781c658f035d5658c3710d189) ) ROM_LOAD( "tr-02a.3j", 0x40000, 0x20000, CRC(1a2c5f89) SHA1(2a2aa2f1e2a0cdd4bbdb25236e49c7cc573db9e9) ) ROM_LOAD( "tr-05.3l", 0x60000, 0x20000, CRC(5bf453b3) SHA1(5eef151974c6b818a17756549d24a702e1f3a859) ) ROM_LOAD( "tr-03a.2f", 0x80000, 0x20000, CRC(1e0537ea) SHA1(bc65f7104d5f7728b68b3dcb45151c41fc30aa0d) ) ROM_LOAD( "tr-06a.2h", 0xa0000, 0x20000, CRC(b636c23a) SHA1(417e289745996bd00114df6ade591e702265d3a5) ) ROM_LOAD( "tr-07a.2j", 0xc0000, 0x20000, CRC(5f907d4d) SHA1(1820c5c6e0b078db9c64655c7983ea115ad81036) ) - ROM_LOAD( "tr_08.2l", 0xe0000, 0x20000, CRC(adee35e2) SHA1(6707cf43a697eb9465449a144ae4508afe2e6496) ) /* EPROM */ + ROM_LOAD( "tr_08.2l", 0xe0000, 0x20000, CRC(adee35e2) SHA1(6707cf43a697eb9465449a144ae4508afe2e6496) ) // EPROM ROM_REGION( 0x080000, "spritegen", 0 ) - ROM_LOAD32_BYTE( "tr-09a.3b", 0x00003, 0x20000, CRC(3d98ad1e) SHA1(f12cdf50e1708ddae092b9784d4319a7d5f092bc) ) /* sprites */ + ROM_LOAD32_BYTE( "tr-09a.3b", 0x00003, 0x20000, CRC(3d98ad1e) SHA1(f12cdf50e1708ddae092b9784d4319a7d5f092bc) ) ROM_LOAD32_BYTE( "tr-10a.2b", 0x00002, 0x20000, CRC(8f6f03d7) SHA1(08a02cfb373040ea5ffbf5604f68df92a1338bb0) ) ROM_LOAD32_BYTE( "tr-11a.3d", 0x00001, 0x20000, CRC(cd9152e5) SHA1(6df3c43c0c41289890296c2b2aeca915dfdae3b0) ) ROM_LOAD32_BYTE( "tr-12a.2d", 0x00000, 0x20000, CRC(7d8a99d0) SHA1(af8221cfd2ce9aa3bf296981fb7fddd1e9ef4599) ) - ROM_REGION( 0x08000, "bgmap", 0 ) /* background tilemaps */ + ROM_REGION( 0x08000, "bgmap", 0 ) ROM_LOAD( "tr_13.7l", 0x0000, 0x8000, CRC(a79be1eb) SHA1(4191ccd48f7650930f9a4c2be0790239d7420bb1) ) ROM_REGION( 0x0100, "proms", 0 ) - ROM_LOAD( "tr.9e", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) - N82S129A or compatible */ + ROM_LOAD( "tr.9e", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) - N82S129A or compatible ROM_END ROM_START( tigeroadb ) - ROM_REGION( 0x40000, "maincpu", 0 ) /* 256K for 68000 code */ + ROM_REGION( 0x40000, "maincpu", 0 ) // 256K for 68000 code ROM_LOAD16_BYTE( "tgrroad.3", 0x00000, 0x10000, CRC(14c87e07) SHA1(31363b56dd9d387f3ebd7ca1c209148c389ec1aa) ) ROM_LOAD16_BYTE( "tgrroad.5", 0x00001, 0x10000, CRC(0904254c) SHA1(9ce7b8a699bc21618032db9b0c5494242ad77a6b) ) ROM_LOAD16_BYTE( "tgrroad.2", 0x20000, 0x10000, CRC(cedb1f46) SHA1(bc2d5730ff809fb0f38327d72485d472ab9da54d) ) ROM_LOAD16_BYTE( "tgrroad.4", 0x20001, 0x10000, CRC(e117f0b1) SHA1(ed0050247789bedaeb213c3d7c2d2cdb239bb4b4) ) - ROM_REGION( 0x10000, "audiocpu", 0 ) /* audio CPU */ + ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "tru05.bin", 0x0000, 0x8000, CRC(f9a7c9bf) SHA1(4d37c71aa6523ac21c6e8b23f9957e75ec4304bf) ) - /* no samples player in the English version */ + // no samples player in the English version ROM_REGION( 0x008000, "text", 0 ) - ROM_LOAD( "tr01.bin", 0x00000, 0x08000, CRC(74a9f08c) SHA1(458958c8d9a2af5df88bb24c9c5bcbd37d6856bc) ) /* 8x8 text */ + ROM_LOAD( "tr01.bin", 0x00000, 0x08000, CRC(74a9f08c) SHA1(458958c8d9a2af5df88bb24c9c5bcbd37d6856bc) ) // 8x8 text ROM_REGION( 0x100000, "tiles", 0 ) - ROM_LOAD( "tr-01a.bin", 0x00000, 0x20000, CRC(a8aa2e59) SHA1(792f50d688a4ffb574e41257816bc304d41f0458) ) /* tiles */ + ROM_LOAD( "tr-01a.bin", 0x00000, 0x20000, CRC(a8aa2e59) SHA1(792f50d688a4ffb574e41257816bc304d41f0458) ) ROM_LOAD( "tr-04a.bin", 0x20000, 0x20000, CRC(8863a63c) SHA1(11bfce5b09c5b8a781c658f035d5658c3710d189) ) ROM_LOAD( "tr-02a.bin", 0x40000, 0x20000, CRC(1a2c5f89) SHA1(2a2aa2f1e2a0cdd4bbdb25236e49c7cc573db9e9) ) ROM_LOAD( "tr05.bin", 0x60000, 0x20000, CRC(5bf453b3) SHA1(5eef151974c6b818a17756549d24a702e1f3a859) ) @@ -921,34 +922,34 @@ ROM_START( tigeroadb ) ROM_LOAD( "tgrroad.18", 0xf0000, 0x10000, CRC(e2e053cb) SHA1(eb9432140fc167dec5d3273112933201be2be1b3) ) ROM_REGION( 0x080000, "spritegen", 0 ) - ROM_LOAD32_BYTE( "tr-09a.bin", 0x00003, 0x20000, CRC(3d98ad1e) SHA1(f12cdf50e1708ddae092b9784d4319a7d5f092bc) ) /* sprites */ + ROM_LOAD32_BYTE( "tr-09a.bin", 0x00003, 0x20000, CRC(3d98ad1e) SHA1(f12cdf50e1708ddae092b9784d4319a7d5f092bc) ) ROM_LOAD32_BYTE( "tr-10a.bin", 0x00002, 0x20000, CRC(8f6f03d7) SHA1(08a02cfb373040ea5ffbf5604f68df92a1338bb0) ) ROM_LOAD32_BYTE( "tr-11a.bin", 0x00001, 0x20000, CRC(cd9152e5) SHA1(6df3c43c0c41289890296c2b2aeca915dfdae3b0) ) ROM_LOAD32_BYTE( "tr-12a.bin", 0x00000, 0x20000, CRC(7d8a99d0) SHA1(af8221cfd2ce9aa3bf296981fb7fddd1e9ef4599) ) - ROM_REGION( 0x08000, "bgmap", 0 ) /* background tilemaps */ + ROM_REGION( 0x08000, "bgmap", 0 ) ROM_LOAD( "tr13.bin", 0x0000, 0x8000, CRC(a79be1eb) SHA1(4191ccd48f7650930f9a4c2be0790239d7420bb1) ) ROM_REGION( 0x0100, "proms", 0 ) - ROM_LOAD( "trprom.bin", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) */ + ROM_LOAD( "trprom.bin", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) ROM_END -ROM_START( f1dream ) /* N86614A-5 + N86614B-6 board combo */ - ROM_REGION( 0x40000, "maincpu", 0 ) /* 256K for 68000 code */ +ROM_START( f1dream ) // N86614A-5 + N86614B-6 board combo + ROM_REGION( 0x40000, "maincpu", 0 ) // 256K for 68000 code ROM_LOAD16_BYTE( "f1_02.6j", 0x00000, 0x20000, CRC(3c2ec697) SHA1(bccb431ad92455484420f91770e91db6d69b09ec) ) ROM_LOAD16_BYTE( "f1_03.6k", 0x00001, 0x20000, CRC(85ebad91) SHA1(000f5c617417ff20ee9b378166776fecfacdff95) ) - ROM_REGION( 0x10000, "audiocpu", 0 ) /* audio CPU */ + ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "f1_04.12k", 0x0000, 0x8000, CRC(4b9a7524) SHA1(19004958c19ac0af35f2c97790b0082ee2c15bc4) ) - ROM_REGION( 0x1000, "mcu", 0 ) /* i8751 microcontroller */ - ROM_LOAD( "f1.9j", 0x0000, 0x1000, CRC(c8e6075c) SHA1(d98bd358d30d22a8009cd2728dde1871a8140c23) ) /* labeled F1 */ + ROM_REGION( 0x1000, "mcu", 0 ) // i8751 microcontroller + ROM_LOAD( "f1.9j", 0x0000, 0x1000, CRC(c8e6075c) SHA1(d98bd358d30d22a8009cd2728dde1871a8140c23) ) // labeled F1 ROM_REGION( 0x008000, "text", 0 ) - ROM_LOAD( "f1_01.10d", 0x00000, 0x08000, CRC(361caf00) SHA1(8a109e4e116d0c5eea86f9c57c05359754daa5b9) ) /* 8x8 text */ + ROM_LOAD( "f1_01.10d", 0x00000, 0x08000, CRC(361caf00) SHA1(8a109e4e116d0c5eea86f9c57c05359754daa5b9) ) // 8x8 text ROM_REGION( 0x060000, "tiles", 0 ) - ROM_LOAD( "f1_12.3f", 0x00000, 0x10000, CRC(bc13e43c) SHA1(f9528839858d7a45395062a43b71d80400c73173) ) /* tiles */ + ROM_LOAD( "f1_12.3f", 0x00000, 0x10000, CRC(bc13e43c) SHA1(f9528839858d7a45395062a43b71d80400c73173) ) ROM_LOAD( "f1_10.1f", 0x10000, 0x10000, CRC(f7617ad9) SHA1(746a0ec433d5246ac4dbae17d6498e3d154e2df1) ) ROM_LOAD( "f1_14.3h", 0x20000, 0x10000, CRC(e33cd438) SHA1(89a6faea19e8a01b38ba45413609603e559877e9) ) ROM_LOAD( "f1_11.2f", 0x30000, 0x10000, CRC(4aa49cd7) SHA1(b7052d51a3cb570299f4db1492a1293c4d8b067f) ) @@ -956,33 +957,33 @@ ROM_START( f1dream ) /* N86614A-5 + N86614B-6 board combo */ ROM_LOAD( "f1_13.2h", 0x50000, 0x10000, CRC(2a63961e) SHA1(a35e9bf0408716f460487a8d2ae336572a98d2fb) ) ROM_REGION( 0x040000, "spritegen", 0 ) - ROM_LOAD32_BYTE( "f1_06.3b", 0x00003, 0x10000, CRC(5e54e391) SHA1(475c968bfeb41b0448e621f59724c7b70d184d36) ) /* sprites */ + ROM_LOAD32_BYTE( "f1_06.3b", 0x00003, 0x10000, CRC(5e54e391) SHA1(475c968bfeb41b0448e621f59724c7b70d184d36) ) ROM_LOAD32_BYTE( "f1_05.2b", 0x00002, 0x10000, CRC(cdd119fd) SHA1(e279ada53f5a1e2ada0195b93399731af213f518) ) ROM_LOAD32_BYTE( "f1_08.3d", 0x00001, 0x10000, CRC(811f2e22) SHA1(cca7e8cc43408c2c3067a731a98a8a6418a000aa) ) ROM_LOAD32_BYTE( "f1_07.2d", 0x00000, 0x10000, CRC(aa9a1233) SHA1(c2079ad81d67b54483ea5f69ac2edf276ad58ca9) ) - ROM_REGION( 0x08000, "bgmap", 0 ) /* background tilemaps */ + ROM_REGION( 0x08000, "bgmap", 0 ) ROM_LOAD( "f1_15.7l", 0x0000, 0x8000, CRC(978758b7) SHA1(ebd415d70e2f1af3b1bd51f40e7d60f22369638c) ) ROM_REGION( 0x0100, "proms", 0 ) - ROM_LOAD( "tr.9e", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) - N82S129A or compatible */ + ROM_LOAD( "tr.9e", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) - N82S129A or compatible ROM_END ROM_START( f1dreamb ) - ROM_REGION( 0x40000, "maincpu", 0 ) /* 256K for 68000 code */ + ROM_REGION( 0x40000, "maincpu", 0 ) // 256K for 68000 code ROM_LOAD16_BYTE( "f1d_04.bin", 0x00000, 0x10000, CRC(903febad) SHA1(73726b220ce45e1f13798e50fb6455671f1150f3) ) ROM_LOAD16_BYTE( "f1d_05.bin", 0x00001, 0x10000, CRC(666fa2a7) SHA1(f38e71293368ddc586f437c38ced1d8ce91527ea) ) ROM_LOAD16_BYTE( "f1d_02.bin", 0x20000, 0x10000, CRC(98973c4c) SHA1(a73d396a1c3e43e6250d9e0ab1902d6f754d1ed9) ) ROM_LOAD16_BYTE( "f1d_03.bin", 0x20001, 0x10000, CRC(3d21c78a) SHA1(edee180131a5b4d507ce0490fd3890bdd03ce62f) ) - ROM_REGION( 0x10000, "audiocpu", 0 ) /* audio CPU */ + ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "12k_04.bin", 0x0000, 0x8000, CRC(4b9a7524) SHA1(19004958c19ac0af35f2c97790b0082ee2c15bc4) ) ROM_REGION( 0x008000, "text", 0 ) - ROM_LOAD( "10d_01.bin", 0x00000, 0x08000, CRC(361caf00) SHA1(8a109e4e116d0c5eea86f9c57c05359754daa5b9) ) /* 8x8 text */ + ROM_LOAD( "10d_01.bin", 0x00000, 0x08000, CRC(361caf00) SHA1(8a109e4e116d0c5eea86f9c57c05359754daa5b9) ) // 8x8 text ROM_REGION( 0x060000, "tiles", 0 ) - ROM_LOAD( "03f_12.bin", 0x00000, 0x10000, CRC(bc13e43c) SHA1(f9528839858d7a45395062a43b71d80400c73173) ) /* tiles */ + ROM_LOAD( "03f_12.bin", 0x00000, 0x10000, CRC(bc13e43c) SHA1(f9528839858d7a45395062a43b71d80400c73173) ) ROM_LOAD( "01f_10.bin", 0x10000, 0x10000, CRC(f7617ad9) SHA1(746a0ec433d5246ac4dbae17d6498e3d154e2df1) ) ROM_LOAD( "03h_14.bin", 0x20000, 0x10000, CRC(e33cd438) SHA1(89a6faea19e8a01b38ba45413609603e559877e9) ) ROM_LOAD( "02f_11.bin", 0x30000, 0x10000, CRC(4aa49cd7) SHA1(b7052d51a3cb570299f4db1492a1293c4d8b067f) ) @@ -990,33 +991,33 @@ ROM_START( f1dreamb ) ROM_LOAD( "02h_13.bin", 0x50000, 0x10000, CRC(2a63961e) SHA1(a35e9bf0408716f460487a8d2ae336572a98d2fb) ) ROM_REGION( 0x040000, "spritegen", 0 ) - ROM_LOAD32_BYTE( "03b_06.bin", 0x00003, 0x10000, CRC(5e54e391) SHA1(475c968bfeb41b0448e621f59724c7b70d184d36) ) /* sprites */ + ROM_LOAD32_BYTE( "03b_06.bin", 0x00003, 0x10000, CRC(5e54e391) SHA1(475c968bfeb41b0448e621f59724c7b70d184d36) ) ROM_LOAD32_BYTE( "02b_05.bin", 0x00002, 0x10000, CRC(cdd119fd) SHA1(e279ada53f5a1e2ada0195b93399731af213f518) ) ROM_LOAD32_BYTE( "03d_08.bin", 0x00001, 0x10000, CRC(811f2e22) SHA1(cca7e8cc43408c2c3067a731a98a8a6418a000aa) ) ROM_LOAD32_BYTE( "02d_07.bin", 0x00000, 0x10000, CRC(aa9a1233) SHA1(c2079ad81d67b54483ea5f69ac2edf276ad58ca9) ) - ROM_REGION( 0x08000, "bgmap", 0 ) /* background tilemaps */ + ROM_REGION( 0x08000, "bgmap", 0 ) ROM_LOAD( "07l_15.bin", 0x0000, 0x8000, CRC(978758b7) SHA1(ebd415d70e2f1af3b1bd51f40e7d60f22369638c) ) ROM_REGION( 0x0100, "proms", 0 ) - ROM_LOAD( "09e_tr.bin", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) */ + ROM_LOAD( "09e_tr.bin", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) ROM_END ROM_START( f1dreamba ) - ROM_REGION( 0x40000, "maincpu", 0 ) /* 256K for 68000 code */ + ROM_REGION( 0x40000, "maincpu", 0 ) // 256K for 68000 code ROM_LOAD16_BYTE( "3.bin", 0x00000, 0x10000, CRC(bdfbbbec) SHA1(08e058f0e612463a2975c4283b7210a3247a90ad) ) ROM_LOAD16_BYTE( "5.bin", 0x00001, 0x10000, CRC(cc47cfb2) SHA1(2a6c66f4e7e81550af2d94e4a219a0c03173039e) ) ROM_LOAD16_BYTE( "2.bin", 0x20000, 0x10000, CRC(a34f63fb) SHA1(db1ce7ff3a2496649d8357c3999c1ea1a06ba043) ) ROM_LOAD16_BYTE( "4.bin", 0x20001, 0x10000, CRC(f98db083) SHA1(07e3e611eed1a77b7cd99c231e401c18465445ce) ) - ROM_REGION( 0x10000, "audiocpu", 0 ) /* audio CPU */ + ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "12k_04.bin", 0x0000, 0x8000, CRC(4b9a7524) SHA1(19004958c19ac0af35f2c97790b0082ee2c15bc4) ) ROM_REGION( 0x008000, "text", 0 ) - ROM_LOAD( "10d_01.bin", 0x00000, 0x08000, CRC(361caf00) SHA1(8a109e4e116d0c5eea86f9c57c05359754daa5b9) ) /* 8x8 text */ + ROM_LOAD( "10d_01.bin", 0x00000, 0x08000, CRC(361caf00) SHA1(8a109e4e116d0c5eea86f9c57c05359754daa5b9) ) // 8x8 text ROM_REGION( 0x060000, "tiles", 0 ) - ROM_LOAD( "03f_12.bin", 0x00000, 0x10000, CRC(bc13e43c) SHA1(f9528839858d7a45395062a43b71d80400c73173) ) /* tiles */ + ROM_LOAD( "03f_12.bin", 0x00000, 0x10000, CRC(bc13e43c) SHA1(f9528839858d7a45395062a43b71d80400c73173) ) ROM_LOAD( "01f_10.bin", 0x10000, 0x10000, CRC(f7617ad9) SHA1(746a0ec433d5246ac4dbae17d6498e3d154e2df1) ) ROM_LOAD( "03h_14.bin", 0x20000, 0x10000, CRC(e33cd438) SHA1(89a6faea19e8a01b38ba45413609603e559877e9) ) ROM_LOAD( "02f_11.bin", 0x30000, 0x10000, CRC(4aa49cd7) SHA1(b7052d51a3cb570299f4db1492a1293c4d8b067f) ) @@ -1024,16 +1025,16 @@ ROM_START( f1dreamba ) ROM_LOAD( "02h_13.bin", 0x50000, 0x10000, CRC(2a63961e) SHA1(a35e9bf0408716f460487a8d2ae336572a98d2fb) ) ROM_REGION( 0x040000, "spritegen", 0 ) - ROM_LOAD32_BYTE( "03b_06.bin", 0x00003, 0x10000, CRC(5e54e391) SHA1(475c968bfeb41b0448e621f59724c7b70d184d36) ) /* sprites */ + ROM_LOAD32_BYTE( "03b_06.bin", 0x00003, 0x10000, CRC(5e54e391) SHA1(475c968bfeb41b0448e621f59724c7b70d184d36) ) ROM_LOAD32_BYTE( "02b_05.bin", 0x00002, 0x10000, CRC(cdd119fd) SHA1(e279ada53f5a1e2ada0195b93399731af213f518) ) ROM_LOAD32_BYTE( "03d_08.bin", 0x00001, 0x10000, CRC(811f2e22) SHA1(cca7e8cc43408c2c3067a731a98a8a6418a000aa) ) ROM_LOAD32_BYTE( "02d_07.bin", 0x00000, 0x10000, CRC(aa9a1233) SHA1(c2079ad81d67b54483ea5f69ac2edf276ad58ca9) ) - ROM_REGION( 0x08000, "bgmap", 0 ) /* background tilemaps */ + ROM_REGION( 0x08000, "bgmap", 0 ) ROM_LOAD( "07l_15.bin", 0x0000, 0x8000, CRC(978758b7) SHA1(ebd415d70e2f1af3b1bd51f40e7d60f22369638c) ) ROM_REGION( 0x0100, "proms", 0 ) - ROM_LOAD( "09e_tr.bin", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) */ + ROM_LOAD( "09e_tr.bin", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) ROM_END @@ -1045,7 +1046,7 @@ ROM_START( pushman ) ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "pushman.013", 0x00000, 0x08000, CRC(adfe66c1) SHA1(fa4ed13d655c664b06e9b91292d2c0a88cb5a569) ) - ROM_REGION( 0x01000, "mcu", 0 ) /* Verified same for all 4 currently dumped versions */ + ROM_REGION( 0x01000, "mcu", 0 ) // Verified same for all 4 currently dumped versions ROM_LOAD( "pushman68705r3p.ic23", 0x00000, 0x01000, CRC(d7916657) SHA1(89c14c6044f082fffe2a8f86d0a82336f4a110a2) ) ROM_REGION( 0x10000, "text", 0 ) @@ -1063,11 +1064,11 @@ ROM_START( pushman ) ROM_LOAD( "pushman.007", 0x00000, 0x10000, CRC(b70020bd) SHA1(218ca4a08b87b7dc5c1eed99960f4098c4fc7e0c) ) ROM_LOAD( "pushman.009", 0x10000, 0x10000, CRC(cc555667) SHA1(6c79e14fc18d1d836392044779cb3219494a3447) ) - ROM_REGION( 0x10000, "bgmap", 0 ) /* bg tilemaps */ + ROM_REGION( 0x10000, "bgmap", 0 ) ROM_LOAD( "pushman.010", 0x00000, 0x08000, CRC(a500132d) SHA1(26b02c9fea69b51c5f7dc1b43b838cd336ebf862) ) - ROM_REGION( 0x0100, "proms", 0 ) /* this is the same as tiger road / f1-dream */ - ROM_LOAD( "n82s129an.ic82", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) */ + ROM_REGION( 0x0100, "proms", 0 ) // this is the same as tiger road / f1-dream + ROM_LOAD( "n82s129an.ic82", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) ROM_END ROM_START( pushmana ) @@ -1078,7 +1079,7 @@ ROM_START( pushmana ) ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "pushman.013", 0x00000, 0x08000, CRC(adfe66c1) SHA1(fa4ed13d655c664b06e9b91292d2c0a88cb5a569) ) // missing from this set? - ROM_REGION( 0x01000, "mcu", 0 ) /* Verified same for all 4 currently dumped versions */ + ROM_REGION( 0x01000, "mcu", 0 ) // Verified same for all 4 currently dumped versions ROM_LOAD( "pushman68705r3p.ic23", 0x00000, 0x01000, CRC(d7916657) SHA1(89c14c6044f082fffe2a8f86d0a82336f4a110a2) ) ROM_REGION( 0x10000, "text", 0 ) @@ -1096,11 +1097,11 @@ ROM_START( pushmana ) ROM_LOAD( "pushman.007", 0x00000, 0x10000, CRC(b70020bd) SHA1(218ca4a08b87b7dc5c1eed99960f4098c4fc7e0c) ) // .132 ROM_LOAD( "pushman.009", 0x10000, 0x10000, CRC(cc555667) SHA1(6c79e14fc18d1d836392044779cb3219494a3447) ) // .149 - ROM_REGION( 0x10000, "bgmap", 0 ) /* bg tilemaps */ + ROM_REGION( 0x10000, "bgmap", 0 ) ROM_LOAD( "pushmana.189", 0x00000, 0x10000, CRC(59f25598) SHA1(ace33afd6e6d07376ed01048db99b13bcec790d7) ) - ROM_REGION( 0x0100, "proms", 0 ) /* this is the same as tiger road / f1-dream */ - ROM_LOAD( "n82s129an.ic82", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) */ + ROM_REGION( 0x0100, "proms", 0 ) // this is the same as tiger road / f1-dream + ROM_LOAD( "n82s129an.ic82", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) ROM_END ROM_START( pushmans ) @@ -1111,7 +1112,7 @@ ROM_START( pushmans ) ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "pman-13.ic216", 0x00000, 0x08000, CRC(bc03827a) SHA1(b4d6ae164bbb7ba19e4934392fe2ba29575f28b9) ) - ROM_REGION( 0x01000, "mcu", 0 ) /* Verified same for all 4 currently dumped versions */ + ROM_REGION( 0x01000, "mcu", 0 ) // Verified same for all 4 currently dumped versions ROM_LOAD( "pushman68705r3p.ic23", 0x00000, 0x01000, CRC(d7916657) SHA1(89c14c6044f082fffe2a8f86d0a82336f4a110a2) ) ROM_REGION( 0x10000, "text", 0 ) @@ -1129,26 +1130,26 @@ ROM_START( pushmans ) ROM_LOAD( "pman-7.ic132", 0x00000, 0x10000, CRC(208cb197) SHA1(161633b6b0acf25447a5c0b3c6fbf18adc6e2243) ) ROM_LOAD( "pman-9.ic149", 0x10000, 0x10000, CRC(77ee8577) SHA1(63d13683dd097d8e7cb71ad3abe04e11f2a58bd3) ) - ROM_REGION( 0x10000, "bgmap", 0 ) /* bg tilemaps */ + ROM_REGION( 0x10000, "bgmap", 0 ) ROM_LOAD( "pman-10.ic189", 0x00000, 0x08000, CRC(5f9ae9a1) SHA1(87619918c28c942780f6dbd3818d4cc69932eefc) ) - ROM_REGION( 0x0100, "proms", 0 ) /* this is the same as tiger road / f1-dream */ - ROM_LOAD( "n82s129an.ic82", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) */ + ROM_REGION( 0x0100, "proms", 0 ) // this is the same as tiger road / f1-dream + ROM_LOAD( "n82s129an.ic82", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) ROM_END -ROM_START( pushmant ) /* Single plane PCB */ +ROM_START( pushmant ) // Single plane PCB ROM_REGION( 0x40000, "maincpu", 0 ) ROM_LOAD16_BYTE( "12.ic212", 0x000000, 0x10000, CRC(f5c77d86) SHA1(66d2d5dc9f4662efc5a865c9cc1bba653e86a674) ) ROM_LOAD16_BYTE( "11.ic197", 0x000001, 0x10000, CRC(2e09ff08) SHA1(9bb05c51c985c3a12fb8d6fd915276e304651eb1) ) ROM_REGION( 0x10000, "audiocpu", 0 ) - ROM_LOAD( "13.ic216", 0x00000, 0x08000, CRC(adfe66c1) SHA1(fa4ed13d655c664b06e9b91292d2c0a88cb5a569) ) /* Same as the Comad set */ + ROM_LOAD( "13.ic216", 0x00000, 0x08000, CRC(adfe66c1) SHA1(fa4ed13d655c664b06e9b91292d2c0a88cb5a569) ) // Same as the Comad set - ROM_REGION( 0x01000, "mcu", 0 ) /* Verified same for all 4 currently dumped versions */ + ROM_REGION( 0x01000, "mcu", 0 ) // Verified same for all 4 currently dumped versions ROM_LOAD( "pushman68705r3p.ic23", 0x00000, 0x01000, CRC(d7916657) SHA1(89c14c6044f082fffe2a8f86d0a82336f4a110a2) ) ROM_REGION( 0x10000, "text", 0 ) - ROM_LOAD( "1.ic130", 0x00000, 0x08000, CRC(14497754) SHA1(a47d03c56add18c5d9aed221990550b18589ff43) ) /* Same as the Sammy set */ + ROM_LOAD( "1.ic130", 0x00000, 0x08000, CRC(14497754) SHA1(a47d03c56add18c5d9aed221990550b18589ff43) ) // Same as the Sammy set ROM_REGION( 0x40000, "spritegen", 0 ) ROM_LOAD32_BYTE( "4.ic58", 0x00000, 0x10000, CRC(69209214) SHA1(c5b527234aefbdfb39864806e2b1784fdf2dd49c) ) @@ -1157,16 +1158,16 @@ ROM_START( pushmant ) /* Single plane PCB */ ROM_LOAD32_BYTE( "3.ic57", 0x00003, 0x10000, CRC(5f1c4e7a) SHA1(751caf2365eccbab6d7de5434c4656ac5bd7f13b) ) ROM_REGION( 0x40000, "tiles", 0 ) - ROM_LOAD( "6.ic131", 0x20000, 0x10000, CRC(bd0f9025) SHA1(7262410d4631f1b051c605d5cea5b91e9f68327e) ) /* These 4 are the same as the Sammy set */ + ROM_LOAD( "6.ic131", 0x20000, 0x10000, CRC(bd0f9025) SHA1(7262410d4631f1b051c605d5cea5b91e9f68327e) ) // These 4 are the same as the Sammy set ROM_LOAD( "8.ic148", 0x30000, 0x10000, CRC(591bd5c0) SHA1(6e0e18e0912fa38e113420ac31c7f36853b830ec) ) ROM_LOAD( "7.ic132", 0x00000, 0x10000, CRC(208cb197) SHA1(161633b6b0acf25447a5c0b3c6fbf18adc6e2243) ) ROM_LOAD( "9.ic149", 0x10000, 0x10000, CRC(77ee8577) SHA1(63d13683dd097d8e7cb71ad3abe04e11f2a58bd3) ) - ROM_REGION( 0x10000, "bgmap", 0 ) /* bg tilemaps */ - ROM_LOAD( "10.ic189", 0x00000, 0x08000, CRC(5f9ae9a1) SHA1(87619918c28c942780f6dbd3818d4cc69932eefc) ) /* Same as the Sammy set */ + ROM_REGION( 0x10000, "bgmap", 0 ) + ROM_LOAD( "10.ic189", 0x00000, 0x08000, CRC(5f9ae9a1) SHA1(87619918c28c942780f6dbd3818d4cc69932eefc) ) // Same as the Sammy set - ROM_REGION( 0x0100, "proms", 0 ) /* this is the same as tiger road / f1-dream */ - ROM_LOAD( "n82s129an.ic82", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) */ + ROM_REGION( 0x0100, "proms", 0 ) // this is the same as tiger road / f1-dream + ROM_LOAD( "n82s129an.ic82", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) ROM_END ROM_START( bballs ) @@ -1177,7 +1178,7 @@ ROM_START( bballs ) ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "bb13.n4", 0x00000, 0x08000, CRC(1ef78175) SHA1(2e7dcbab3a572c2a6bb67a36ba283a5faeb14a88) ) - ROM_REGION( 0x01000, "mcu", 0 ) /* using dump from bballsa set */ + ROM_REGION( 0x01000, "mcu", 0 ) // using dump from bballsa set ROM_LOAD( "mc68705r3.bin", 0x00000, 0x01000, CRC(4b37b853) SHA1(c95b7b1dcc6f4730fd08535001e2f02b34ea14c2) BAD_DUMP ) ROM_REGION( 0x10000, "text", 0 ) @@ -1195,11 +1196,11 @@ ROM_START( bballs ) ROM_LOAD( "bb7.h2", 0x00000, 0x10000, CRC(a352d53b) SHA1(c71e976b7c28630d7af11fffe0d1cfd7d611ee8b) ) ROM_LOAD( "bb9.j2", 0x10000, 0x10000, CRC(78d185ac) SHA1(6ed6e1f5eeb93129eeeab6bae22b640c9782f7fc) ) - ROM_REGION( 0x10000, "bgmap", 0 ) /* bg tilemaps */ + ROM_REGION( 0x10000, "bgmap", 0 ) ROM_LOAD( "bb10.l6", 0x00000, 0x08000, CRC(d06498f9) SHA1(9f33bbc40ebe11c03aec29289f76f1c3ca5bf009) ) - ROM_REGION( 0x0100, "proms", 0 ) /* this is the same as tiger road / f1-dream */ - ROM_LOAD( "bb_prom.e9", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) N82S129 BPROM */ + ROM_REGION( 0x0100, "proms", 0 ) // this is the same as tiger road / f1-dream + ROM_LOAD( "bb_prom.e9", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) N82S129 BPROM ROM_END ROM_START( bballsa ) @@ -1228,11 +1229,11 @@ ROM_START( bballsa ) ROM_LOAD( "7.ic132", 0x00000, 0x10000, CRC(2289393a) SHA1(e1370925a92f7d9f96c9431cf1b8dd262c41017e) ) ROM_LOAD( "9.ic149", 0x10000, 0x10000, CRC(1fe3d172) SHA1(f7415e8633507a507ec1cd68de224722a726a473) ) - ROM_REGION( 0x10000, "bgmap", 0 ) /* bg tilemaps */ + ROM_REGION( 0x10000, "bgmap", 0 ) ROM_LOAD( "10.ic189", 0x00000, 0x08000, CRC(52e4ab27) SHA1(c9ae15f970b4bf120a4bbee9adcf0e5e4de001e7) ) - ROM_REGION( 0x0100, "proms", 0 ) /* this is the same as tiger road / f1-dream */ - ROM_LOAD( "bb_prom.e9", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) /* priority (not used) N82S129 BPROM */ + ROM_REGION( 0x0100, "proms", 0 ) // this is the same as tiger road / f1-dream + ROM_LOAD( "bb_prom.e9", 0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) ) // priority (not used) N82S129 BPROM ROM_END @@ -1240,21 +1241,21 @@ ROM_END /***************************************************************************/ -GAME( 1987, tigeroad, 0, tigeroad, tigeroad, tigeroad_state, empty_init, ROT0, "Capcom", "Tiger Road (US)", 0 ) -GAME( 1987, tigeroadu,tigeroad, tigeroad, tigeroad, tigeroad_state, empty_init, ROT0, "Capcom (Romstar license)", "Tiger Road (US, Romstar license)", 0 ) -GAME( 1987, toramich, tigeroad, toramich, toramich, tigeroad_state, empty_init, ROT0, "Capcom", "Tora e no Michi (Japan)", 0 ) -GAME( 1987, tigeroadb,tigeroad, tigeroad, tigeroad, tigeroad_state, empty_init, ROT0, "bootleg", "Tiger Road (US bootleg)", 0 ) +GAME( 1987, tigeroad, 0, tigeroad, tigeroad, tigeroad_state, empty_init, ROT0, "Capcom", "Tiger Road (US)", MACHINE_SUPPORTS_SAVE ) +GAME( 1987, tigeroadu, tigeroad, tigeroad, tigeroad, tigeroad_state, empty_init, ROT0, "Capcom (Romstar license)", "Tiger Road (US, Romstar license)", MACHINE_SUPPORTS_SAVE ) +GAME( 1987, toramich, tigeroad, toramich, toramich, tigeroad_state, empty_init, ROT0, "Capcom", "Tora e no Michi (Japan)", MACHINE_SUPPORTS_SAVE ) +GAME( 1987, tigeroadb, tigeroad, tigeroad, tigeroad, tigeroad_state, empty_init, ROT0, "bootleg", "Tiger Road (US bootleg)", MACHINE_SUPPORTS_SAVE ) -/* F1 Dream has an Intel 8751 microcontroller for protection */ -GAME( 1988, f1dream, 0, f1dream, f1dream, f1dream_state, empty_init, ROT0, "Capcom (Romstar license)", "F-1 Dream", 0 ) -GAME( 1988, f1dreamb, f1dream, tigeroad, f1dream, tigeroad_state, empty_init, ROT0, "bootleg", "F-1 Dream (bootleg, set 1)", 0 ) -GAME( 1988, f1dreamba,f1dream, tigeroad, f1dream, tigeroad_state, empty_init, ROT0, "bootleg", "F-1 Dream (bootleg, set 2)", 0 ) +// F1 Dream has an Intel 8751 microcontroller for protection +GAME( 1988, f1dream, 0, f1dream, f1dream, f1dream_state, empty_init, ROT0, "Capcom (Romstar license)", "F-1 Dream", MACHINE_SUPPORTS_SAVE ) +GAME( 1988, f1dreamb, f1dream, tigeroad, f1dream, tigeroad_state, empty_init, ROT0, "bootleg", "F-1 Dream (bootleg, set 1)", MACHINE_SUPPORTS_SAVE ) +GAME( 1988, f1dreamba,f1dream, tigeroad, f1dream, tigeroad_state, empty_init, ROT0, "bootleg", "F-1 Dream (bootleg, set 2)", MACHINE_SUPPORTS_SAVE ) -/* This Comad hardware is based around the F1 Dream design */ -GAME( 1990, pushman, 0, pushman, pushman, pushman_state, empty_init, ROT0, "Comad", "Pushman (Korea, set 1)", MACHINE_SUPPORTS_SAVE ) -GAME( 1990, pushmana, pushman, pushman, pushman, pushman_state, empty_init, ROT0, "Comad", "Pushman (Korea, set 2)", MACHINE_SUPPORTS_SAVE ) -GAME( 1990, pushmans, pushman, pushman, pushman, pushman_state, empty_init, ROT0, "Comad (American Sammy license)", "Pushman (American Sammy license)", MACHINE_SUPPORTS_SAVE ) -GAME( 1990, pushmant, pushman, pushman, pushman, pushman_state, empty_init, ROT0, "Comad (Top Tronic license)", "Pushman (Top Tronic license)", MACHINE_SUPPORTS_SAVE ) +// This Comad hardware is based around the F1 Dream design +GAME( 1990, pushman, 0, pushman, pushman, pushman_state, empty_init, ROT0, "Comad", "Pushman (Korea, set 1)", MACHINE_SUPPORTS_SAVE ) +GAME( 1990, pushmana, pushman, pushman, pushman, pushman_state, empty_init, ROT0, "Comad", "Pushman (Korea, set 2)", MACHINE_SUPPORTS_SAVE ) +GAME( 1990, pushmans, pushman, pushman, pushman, pushman_state, empty_init, ROT0, "Comad (American Sammy license)", "Pushman (American Sammy license)", MACHINE_SUPPORTS_SAVE ) +GAME( 1990, pushmant, pushman, pushman, pushman, pushman_state, empty_init, ROT0, "Comad (Top Tronic license)", "Pushman (Top Tronic license)", MACHINE_SUPPORTS_SAVE ) -GAME( 1991, bballs, 0, bballs, bballs, pushman_state, empty_init, ROT0, "Comad", "Bouncing Balls", MACHINE_SUPPORTS_SAVE ) -GAME( 1991, bballsa, bballs, bballs, bballs, pushman_state, empty_init, ROT0, "Comad", "Bouncing Balls (Adult)", MACHINE_SUPPORTS_SAVE ) +GAME( 1991, bballs, 0, bballs, bballs, pushman_state, empty_init, ROT0, "Comad", "Bouncing Balls", MACHINE_SUPPORTS_SAVE ) +GAME( 1991, bballsa, bballs, bballs, bballs, pushman_state, empty_init, ROT0, "Comad", "Bouncing Balls (Adult)", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/includes/tigeroad.h b/src/mame/includes/tigeroad.h index e81d8620b25..b272f303b5c 100644 --- a/src/mame/includes/tigeroad.h +++ b/src/mame/includes/tigeroad.h @@ -8,8 +8,6 @@ #include "cpu/z80/z80.h" #include "cpu/mcs51/mcs51.h" -#include "machine/gen_latch.h" - #include "sound/2203intf.h" #include "sound/msm5205.h" @@ -24,17 +22,15 @@ class tigeroad_state : public driver_device public: tigeroad_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) + , m_maincpu(*this, "maincpu") + , m_palette(*this, "palette") + , m_has_coinlock(true) , m_spriteram(*this, "spriteram") , m_videoram(*this, "videoram") - , m_ram16(*this, "ram16") - , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") , m_msm(*this, "msm") , m_gfxdecode(*this, "gfxdecode") - , m_palette(*this, "palette") , m_spritegen(*this, "spritegen") - , m_soundlatch(*this, "soundlatch") - , m_has_coinlock(true) { } void toramich(machine_config &config); @@ -42,39 +38,43 @@ public: void f1dream_comad(machine_config &config); protected: - required_device m_spriteram; - required_shared_ptr m_videoram; - required_shared_ptr m_ram16; - int m_bgcharbank; - tilemap_t *m_bg_tilemap; - tilemap_t *m_fg_tilemap; - void tigeroad_soundcmd_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); - void tigeroad_videoram_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); - void tigeroad_videoctrl_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); - void tigeroad_scroll_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); - void msm5205_w(uint8_t data); - TILE_GET_INFO_MEMBER(get_bg_tile_info); - TILE_GET_INFO_MEMBER(get_fg_tile_info); - TILEMAP_MAPPER_MEMBER(tigeroad_tilemap_scan); - virtual void video_start() override; - uint32_t screen_update_tigeroad(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); required_device m_maincpu; + required_device m_palette; + + void soundcmd_w(offs_t offset, u16 data, u16 mem_mask = ~0); + void videoram_w(offs_t offset, u16 data, u16 mem_mask = ~0); + void videoctrl_w(u8 data); + void scroll_w(offs_t offset, u16 data, u16 mem_mask = ~0); + + void main_map(address_map &map); + // misc + bool m_has_coinlock; + +private: + required_device m_spriteram; + required_shared_ptr m_videoram; required_device m_audiocpu; optional_device m_msm; required_device m_gfxdecode; - required_device m_palette; required_device m_spritegen; - required_device m_soundlatch; + + u8 m_bgcharbank; + tilemap_t *m_bg_tilemap; + tilemap_t *m_fg_tilemap; void comad_sound_io_map(address_map &map); void comad_sound_map(address_map &map); - void main_map(address_map &map); void sample_map(address_map &map); void sample_port_map(address_map &map); void sound_map(address_map &map); void sound_port_map(address_map &map); - /* misc */ - bool m_has_coinlock; + + void msm5205_w(u8 data); + TILE_GET_INFO_MEMBER(get_bg_tile_info); + TILE_GET_INFO_MEMBER(get_fg_tile_info); + TILEMAP_MAPPER_MEMBER(tigeroad_tilemap_scan); + virtual void video_start() override; + u32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); }; @@ -97,20 +97,21 @@ public: void pushman(machine_config &config); void bballs(machine_config &config); +protected: + virtual void machine_start() override; + private: - uint16_t mcu_comm_r(offs_t offset, uint16_t mem_mask = ~0); - void pushman_mcu_comm_w(offs_t offset, uint16_t data); - void bballs_mcu_comm_w(uint16_t data); + u16 mcu_comm_r(offs_t offset, u16 mem_mask = ~0); + void pushman_mcu_comm_w(offs_t offset, u16 data); + void bballs_mcu_comm_w(u16 data); - void mcu_pa_w(uint8_t data); - void mcu_pb_w(uint8_t data); - void mcu_pc_w(uint8_t data); + void mcu_pa_w(u8 data); + void mcu_pb_w(u8 data); + void mcu_pc_w(u8 data); void bballs_map(address_map &map); void pushman_map(address_map &map); - virtual void machine_start() override; - required_device m_mcu; bool m_host_semaphore, m_mcu_semaphore; @@ -125,23 +126,28 @@ public: f1dream_state(const machine_config &mconfig, device_type type, const char *tag) : tigeroad_state(mconfig, type, tag) , m_mcu(*this, "mcu") + , m_ram16(*this, "ram16") , m_old_p3(0xff) { } void f1dream(machine_config &config); +protected: + virtual void machine_start() override; + private: void f1dream_map(address_map &map); void f1dream_mcu_io(address_map &map); - void out3_w(uint8_t data); + void out3_w(u8 data); - uint8_t mcu_shared_r(offs_t offset); - void mcu_shared_w(offs_t offset, uint8_t data); + u8 mcu_shared_r(offs_t offset); + void mcu_shared_w(offs_t offset, u8 data); - void blktiger_to_mcu_w(uint16_t data); + void to_mcu_w(u16 data); required_device m_mcu; - uint8_t m_old_p3; + required_shared_ptr m_ram16; + u8 m_old_p3; }; diff --git a/src/mame/machine/tigeroad.cpp b/src/mame/machine/tigeroad.cpp index 3a25afcd373..7515190ba90 100644 --- a/src/mame/machine/tigeroad.cpp +++ b/src/mame/machine/tigeroad.cpp @@ -3,7 +3,7 @@ #include "emu.h" #include "includes/tigeroad.h" -uint16_t pushman_state::mcu_comm_r(offs_t offset, uint16_t mem_mask) +u16 pushman_state::mcu_comm_r(offs_t offset, u16 mem_mask) { switch (offset & 0x03) { @@ -20,7 +20,7 @@ uint16_t pushman_state::mcu_comm_r(offs_t offset, uint16_t mem_mask) return 0xffff; } -void pushman_state::pushman_mcu_comm_w(offs_t offset, uint16_t data) +void pushman_state::pushman_mcu_comm_w(offs_t offset, u16 data) { switch (offset & 0x01) { @@ -35,24 +35,24 @@ void pushman_state::pushman_mcu_comm_w(offs_t offset, uint16_t data) } } -void pushman_state::bballs_mcu_comm_w(uint16_t data) +void pushman_state::bballs_mcu_comm_w(u16 data) { m_host_latch = data; m_host_semaphore = true; m_mcu->set_input_line(M68705_IRQ_LINE, ASSERT_LINE); } -void pushman_state::mcu_pa_w(uint8_t data) +void pushman_state::mcu_pa_w(u8 data) { m_mcu_output = (m_mcu_output & 0xff00) | (u16(data) & 0x00ff); } -void pushman_state::mcu_pb_w(uint8_t data) +void pushman_state::mcu_pb_w(u8 data) { m_mcu_output = (m_mcu_output & 0x00ff) | (u16(data) << 8); } -void pushman_state::mcu_pc_w(uint8_t data) +void pushman_state::mcu_pc_w(u8 data) { if (BIT(data, 0)) { diff --git a/src/mame/video/tigeroad.cpp b/src/mame/video/tigeroad.cpp index ec39168588c..647355588dc 100644 --- a/src/mame/video/tigeroad.cpp +++ b/src/mame/video/tigeroad.cpp @@ -4,53 +4,46 @@ #include "includes/tigeroad.h" -void tigeroad_state::tigeroad_videoram_w(offs_t offset, uint16_t data, uint16_t mem_mask) +void tigeroad_state::videoram_w(offs_t offset, u16 data, u16 mem_mask) { COMBINE_DATA(&m_videoram[offset]); m_fg_tilemap->mark_tile_dirty(offset); } -void tigeroad_state::tigeroad_videoctrl_w(offs_t offset, uint16_t data, uint16_t mem_mask) +void tigeroad_state::videoctrl_w(u8 data) { - int bank; + // bit 1 flips screen - if (ACCESSING_BITS_8_15) + if (flip_screen() != (data & 0x02)) { - data = (data >> 8) & 0xff; - - /* bit 1 flips screen */ - - if (flip_screen() != (data & 0x02)) - { - flip_screen_set(data & 0x02); - machine().tilemap().mark_all_dirty(); - } + flip_screen_set(data & 0x02); + machine().tilemap().mark_all_dirty(); + } - /* bit 2 selects bg char bank */ + // bit 2 selects bg char bank - bank = (data & 0x04) >> 2; + u8 bank = (data & 0x04) >> 2; - if (m_bgcharbank != bank) - { - m_bgcharbank = bank; - m_bg_tilemap->mark_all_dirty(); - } + if (m_bgcharbank != bank) + { + m_bgcharbank = bank; + m_bg_tilemap->mark_all_dirty(); + } - /* bits 4-5 are coin lockouts */ - if (m_has_coinlock) - { - machine().bookkeeping().coin_lockout_w(0, !(data & 0x10)); - machine().bookkeeping().coin_lockout_w(1, !(data & 0x20)); - } + // bits 4-5 are coin lockouts + if (m_has_coinlock) + { + machine().bookkeeping().coin_lockout_w(0, !(data & 0x10)); + machine().bookkeeping().coin_lockout_w(1, !(data & 0x20)); + } - /* bits 6-7 are coin counters */ + // bits 6-7 are coin counters - machine().bookkeeping().coin_counter_w(0, data & 0x40); - machine().bookkeeping().coin_counter_w(1, data & 0x80); - } + machine().bookkeeping().coin_counter_w(0, data & 0x40); + machine().bookkeeping().coin_counter_w(1, data & 0x80); } -void tigeroad_state::tigeroad_scroll_w(offs_t offset, uint16_t data, uint16_t mem_mask) +void tigeroad_state::scroll_w(offs_t offset, u16 data, u16 mem_mask) { int scroll = 0; @@ -71,7 +64,7 @@ void tigeroad_state::tigeroad_scroll_w(offs_t offset, uint16_t data, uint16_t me TILE_GET_INFO_MEMBER(tigeroad_state::get_bg_tile_info) { - uint8_t *tilerom = memregion("bgmap")->base(); + u8 *tilerom = memregion("bgmap")->base(); int data = tilerom[tile_index]; int attr = tilerom[tile_index + 1]; @@ -85,8 +78,7 @@ TILE_GET_INFO_MEMBER(tigeroad_state::get_bg_tile_info) TILE_GET_INFO_MEMBER(tigeroad_state::get_fg_tile_info) { - uint16_t *videoram = m_videoram; - int data = videoram[tile_index]; + int data = m_videoram[tile_index]; int attr = data >> 8; int code = (data & 0xff) + ((attr & 0xc0) << 2) + ((attr & 0x20) << 5); int color = attr & 0x0f; @@ -97,7 +89,7 @@ TILE_GET_INFO_MEMBER(tigeroad_state::get_fg_tile_info) TILEMAP_MAPPER_MEMBER(tigeroad_state::tigeroad_tilemap_scan) { - /* logical (col,row) -> memory offset */ + // logical (col,row) -> memory offset return 2 * (col % 8) + 16 * ((127 - row) % 8) + 128 * (col / 8) + 2048 * ((127 - row) / 8); } @@ -115,9 +107,11 @@ void tigeroad_state::video_start() m_bg_tilemap->set_transmask(1, 0x1ff, 0xfe00); m_fg_tilemap->set_transparent_pen(3); + + save_item(NAME(m_bgcharbank)); } -uint32_t tigeroad_state::screen_update_tigeroad(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +u32 tigeroad_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { m_bg_tilemap->draw(screen, bitmap, cliprect, TILEMAP_DRAW_LAYER1, 0); m_spritegen->draw_sprites(bitmap, cliprect, m_spriteram->buffer(), m_spriteram->bytes(), flip_screen(), true); -- cgit v1.2.3