From 15be1a3421956600cf3a773b96bf7aaf8f092d04 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 28 Mar 2017 00:13:35 -0700 Subject: Implemented M68K trace mode. Some edge cases/SR update paths still need work --- m68k_core.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'm68k_core.h') diff --git a/m68k_core.h b/m68k_core.h index 786447f..48a2a90 100644 --- a/m68k_core.h +++ b/m68k_core.h @@ -21,6 +21,8 @@ struct m68kinst; #define INT_PENDING_SR_CHANGE 254 #define INT_PENDING_NONE 255 +#define M68K_STATUS_TRACE 0x80 + typedef void (*start_fun)(uint8_t * addr, void * context); typedef struct { @@ -78,6 +80,7 @@ typedef struct m68k_context { m68k_options *options; void *system; uint8_t int_pending; + uint8_t trace_pending; uint8_t should_return; uint8_t ram_code_flags[]; } m68k_context; -- cgit v1.2.3