From: Olli Savia Date: Sun, 1 Jul 2018 06:58:39 +0000 (+0300) Subject: Moved C128 specific definitions to cbm_kernal.inc X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e94f7f55cad78700f58250cd3c98983c1a78c11;p=cc65 Moved C128 specific definitions to cbm_kernal.inc --- diff --git a/asminc/cbm_kernal.inc b/asminc/cbm_kernal.inc index 44c721f6f..52c1c16ad 100644 --- a/asminc/cbm_kernal.inc +++ b/asminc/cbm_kernal.inc @@ -4,6 +4,13 @@ ; Commodore kernal functions ; +.if .def(__C128__) + ; C128 Extended jump table + C64MODE := $FF4D + SWAPPER := $FF5F + SETBNK := $FF68 +.endif + .if .def(__C64__) || .def(__C128__) || .def(__C16__) CINT := $FF81 IOINIT := $FF84 diff --git a/libsrc/c128/kernal.s b/libsrc/c128/kernal.s index 266f86911..f74ab3b1a 100644 --- a/libsrc/c128/kernal.s +++ b/libsrc/c128/kernal.s @@ -49,12 +49,3 @@ .export SCREEN .export PLOT .export IOBASE - - -;----------------------------------------------------------------------------- -; All functions are available in the kernal jump table - -; Extended jump table -C64MODE = $FF4D -SWAPPER = $FF5F -SETBNK = $FF68