summaryrefslogtreecommitdiff
path: root/m68k_to_x86.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2012-12-21 16:04:41 -0800
committerMike Pavone <pavone@retrodev.com>2012-12-21 16:04:41 -0800
commit58fa30dc46cc5c5aeaabe9efd06351af1b82e12d (patch)
tree80a86c48bf18d92a70d9b1303ec38ab1496e983b /m68k_to_x86.h
parentf8015d35527f7e4a0850c2e38b6d97ef5c089ef0 (diff)
Implement a couple of supervisor instructions
Diffstat (limited to 'm68k_to_x86.h')
-rw-r--r--m68k_to_x86.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/m68k_to_x86.h b/m68k_to_x86.h
index f2b0a73..35a593d 100644
--- a/m68k_to_x86.h
+++ b/m68k_to_x86.h
@@ -31,9 +31,10 @@ typedef struct {
uint8_t status;
uint16_t reserved;
uint32_t dregs[8];
- uint32_t aregs[8];
- uint32_t target_cycle;
+ uint32_t aregs[9];
+ uint32_t target_cycle; //cycle at which the next synchronization or interrupt occurs
uint32_t current_cycle;
+ uint32_t sync_cycle;
uint16_t *mem_pointers[NUM_MEM_AREAS];
void *next_context;
uint16_t value;