#include #include #include #define NOP 0xEA /* CPU NoOp */ #define PAGESIZE 0x1F /* Pagesize of extra addressing of devices */ #define VIDADDRS 0xBE00 /* Video Address */ #define VIAADDRS 0xBF80 /* VIA Address */ #define KBDADDRS 0xBD00 /* Keyboard Register */ #define RAMSIZE 0x7FFF /* RAM Page Size */ #define RAMLOC 0x0000 /* ROM Page Location */ #define ROMSIZE 0x3FFF /* ROM Page Size */ #define ROMLOC 0xC000 /* ROM Page Location */ #define BACKCOLOR sfBlack #define CPUSPEED 4096 * 16