mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
ns32000: fix 32532 reset
This commit is contained in:
parent
436ac7ace1
commit
8a5b34d5f5
@ -3888,9 +3888,16 @@ void ns32532_device::device_add_mconfig(machine_config &config)
|
|||||||
|
|
||||||
void ns32532_device::device_reset()
|
void ns32532_device::device_reset()
|
||||||
{
|
{
|
||||||
|
// TODO: pc and psr are saved in r0/r1 at reset
|
||||||
|
//m_r[0] = m_pc;
|
||||||
|
//m_r[1] = m_psr;
|
||||||
|
|
||||||
ns32000_device<32, 2>::device_reset();
|
ns32000_device<32, 2>::device_reset();
|
||||||
|
|
||||||
m_cfg = CFG_P | CFG_FC | CFG_FM | CFG_FF;
|
m_cfg = CFG_P | CFG_FC | CFG_FM | CFG_FF;
|
||||||
|
m_mcr = 0;
|
||||||
|
m_msr = 0;
|
||||||
|
m_dcr = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
device_memory_interface::space_config_vector ns32532_device::memory_space_config() const
|
device_memory_interface::space_config_vector ns32532_device::memory_space_config() const
|
||||||
|
Loading…
Reference in New Issue
Block a user