summaryrefslogtreecommitdiff
path: root/chip8.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-08-16 23:33:50 +0930
committerDaniel Jones <admin@danieljon.es>2020-08-16 23:33:50 +0930
commit43b01c12d1192830034807e664843f780df8b7bb (patch)
tree49e3858587bdb59b951f5de32b7c77c9ba079aa4 /chip8.h
parent32336b183a5d3cbf64d2c67100afe036cf610694 (diff)
downloadchip8-43b01c12d1192830034807e664843f780df8b7bb.tar.gz
chip8-43b01c12d1192830034807e664843f780df8b7bb.zip
more initialisation and added the fontset
fontset also loaded into memory at 0x0, we have 0x0 to 0x1FF free for anything we want, that is where the interpreter is meant to be
Diffstat (limited to 'chip8.h')
-rw-r--r--chip8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip8.h b/chip8.h
index 7301c45..4faa6e4 100644
--- a/chip8.h
+++ b/chip8.h
@@ -2,9 +2,11 @@
#define CHIP8_H
#include <stdio.h>
+#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <errno.h>
+#include <time.h>
#define WIDTH 64
#define HEIGHT 32