mirror of
https://github.com/holub/mame
synced 2025-05-28 16:43:04 +03:00
segaxbd.cpp: Watchdog type is MB3773 (nw)
This commit is contained in:
parent
e8d627ceb8
commit
8a4a4987c6
@ -499,8 +499,6 @@ WRITE16_MEMBER( segaxbd_state::adc_w )
|
||||
|
||||
WRITE8_MEMBER(segaxbd_state::pc_0_w)
|
||||
{
|
||||
// swap in the new value and remember the previous value
|
||||
uint8_t oldval = m_pc_0;
|
||||
m_pc_0 = data;
|
||||
|
||||
// Output port:
|
||||
@ -510,8 +508,7 @@ WRITE8_MEMBER(segaxbd_state::pc_0_w)
|
||||
// D4-D2: (ADC2-0)
|
||||
// D1: (CONT) - affects sprite hardware
|
||||
// D0: Sound section reset (1= normal operation, 0= reset)
|
||||
if (((oldval ^ data) & 0x40) && !(data & 0x40))
|
||||
m_watchdog->watchdog_reset();
|
||||
m_watchdog->write_line_ck(BIT(data, 6));
|
||||
|
||||
m_segaic16vid->set_display_enable(data & 0x20);
|
||||
|
||||
@ -1689,7 +1686,7 @@ static MACHINE_CONFIG_FRAGMENT( xboard )
|
||||
MCFG_NVRAM_ADD_0FILL("backup2")
|
||||
MCFG_QUANTUM_TIME(attotime::from_hz(6000))
|
||||
|
||||
MCFG_WATCHDOG_ADD("watchdog")
|
||||
MCFG_MB3773_ADD("watchdog")
|
||||
|
||||
MCFG_SEGA_315_5248_MULTIPLIER_ADD("multiplier_main")
|
||||
MCFG_SEGA_315_5248_MULTIPLIER_ADD("multiplier_subx")
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "cpu/mcs51/mcs51.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "machine/gen_latch.h"
|
||||
#include "machine/watchdog.h"
|
||||
#include "machine/mb3773.h"
|
||||
#include "machine/segaic16.h"
|
||||
#include "video/segaic16.h"
|
||||
#include "video/segaic16_road.h"
|
||||
@ -95,7 +95,7 @@ protected:
|
||||
required_device<z80_device> m_soundcpu;
|
||||
optional_device<z80_device> m_soundcpu2;
|
||||
optional_device<i8751_device> m_mcu;
|
||||
required_device<watchdog_timer_device> m_watchdog;
|
||||
required_device<mb3773_device> m_watchdog;
|
||||
required_device<sega_315_5250_compare_timer_device> m_cmptimer_1;
|
||||
required_device<sega_xboard_sprite_device> m_sprites;
|
||||
required_device<segaic16_video_device> m_segaic16vid;
|
||||
|
Loading…
Reference in New Issue
Block a user