diff --git a/src/defc.h b/src/defc.h index cf619ca..d817191 100644 --- a/src/defc.h +++ b/src/defc.h @@ -152,6 +152,7 @@ STRUCT(Fplus) { }; STRUCT(Engine_reg) { + Fplus *fplus_ptr; double fcycles; word32 kpc; word32 acc; @@ -164,7 +165,7 @@ STRUCT(Engine_reg) { word32 direct; word32 psr; - Fplus *fplus_ptr; + word32 flags; }; STRUCT(Kimage) { diff --git a/src/defcomm.h b/src/defcomm.h index 25b44cb..643ae08 100644 --- a/src/defcomm.h +++ b/src/defcomm.h @@ -49,17 +49,21 @@ #define BANK_BAD_MEM (&g_dummy_memory1_ptr[0xff]) - -#define ENGINE_FCYCLES 0x00 -#define ENGINE_REG_KPC 0x08 -#define ENGINE_REG_ACC 0x0c -#define ENGINE_REG_XREG 0x10 -#define ENGINE_REG_YREG 0x14 -#define ENGINE_REG_STACK 0x18 -#define ENGINE_REG_DBANK 0x1c -#define ENGINE_REG_DIRECT 0x20 -#define ENGINE_REG_PSR 0x24 -#define ENGINE_FPLUS_PTR 0x28 +/* + * this is only relevant for the PA RISC asm. + * + */ +#define ENGINE_FPLUS_PTR 0x00 +#define ENGINE_FCYCLES 0x08 +#define ENGINE_REG_KPC 0x10 +#define ENGINE_REG_ACC 0x14 +#define ENGINE_REG_XREG 0x18 +#define ENGINE_REG_YREG 0x1c +#define ENGINE_REG_STACK 0x20 +#define ENGINE_REG_DBANK 0x24 +#define ENGINE_REG_DIRECT 0x28 +#define ENGINE_REG_PSR 0x2c +#define ENGINE_FLAGS 0x30 #define LOG_PC_DCYCS 0x00 #define LOG_PC_DBANK_KPC 0x08