-CSRCS = devtty.c devices.c main.c devmdv.c devfd.c
+CSRCS = devtty.c devices.c main.c devmdv.c devfd.c bank128.c
DSRCS = ../dev/devide.c ../dev/mbr.c ../dev/blkdev.c
DDSRCS = ../dev/devide_discard.c
ASRCS = crt0.s zx128.s zxvideo.s microdrive.s disciple.s
#undef CONFIG_FONT8X8
#undef CONFIG_FONT8X8SMALL
-/* Two fixed banks in use */
-#define CONFIG_BANK_FIXED
+/* Custom banking */
/* We have two mappings from our 128K of memory */
#define MAX_MAPS 2
#define SWAPTOP 0x10000UL
#define SWAP_SIZE 0x40
#define MAX_SWAPS 3 /* For now */
+
+#define swap_map(x) ((uint8_t *)(x))