From e0aabb7c88e3b5b3cdc750146a19d642a79c4659 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Tue, 8 Dec 2020 10:42:10 -0500 Subject: - Implemented support for the Orthogonal extension into 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. --- sux.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sux.h') 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 -- cgit v1.2.3-13-gbd6f