X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2FCyclone%2FCyclone.h;h=fc7695e77db47f949dae1c79dc5bae11cf5e0954;hb=72de54727a87873e8ae30a1ddebe3d0342de7b10;hp=6e7ce02f5531d8f6c3ede168062eeda5cf6dad6b;hpb=0e11c502b05a9ccd67d34d1f0975852d8c3d4232;p=picodrive.git diff --git a/cpu/Cyclone/Cyclone.h b/cpu/Cyclone/Cyclone.h index 6e7ce02..fc7695e 100644 --- a/cpu/Cyclone/Cyclone.h +++ b/cpu/Cyclone/Cyclone.h @@ -29,7 +29,7 @@ struct Cyclone unsigned int osp; // [r7,#0x48] Other Stack Pointer (USP/SSP) unsigned int xc; // [r7,#0x4c] Extend flag (bit29: ??X? _) unsigned int prev_pc; // [r7,#0x50] Set to start address of currently executed opcode + 2 (if enabled in config.h) - unsigned int reserved;// [r7,#0x54] Reserved for possible future use + unsigned int jumptab; // [r7,#0x54] Jump table pointer int state_flags; // [r7,#0x58] bit: 0: stopped state, 1: trace state, 2: activity bit, 3: addr error, 4: fatal halt int cycles; // [r7,#0x5c] Number of cycles to execute - 1. Updates to cycles left after CycloneRun() int membase; // [r7,#0x60] Memory Base (ARM address minus 68000 address) @@ -52,6 +52,9 @@ struct Cyclone // Initialize. Used only if Cyclone was compiled with compressed jumptable, see config.h void CycloneInit(void); +// Reset +void CycloneReset(struct Cyclone *pcy); + // Run cyclone. Cycles should be specified in context (pcy->cycles) void CycloneRun(struct Cyclone *pcy);