6 // Macros for function pointers
7 #define READFUNC(x) uint8_t (* x)(uint16_t)
8 #define WRITEFUNC(x) void (* x)(uint16_t, uint8_t)
10 enum { SLOT0 = 0, SLOT1, SLOT2, SLOT3, SLOT4, SLOT5, SLOT6, SLOT7 };
14 READFUNC(ioR); // I/O read function
15 WRITEFUNC(ioW); // I/O write function
16 READFUNC(pageR); // Driver page read function
17 WRITEFUNC(pageW); // Driver page write function
18 READFUNC(extraR); // Driver 2K read function
19 WRITEFUNC(extraW); // Driver 2K write function
22 void SetupAddressMap(void);
23 void ResetMMUPointers(void);
24 void InstallSlotHandler(uint8_t slot, SlotData *);
25 uint8_t AppleReadMem(uint16_t);
26 void AppleWriteMem(uint16_t, uint8_t);
28 uint8_t ReadFloatingBus(uint16_t);