mirror of https://github.com/jscrane/r65emu.git
...
This commit is contained in:
parent
feb219dd2e
commit
4f81164da9
|
@ -41,7 +41,7 @@ void i8080::ei() {
|
||||||
|
|
||||||
char *i8080::status(char *buf, size_t n, bool hdr) {
|
char *i8080::status(char *buf, size_t n, bool hdr) {
|
||||||
byte op = _mem[PC];
|
byte op = _mem[PC];
|
||||||
snprintf(buf, n,
|
snprintf(buf, n,
|
||||||
"%s%04x %02x %02x %04x %04x %04x %04x %d%d%d%d%d%d%d%d",
|
"%s%04x %02x %02x %04x %04x %04x %04x %d%d%d%d%d%d%d%d",
|
||||||
hdr? "_pc_ op aa _bc_ _de_ _hl_ _sp_ szih_p_c\r": "",
|
hdr? "_pc_ op aa _bc_ _de_ _hl_ _sp_ szih_p_c\r": "",
|
||||||
PC, op, A, BC, DE, HL, SP, flags.S, flags.Z, flags.I, flags.H,
|
PC, op, A, BC, DE, HL, SP, flags.S, flags.Z, flags.I, flags.H,
|
||||||
|
|
Loading…
Reference in New Issue