aboutsummaryrefslogtreecommitdiff
path: root/src/casm.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-04-28 14:58:38 +0100
committerIan C <ianc@noddybox.co.uk>2016-04-28 14:58:38 +0100
commit6b970e749e720404d08cec565fe0157d20fdeaef (patch)
treedc80919782dcd3d7da2bca104a85adde996cac94 /src/casm.c
parent239edccf43ff39e93a96c4c75af9e6772f55efe2 (diff)
First pass of compilable 65c816 mode.
Diffstat (limited to 'src/casm.c')
-rw-r--r--src/casm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/casm.c b/src/casm.c
index 6733ad5..2643a02 100644
--- a/src/casm.c
+++ b/src/casm.c
@@ -47,6 +47,7 @@
#include "z80.h"
#include "6502.h"
#include "gbcpu.h"
+#include "65c816.h"
/* ---------------------------------------- MACROS
@@ -107,6 +108,12 @@ static const CPU cpu_table[]=
LSB_Word,
Init_GBCPU, Options_GBCPU, SetOption_GBCPU, Handler_GBCPU
},
+ {
+ "65c816",
+ 0x10000,
+ LSB_Word,
+ Init_65c816, Options_65c816, SetOption_65c816, Handler_65c816
+ },
{NULL}
};