missed these (nw)

This commit is contained in:
smf- 2016-12-03 00:09:27 +00:00
parent b90375bf65
commit 8ab4957f97
3 changed files with 15 additions and 3 deletions

View File

@ -555,7 +555,7 @@ void i80186_cpu_device::device_start()
state_add( I8086_DS, "DS", m_sregs[DS] ).formatstr("%04X");
state_add( I8086_VECTOR, "V", m_int_vector).formatstr("%02X");
state_add(STATE_GENPC, "PC", m_pc).formatstr("%05X");
state_add(STATE_GENPC, "PC", m_pc).callimport().formatstr("%05X");
state_add(STATE_GENPCBASE, "CURPC", m_pc).callimport().formatstr("%05X");
// register for savestates

View File

@ -273,11 +273,17 @@ void i80286_cpu_device::device_start()
state_add( I286_MSW, "MSW", m_msw ).formatstr("%04X");
state_add( I286_VECTOR, "V", m_int_vector).formatstr("%02X");
state_add(STATE_GENPC, "PC", m_pc).formatstr("%06X");
state_add(STATE_GENPC, "PC", m_pc).callimport().formatstr("%06X");
state_add(STATE_GENPCBASE, "CURPC", m_pc).callimport().formatstr("%06X");
m_out_shutdown_func.resolve_safe();
}
//-------------------------------------------------
// state_string_export - export state as a string
// for the debugger
//-------------------------------------------------
void i80286_cpu_device::state_string_export(const device_state_entry &entry, std::string &str) const
{
switch (entry.index())

View File

@ -273,7 +273,7 @@ void i8086_cpu_device::device_start()
state_add( I8086_DS, "DS", m_sregs[DS] ).formatstr("%04X");
state_add( I8086_VECTOR, "V", m_int_vector).formatstr("%02X");
state_add(STATE_GENPC, "PC", m_pc).formatstr("%05X");
state_add(STATE_GENPC, "PC", m_pc).callimport().formatstr("%05X");
state_add(STATE_GENPCBASE, "CURPC", m_pc).callimport().formatstr("%05X");
}
@ -341,6 +341,12 @@ void i8086_common_cpu_device::state_import(const device_state_entry &entry)
}
}
//-------------------------------------------------
// state_string_export - export state as a string
// for the debugger
//-------------------------------------------------
void i8086_common_cpu_device::state_string_export(const device_state_entry &entry, std::string &str) const
{
switch (entry.index())