allow compiling without 32x and sms code
[picodrive.git] / cpu / Cyclone / Cyclone.h
index 6e7ce02..fc7695e 100644 (file)
@@ -29,7 +29,7 @@ struct Cyclone
   unsigned int osp;     // [r7,#0x48] Other Stack Pointer (USP/SSP)\r
   unsigned int xc;      // [r7,#0x4c] Extend flag (bit29: ??X? _)\r
   unsigned int prev_pc; // [r7,#0x50] Set to start address of currently executed opcode + 2 (if enabled in config.h)\r
-  unsigned int reserved;// [r7,#0x54] Reserved for possible future use\r
+  unsigned int jumptab; // [r7,#0x54] Jump table pointer\r
   int state_flags;      // [r7,#0x58] bit: 0: stopped state, 1: trace state, 2: activity bit, 3: addr error, 4: fatal halt\r
   int cycles;           // [r7,#0x5c] Number of cycles to execute - 1. Updates to cycles left after CycloneRun()\r
   int membase;          // [r7,#0x60] Memory Base (ARM address minus 68000 address)\r
@@ -52,6 +52,9 @@ struct Cyclone
 // Initialize. Used only if Cyclone was compiled with compressed jumptable, see config.h\r
 void CycloneInit(void);\r
 \r
+// Reset\r
+void CycloneReset(struct Cyclone *pcy);\r
+\r
 // Run cyclone. Cycles should be specified in context (pcy->cycles)\r
 void CycloneRun(struct Cyclone *pcy);\r
 \r