MT 08358: fixed catchp regression.
This commit is contained in:
parent
e19a963efc
commit
11d060473b
@ -28,6 +28,8 @@
|
|||||||
If you have any questions about how this driver works, don't hesitate to
|
If you have any questions about how this driver works, don't hesitate to
|
||||||
ask. - Mike Balfour (mab22@po.cwru.edu)
|
ask. - Mike Balfour (mab22@po.cwru.edu)
|
||||||
|
|
||||||
|
Disassembly shows Catch never uses 2003 or 3000.
|
||||||
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
@ -117,8 +119,6 @@ void avalnche_state::catch_map(address_map &map)
|
|||||||
map(0x2000, 0x2000).mirror(0x0ffc).portr("IN0");
|
map(0x2000, 0x2000).mirror(0x0ffc).portr("IN0");
|
||||||
map(0x2001, 0x2001).mirror(0x0ffc).portr("IN1");
|
map(0x2001, 0x2001).mirror(0x0ffc).portr("IN1");
|
||||||
map(0x2002, 0x2002).mirror(0x0ffc).portr("PADDLE");
|
map(0x2002, 0x2002).mirror(0x0ffc).portr("PADDLE");
|
||||||
map(0x2003, 0x2003).mirror(0x0ffc).nopr();
|
|
||||||
map(0x3000, 0x3000).mirror(0x0fff).w("watchdog", FUNC(watchdog_timer_device::reset_w));
|
|
||||||
map(0x4000, 0x4007).mirror(0x0ff8).w("latch", FUNC(f9334_device::write_d0));
|
map(0x4000, 0x4007).mirror(0x0ff8).w("latch", FUNC(f9334_device::write_d0));
|
||||||
map(0x6000, 0x6000).mirror(0x0fff).w(FUNC(avalnche_state::catch_coin_counter_w));
|
map(0x6000, 0x6000).mirror(0x0fff).w(FUNC(avalnche_state::catch_coin_counter_w));
|
||||||
map(0x7000, 0x7fff).rom();
|
map(0x7000, 0x7fff).rom();
|
||||||
@ -231,8 +231,6 @@ void avalnche_state::avalnche_base(machine_config &config)
|
|||||||
m_latch->q_out_cb<7>().set_output("led2"); // START LAMP
|
m_latch->q_out_cb<7>().set_output("led2"); // START LAMP
|
||||||
// Q1, Q4, Q5, Q6 are configured in audio/avalnche.cpp
|
// Q1, Q4, Q5, Q6 are configured in audio/avalnche.cpp
|
||||||
|
|
||||||
WATCHDOG_TIMER(config, "watchdog").set_vblank_count("screen", 10);
|
|
||||||
|
|
||||||
/* video hardware */
|
/* video hardware */
|
||||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||||
screen.set_raw(12.096_MHz_XTAL / 2, 384, 0, 256, 262, 16, 256);
|
screen.set_raw(12.096_MHz_XTAL / 2, 384, 0, 256, 262, 16, 256);
|
||||||
@ -244,6 +242,8 @@ void avalnche_state::avalnche(machine_config &config)
|
|||||||
avalnche_base(config);
|
avalnche_base(config);
|
||||||
/* sound hardware */
|
/* sound hardware */
|
||||||
avalnche_sound(config);
|
avalnche_sound(config);
|
||||||
|
|
||||||
|
WATCHDOG_TIMER(config, "watchdog").set_vblank_count("screen", 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
void avalnche_state::acatch(machine_config &config)
|
void avalnche_state::acatch(machine_config &config)
|
||||||
|
Loading…
Reference in New Issue
Block a user