--- hatari/src/includes/ioMemTables.h 2019/04/01 07:12:15 1.1 +++ hatari/src/includes/ioMemTables.h 2019/04/01 07:13:41 1.1.1.3 @@ -13,11 +13,19 @@ typedef struct { Uint32 Address; /* ST hardware address */ int SpanInBytes; /* E.g. SIZE_BYTE, SIZE_WORD or SIZE_LONG */ - void *ReadFunc; /* Read function */ - void *WriteFunc; /* Write function */ + void (*ReadFunc)(void); /* Read function */ + void (*WriteFunc)(void); /* Write function */ } INTERCEPT_ACCESS_FUNC; -extern INTERCEPT_ACCESS_FUNC IoMemTable_ST[]; -extern INTERCEPT_ACCESS_FUNC IoMemTable_STE[]; +extern const INTERCEPT_ACCESS_FUNC IoMemTable_ST[]; +extern const INTERCEPT_ACCESS_FUNC IoMemTable_STE[]; +extern const INTERCEPT_ACCESS_FUNC IoMemTable_TT[]; +extern const INTERCEPT_ACCESS_FUNC IoMemTable_Falcon[]; + +extern void IoMemTabFalcon_DSPnone(void (**readtab)(void), void (**writetab)(void)); +extern void IoMemTabFalcon_DSPdummy(void (**readtab)(void), void (**writetab)(void)); +#if ENABLE_DSP_EMU +extern void IoMemTabFalcon_DSPemulation(void (**readtab)(void), void (**writetab)(void)); +#endif #endif