Added config.h

This commit is contained in:
0xmac 2024-12-02 14:05:49 +01:00
parent 99db648885
commit a3fa133480

18
src/config.h Normal file
View File

@ -0,0 +1,18 @@
#include <stdint.h>
#include <SFML/System.h>
#include <SFML/Graphics.h>
#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