mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
v25: Make IDB register state visible to debugger
This commit is contained in:
parent
30231ff7ec
commit
456fd5e422
@ -539,6 +539,8 @@ void v25_common_device::device_start()
|
||||
state_add( V25_SS, "SS", m_debugger_temp).callimport().callexport().formatstr("%04X");
|
||||
state_add( V25_DS, "DS0", m_debugger_temp).callimport().callexport().formatstr("%04X");
|
||||
|
||||
state_add( V25_IDB, "IDB", m_IDB).mask(0xffe00).callimport();
|
||||
|
||||
state_add( STATE_GENPC, "GENPC", m_debugger_temp).callexport().noshow();
|
||||
state_add( STATE_GENPCBASE, "CURPC", m_debugger_temp).callexport().noshow();
|
||||
state_add( STATE_GENSP, "GENSP", m_debugger_temp).callimport().callexport().noshow();
|
||||
@ -641,6 +643,10 @@ void v25_common_device::state_import(const device_state_entry &entry)
|
||||
case V25_DS:
|
||||
Sreg(DS0) = m_debugger_temp;
|
||||
break;
|
||||
|
||||
case V25_IDB:
|
||||
m_IDB |= 0xe00;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -17,6 +17,7 @@ enum
|
||||
V25_PC=0,
|
||||
V25_IP, V25_AW, V25_CW, V25_DW, V25_BW, V25_SP, V25_BP, V25_IX, V25_IY,
|
||||
V25_FLAGS, V25_ES, V25_CS, V25_SS, V25_DS,
|
||||
V25_IDB,
|
||||
V25_PENDING
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user