Added C128 in C64 mode accelerator code and documentation.

This commit is contained in:
Marco van den Heuvel
2018-04-20 12:08:28 -07:00
parent 305c6e7ae4
commit 3f5683b391
8 changed files with 213 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
CL ?= cl65
all: c64-scpu-test.prg c128-scpu-test.prg c64dtv-test.prg
all: c64-scpu-test.prg c128-scpu-test.prg c64dtv-test.prg c64-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
@@ -11,3 +11,5 @@ c128-scpu-test.prg: c64-c128-scpu-test.c
c64dtv-test.prg: c64dtv-test.c
$(CL) -t c64 c64dtv-test.c -o c64dtv-test.prg
c64-c128-test.prg: c64-c128-test.c
$(CL) -t c64 c64-c128-test.c -o c64-c128-test.prg

View File

@@ -0,0 +1,8 @@
/* C128 in C64 mode accelerator test code. */
#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"
#include "turbo-test.c"