X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=cyclone68000.git;a=blobdiff_plain;f=Cyclone.h;h=fdcff59177370a36549c7fa79155184af40ed8ee;hp=c2c27d8d0d654948e95b1439fd84441cd4361815;hb=ee2d42257a2d52072f6b163f8ec279503241e9de;hpb=52ac6b1c8f65fe2477ffc3a7fc63ca8ae9d7e59f diff --git a/Cyclone.h b/Cyclone.h index c2c27d8..fdcff59 100644 --- a/Cyclone.h +++ b/Cyclone.h @@ -25,7 +25,7 @@ struct Cyclone unsigned int a[8]; // [r7,#0x20] unsigned int pc; // [r7,#0x40] Memory Base (.membase) + 68k PC unsigned char srh; // [r7,#0x44] Status Register high (T_S__III) - unsigned char unused; // [r7,#0x45] Unused + unsigned char not_pol;// [r7,#0x45] not polling unsigned char flags; // [r7,#0x46] Flags (ARM order: ____NZCV) [68k order is XNZVC] unsigned char irq; // [r7,#0x47] IRQ level unsigned int osp; // [r7,#0x48] Other Stack Pointer (USP/SSP) @@ -48,7 +48,10 @@ struct Cyclone int (*IrqCallback)(int int_level); // [r7,#0x8c] optional irq callback function, see config.h void (*ResetCallback)(void); // [r7,#0x90] if enabled in config.h, calls this whenever RESET opcode is encountered. int (*UnrecognizedCallback)(void); // [r7,#0x94] if enabled in config.h, calls this whenever unrecognized opcode is encountered. - unsigned int internal[6]; // [r7,#0x98] reserved for internal use, do not change. + void *internal_CycloneEnd; // [r7,#0x98] internal, do not modify + int internal_s_cycles; // [r7,#0x9c] internal, do not modify + void *internal_s_CycloneEnd; // [r7,#0xa0] internal, do not modify + unsigned int internal[3]; // [r7,#0xa4] reserved for internal use, do not change. }; // Initialize. Used only if Cyclone was compiled with compressed jumptable, see config.h