summaryrefslogtreecommitdiff
path: root/sux.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-12-08 10:42:10 -0500
committermrb0nk500 <b0nk@b0nk.xyz>2020-12-09 21:21:22 -0500
commite0aabb7c88e3b5b3cdc750146a19d642a79c4659 (patch)
tree33334e3032890bdfe8a323e76f71588fd0b3ed50 /sux.h
parentf8965c0fb6294729e3e622b7802f13e2d2812696 (diff)
- Implemented support for the Orthogonal extension intonew-assembler
both the assembler, and the emulator. I finally figured out how I could get support for the Ortho extension implemented into the old assembler. The only reason for doing this, is to buy me some while I start work on the new assembler, and to help me get an idea for how to do the same in the new assembler.
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