--- hatari/src/includes/m68000.h 2019/04/01 07:14:46 1.1.1.11 +++ hatari/src/includes/m68000.h 2019/04/01 07:15:29 1.1.1.12 @@ -148,11 +148,17 @@ static inline void M68000_SetSR(Uint16 v #define BUS_ERROR_READ 1 +/* bus acces mode */ +#define BUS_MODE_CPU 0 /* bus is owned by the cpu */ +#define BUS_MODE_BLITTER 1 /* bus is owned by the blitter */ + + extern Uint32 BusErrorAddress; extern Uint32 BusErrorPC; extern bool bBusErrorReadWrite; extern int nCpuFreqShift; extern int nWaitStateCycles; +extern int BusMode; extern int LastOpcodeFamily; extern int LastInstrCycles;