diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-03-28 00:13:35 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-03-28 00:13:35 -0700 |
commit | 15be1a3421956600cf3a773b96bf7aaf8f092d04 (patch) | |
tree | 377049a149b3cae59df5a804e393847823525ad8 /m68k_core.h | |
parent | 246813eedfa1274917f3a88755afd3a316ee8aae (diff) |
Implemented M68K trace mode. Some edge cases/SR update paths still need work
Diffstat (limited to 'm68k_core.h')
-rw-r--r-- | m68k_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |