Changed c128 accelerator code and documention to include both C64 and C128 support.

This commit is contained in:
Marco van den Heuvel
2018-04-23 19:25:11 -07:00
parent 28f26991ac
commit cc2bcb8a4d
8 changed files with 114 additions and 73 deletions

View File

@@ -1,6 +1,7 @@
CL ?= cl65
all: c64-scpu-test.prg c128-scpu-test.prg c64dtv-test.prg c64-c128-test.prg
all: c64-scpu-test.prg c128-scpu-test.prg c64dtv-test.prg \
c64-c128-test.prg c128-test.prg
c64-scpu-test.prg: c64-c128-scpu-test.c
$(CL) -t c64 c64-c128-scpu-test.c -o c64-scpu-test.prg
@@ -13,3 +14,6 @@ c64dtv-test.prg: c64dtv-test.c
c64-c128-test.prg: c64-c128-test.c
$(CL) -t c64 c64-c128-test.c -o c64-c128-test.prg
c128-test.prg: c64-c128-test.c
$(CL) -t c128 c64-c128-test.c -o c128-test.prg

View File

@@ -3,6 +3,6 @@
#define ACC_DETECT detect_c128
#define ACC_GET_SPEED get_c128_speed
#define ACC_SET_SPEED set_c128_speed
#define ACC_NAME "C128 in C64 mode"
#define ACC_NAME "C128 CPU"
#include "turbo-test.c"