diff options
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -85,6 +85,9 @@ int get_key(WINDOW *scr) { puts("Reinitializing screen."); init_scr(); wrefresh(scr); + #if debug + wrefresh(regs); + #endif break; } #if debug && !bench @@ -304,6 +307,11 @@ void io(uint64_t address, uint8_t rw) { } kbd_rdy = 1; wrefresh(scr); + #if debug + wrefresh(regs); + wrefresh(inst_win); + wrefresh(dbg_win); + #endif addr[RX_ADDR] = get_key(scr); kbd_rdy = 0; break; @@ -333,7 +341,6 @@ void io(uint64_t address, uint8_t rw) { } else { handle_ctrlcode(addr[TX_ADDR]); } - //wrefresh(scr); break; } } |