mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-22 09:30:32 +00:00
Show more state information for debugging output.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
def89dbcce
commit
0e8813cdf3
@ -47,7 +47,12 @@ std::string EightBit::Disassembler::state(Z80& cpu) {
|
||||
<< " " << "D=" << hex(d) << " " << "E=" << hex(e)
|
||||
<< " " << "H=" << hex(h) << " " << "L=" << hex(l)
|
||||
<< " " << "I=" << hex(i) << " " << "R=" << hex(r)
|
||||
<< " " << "IM=" << im;
|
||||
<< " " << "IM=" << im
|
||||
<< " " << "IFF1=" << cpu.IFF1()
|
||||
<< " " << (Device::lowered(cpu.RESET()) ? "R" : "-")
|
||||
<< (Device::lowered(cpu.INT()) ? "I" : "-")
|
||||
<< (Device::lowered(cpu.HALT()) ? "H" : "-")
|
||||
<< (Device::lowered(cpu.NMI()) ? "N" : "-");
|
||||
|
||||
return output.str();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user