]> git.sur5r.net Git - cc65/commitdiff
Moved C128 specific definitions to cbm_kernal.inc 693/head
authorOlli Savia <ops@iki.fi>
Sun, 1 Jul 2018 06:58:39 +0000 (09:58 +0300)
committerOlli Savia <ops@iki.fi>
Sun, 1 Jul 2018 06:58:39 +0000 (09:58 +0300)
asminc/cbm_kernal.inc
libsrc/c128/kernal.s

index 44c721f6f62b9c1c94e9d8373597c340e03fa82d..52c1c16ad0b1e6d0c8f7645ab8655f273e2b7e03 100644 (file)
@@ -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
index 266f86911a54ab36be625928d325e8477306ba2c..f74ab3b1ad85cc007d45bdf1f2bee2a7939c36ff 100644 (file)
         .export         SCREEN
         .export         PLOT
         .export         IOBASE
-
-
-;-----------------------------------------------------------------------------
-; All functions are available in the kernal jump table
-
-; Extended jump table
-C64MODE         = $FF4D
-SWAPPER         = $FF5F
-SETBNK          = $FF68