From 8d9190cb14f287193196f422d49dbca0809980c7 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 9 Feb 2022 13:45:26 -0400 Subject: sux.{c,h}, opcode.h, disasm.c: Add code to use the new instruction handler for reading the interrupt vectors. --- sux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sux.h') diff --git a/sux.h b/sux.h index 949ccd1..4088629 100644 --- a/sux.h +++ b/sux.h @@ -60,7 +60,7 @@ extern pthread_cond_t main_cond; #if debug 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); +extern void disasm(struct sux *cpu, WINDOW *w, uint8_t lines, int 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