mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
Small fix for z180 stat1 reset register, nw
This commit is contained in:
parent
1a23f11816
commit
13189c4800
@ -377,7 +377,7 @@ static void set_irq_line(z180_state *cpustate, int irqline, int state);
|
||||
#define Z180_STAT1_TDRE 0x02
|
||||
#define Z180_STAT1_TIE 0x01
|
||||
|
||||
#define Z180_STAT1_RESET 0x00
|
||||
#define Z180_STAT1_RESET 0x02
|
||||
#define Z180_STAT1_RMASK 0xff
|
||||
#define Z180_STAT1_WMASK 0x0d
|
||||
|
||||
|
@ -196,6 +196,7 @@ DIP locations verified from manuals for:
|
||||
#include "emu.h"
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "cpu/mcs48/mcs48.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/dac.h"
|
||||
#include "sound/3812intf.h"
|
||||
@ -1962,6 +1963,16 @@ static MACHINE_START( alpha68k_II )
|
||||
|
||||
}
|
||||
|
||||
|
||||
static ADDRESS_MAP_START( i8748_portmap, AS_IO, 8 )
|
||||
// AM_RANGE(MCS48_PORT_BUS, MCS48_PORT_BUS) AM_READ(saiyugoub1_mcu_command_r)
|
||||
// AM_RANGE(MCS48_PORT_T0, MCS48_PORT_T0) AM_DEVWRITE("adpcm", saiyugoub1_m5205_clk_w) /* Drives the clock on the m5205 at 1/8 of this frequency */
|
||||
// AM_RANGE(MCS48_PORT_T1, MCS48_PORT_T1) AM_READ(saiyugoub1_m5205_irq_r)
|
||||
// AM_RANGE(MCS48_PORT_P1, MCS48_PORT_P1) AM_WRITE(saiyugoub1_adpcm_rom_addr_w)
|
||||
// AM_RANGE(MCS48_PORT_P2, MCS48_PORT_P2) AM_DEVWRITE("adpcm", saiyugoub1_adpcm_control_w)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
|
||||
static MACHINE_CONFIG_START( sstingry, alpha68k_state )
|
||||
|
||||
/* basic machine hardware */
|
||||
@ -1976,6 +1987,10 @@ static MACHINE_CONFIG_START( sstingry, alpha68k_state )
|
||||
MCFG_CPU_PERIODIC_INT(irq0_line_hold, 2*60)
|
||||
MCFG_CPU_PERIODIC_INT(nmi_line_pulse, 4000)
|
||||
|
||||
MCFG_CPU_ADD("mcu", I8748, 9263750) /* 9.263750 MHz oscillator, divided by 3*5 internally */
|
||||
// MCFG_CPU_PROGRAM_MAP(i8748_map)
|
||||
MCFG_CPU_IO_MAP(i8748_portmap)
|
||||
|
||||
MCFG_MACHINE_START(common)
|
||||
MCFG_MACHINE_RESET(common)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user