From a3fa13348026bbd4001c02e1634347ad0833b103 Mon Sep 17 00:00:00 2001 From: 0xmac Date: Mon, 2 Dec 2024 14:05:49 +0100 Subject: [PATCH] Added config.h --- src/config.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/config.h diff --git a/src/config.h b/src/config.h new file mode 100644 index 0000000..425213d --- /dev/null +++ b/src/config.h @@ -0,0 +1,18 @@ +#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 +