summaryrefslogtreecommitdiff
path: root/sux.h
diff options
context:
space:
mode:
Diffstat (limited to 'sux.h')
-rw-r--r--sux.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sux.h b/sux.h
index 6d4d283..9af8128 100644
--- a/sux.h
+++ b/sux.h
@@ -24,6 +24,9 @@
extern uint8_t kbd_rdy;
extern WINDOW *scr;
+extern WINDOW *regs;
+extern WINDOW *inst_win;
+extern WINDOW *dbg_win;
#if debug
extern uint8_t subdbg;
@@ -52,8 +55,9 @@ extern pthread_cond_t cond;
extern pthread_cond_t main_cond;
#if debug
-extern void print_regs(struct sux *cpu, uint8_t lines, uint8_t thread);
-extern void disasm(struct sux *cpu, uint8_t lines, uint8_t opcode, uint8_t prefix, uint8_t ext_prefix, uint8_t prefix2, uint8_t *op_type, uint8_t *op_id, uint8_t thread);
+extern void print_info(struct sux *cpu, WINDOW *w, uint8_t lines, uint8_t thread);
+extern void print_regs(struct sux *cpu, WINDOW *w);
+extern void disasm(struct sux *cpu, WINDOW *w, uint8_t lines, uint8_t opcode, uint8_t prefix, uint8_t ext_prefix, uint8_t prefix2, uint8_t *op_type, uint8_t *op_id, uint8_t thread);
#endif
/*#define KEYBUF_SIZE 0x40