--- hatari/src/uae-cpu/newcpu.h 2019/04/09 08:54:38 1.1.1.15 +++ hatari/src/uae-cpu/newcpu.h 2019/04/09 08:55:51 1.1.1.16 @@ -117,6 +117,8 @@ extern struct regstruct uae_u32 pc; uae_u8 *pc_p; uae_u8 *pc_oldp; + uae_u16 opcode; + uae_u32 instruction_pc; uae_u32 vbr,sfc,dfc; @@ -361,6 +363,10 @@ extern uae_u16 last_op_for_exception_3; extern uaecptr last_addr_for_exception_3; /* Address that generated the exception */ extern uaecptr last_fault_for_exception_3; +/* read (0) or write (1) access */ +extern int last_writeaccess_for_exception_3; +/* instruction (1) or data (0) access */ +extern int last_instructionaccess_for_exception_3; #define CPU_OP_NAME(a) op ## a