19 lines
536 B
C
19 lines
536 B
C
|
#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
|
||
|
|