summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/taito_b.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/taito_b.cpp')
-rw-r--r--src/mame/drivers/taito_b.cpp57
1 files changed, 11 insertions, 46 deletions
diff --git a/src/mame/drivers/taito_b.cpp b/src/mame/drivers/taito_b.cpp
index 0579c45760f..9ead813b58a 100644
--- a/src/mame/drivers/taito_b.cpp
+++ b/src/mame/drivers/taito_b.cpp
@@ -363,7 +363,7 @@ void taitob_state::tetrista_map(address_map &map)
}
-void taitob_state::hitice_map(address_map &map)
+void hitice_state::hitice_map(address_map &map)
{
map(0x000000, 0x07ffff).rom();
map(0x400000, 0x47ffff).m(m_tc0180vcu, FUNC(tc0180vcu_device::tc0180vcu_memrw));
@@ -374,8 +374,8 @@ void taitob_state::hitice_map(address_map &map)
map(0x700002, 0x700002).rw("ciu", FUNC(pc060ha_device::master_comm_r), FUNC(pc060ha_device::master_comm_w));
map(0x800000, 0x803fff).ram(); /* Main RAM */
map(0xa00000, 0xa01fff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
- map(0xb00000, 0xb7ffff).ram().w(FUNC(taitob_state::hitice_pixelram_w)).share("pixelram");
- map(0xbffff0, 0xbffff5).w(FUNC(taitob_state::hitice_pixel_scroll_w));
+ map(0xb00000, 0xb7ffff).ram().w(FUNC(hitice_state::pixelram_w)).share("pixelram");
+ map(0xbffff0, 0xbffff5).w(FUNC(hitice_state::pixel_scroll_w));
// { 0xbffffa, 0xbffffb, ???
}
@@ -1759,8 +1759,6 @@ void taitob_state::rastsag2(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x40);
m_tc0180vcu->set_bg_colorbase(0xc0);
@@ -1815,8 +1813,6 @@ void taitob_state::masterw(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x10);
m_tc0180vcu->set_bg_colorbase(0x30);
@@ -1888,8 +1884,6 @@ void taitob_state::ashura(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x40);
m_tc0180vcu->set_bg_colorbase(0xc0);
@@ -1944,8 +1938,6 @@ void taitob_state::crimec(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x80);
m_tc0180vcu->set_bg_colorbase(0x00);
@@ -1970,14 +1962,14 @@ void taitob_state::crimec(machine_config &config)
}
-void taitob_state::hitice(machine_config &config)
+void hitice_state::hitice(machine_config &config)
{
/* basic machine hardware */
M68000(config, m_maincpu, 24_MHz_XTAL / 2); /* 12 MHz */
- m_maincpu->set_addrmap(AS_PROGRAM, &taitob_state::hitice_map);
+ m_maincpu->set_addrmap(AS_PROGRAM, &hitice_state::hitice_map);
Z80(config, m_audiocpu, 24_MHz_XTAL / 4); /* 6 MHz Z80B */
- m_audiocpu->set_addrmap(AS_PROGRAM, &taitob_state::viofight_sound_map);
+ m_audiocpu->set_addrmap(AS_PROGRAM, &hitice_state::viofight_sound_map);
config.m_minimum_quantum = attotime::from_hz(600);
@@ -1986,7 +1978,7 @@ void taitob_state::hitice(machine_config &config)
m_tc0220ioc->read_1_callback().set_ioport("DSWB");
m_tc0220ioc->read_2_callback().set_ioport("IN0");
m_tc0220ioc->read_3_callback().set_ioport("IN1");
- m_tc0220ioc->write_4_callback().set(FUNC(taitob_state::player_12_coin_ctrl_w));
+ m_tc0220ioc->write_4_callback().set(FUNC(hitice_state::player_12_coin_ctrl_w));
m_tc0220ioc->read_7_callback().set_ioport("IN2");
/* video hardware */
@@ -1995,14 +1987,11 @@ void taitob_state::hitice(machine_config &config)
m_screen->set_vblank_time(ATTOSECONDS_IN_USEC(0));
m_screen->set_size(64*8, 32*8);
m_screen->set_visarea(0*8, 40*8-1, 2*8, 30*8-1);
- m_screen->set_screen_update(FUNC(taitob_state::screen_update_taitob));
+ m_screen->set_screen_update(FUNC(hitice_state::screen_update_taitob));
m_screen->set_palette(m_palette);
PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,hitice)
- MCFG_VIDEO_RESET_OVERRIDE(taitob_state,hitice)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4); // nominally "6.6 MHZ"
m_tc0180vcu->set_fb_colorbase(0x40);
m_tc0180vcu->set_bg_colorbase(0xc0);
@@ -2062,8 +2051,6 @@ void taitob_state::rambo3p(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x40);
m_tc0180vcu->set_bg_colorbase(0xc0);
@@ -2118,8 +2105,6 @@ void taitob_state::rambo3(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x10);
m_tc0180vcu->set_bg_colorbase(0x30);
@@ -2179,8 +2164,6 @@ void taitob_state::pbobble(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RRRRGGGGBBBBRGBx, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x80);
m_tc0180vcu->set_bg_colorbase(0x00);
@@ -2240,8 +2223,6 @@ void taitob_state::spacedx(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RRRRGGGGBBBBRGBx, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x80);
m_tc0180vcu->set_bg_colorbase(0x00);
@@ -2296,8 +2277,6 @@ void taitob_state::spacedxo(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RRRRGGGGBBBBRGBx, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x10);
m_tc0180vcu->set_bg_colorbase(0x30);
@@ -2357,8 +2336,6 @@ void taitob_state::qzshowby(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RRRRGGGGBBBBRGBx, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x80);
m_tc0180vcu->set_bg_colorbase(0x00);
@@ -2413,8 +2390,6 @@ void taitob_state::viofight(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x10);
m_tc0180vcu->set_bg_colorbase(0x30);
@@ -2474,8 +2449,6 @@ void taitob_state::silentd(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RRRRGGGGBBBBRGBx, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x10);
m_tc0180vcu->set_bg_colorbase(0x30);
@@ -2530,8 +2503,6 @@ void taitob_state::selfeena(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RRRRGGGGBBBBRGBx, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x10);
m_tc0180vcu->set_bg_colorbase(0x30);
@@ -2595,8 +2566,6 @@ void taitob_state::ryujin(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RRRRGGGGBBBBRGBx, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x10);
m_tc0180vcu->set_bg_colorbase(0x30);
@@ -2658,8 +2627,6 @@ void taitob_state::sbm(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_state,taitob_core)
-
TC0180VCU(config, m_tc0180vcu, 27.164_MHz_XTAL / 4);
m_tc0180vcu->set_fb_colorbase(0x40);
m_tc0180vcu->set_bg_colorbase(0xc0);
@@ -2714,8 +2681,6 @@ void taitob_c_state::realpunc(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::RGBx_444, 4096);
- MCFG_VIDEO_START_OVERRIDE(taitob_c_state,realpunc)
-
hd63484_device &hd63484(HD63484(config, "hd63484", 0));
hd63484.set_addrmap(0, &taitob_c_state::realpunc_hd63484_map);
hd63484.set_auto_configure_screen(false);
@@ -3599,9 +3564,9 @@ GAME( 1990, ashura, 0, ashura, ashura, taitob_state, init_taito_b,
GAME( 1990, ashuraj, ashura, ashura, ashuraj, taitob_state, init_taito_b, ROT270, "Taito Corporation", "Ashura Blaster (Japan)", MACHINE_SUPPORTS_SAVE )
GAME( 1990, ashurau, ashura, ashura, ashurau, taitob_state, init_taito_b, ROT270, "Taito America Corporation", "Ashura Blaster (US)", MACHINE_SUPPORTS_SAVE )
-GAME( 1990, hitice, 0, hitice, hitice, taitob_state, init_taito_b, ROT0, "Taito Corporation (Williams license)", "Hit the Ice (US)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE )
-GAME( 1990, hiticerb, hitice, hitice, hitice, taitob_state, init_taito_b, ROT0, "Taito Corporation (Williams license)", "Hit the Ice (US, with riser board)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE )
-GAME( 1990, hiticej, hitice, hitice, hiticej, taitob_state, init_taito_b, ROT0, "Taito Corporation (licensed from Midway)", "Hit the Ice (Japan)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE )
+GAME( 1990, hitice, 0, hitice, hitice, hitice_state, init_taito_b, ROT0, "Taito Corporation (Williams license)", "Hit the Ice (US)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE )
+GAME( 1990, hiticerb, hitice, hitice, hitice, hitice_state, init_taito_b, ROT0, "Taito Corporation (Williams license)", "Hit the Ice (US, with riser board)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE )
+GAME( 1990, hiticej, hitice, hitice, hiticej, hitice_state, init_taito_b, ROT0, "Taito Corporation (licensed from Midway)", "Hit the Ice (Japan)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE )
GAME( 1991, selfeena, 0, selfeena, selfeena, taitob_state, init_taito_b, ROT0, "East Technology", "Sel Feena", MACHINE_SUPPORTS_SAVE )