Merge pull request #693 from ops/cbmkernal_stage3

cbm_kernal enhancements
This commit is contained in:
Oliver Schmidt
2018-07-02 10:39:57 +02:00
committed by GitHub
4 changed files with 10 additions and 26 deletions

View File

@@ -4,6 +4,13 @@
; Commodore kernal functions ; Commodore kernal functions
; ;
.if .def(__C128__)
; C128 Extended jump table
C64MODE := $FF4D
SWAPPER := $FF5F
SETBNK := $FF68
.endif
.if .def(__C64__) || .def(__C128__) || .def(__C16__) .if .def(__C64__) || .def(__C128__) || .def(__C16__)
CINT := $FF81 CINT := $FF81
IOINIT := $FF84 IOINIT := $FF84

View File

@@ -49,12 +49,3 @@
.export SCREEN .export SCREEN
.export PLOT .export PLOT
.export IOBASE .export IOBASE
;-----------------------------------------------------------------------------
; All functions are available in the kernal jump table
; Extended jump table
C64MODE = $FF4D
SWAPPER = $FF5F
SETBNK = $FF68

View File

@@ -1,7 +1,7 @@
; ;
; Ullrich von Bassewitz, 2003-12-20 ; Ullrich von Bassewitz, 2003-12-20
; ;
; CBM610 kernal functions ; CBM510 kernal functions
; ;
.include "cbm_kernal.inc" .include "cbm_kernal.inc"

View File

@@ -4,25 +4,11 @@
; PET kernal functions ; PET kernal functions
; ;
.include "cbm_kernal.inc"
.export CLRCH .export CLRCH
.export BASIN .export BASIN
.export STOP .export STOP
.export GETIN .export GETIN
.export CLALL .export CLALL
.export UDTIM .export UDTIM
;-----------------------------------------------------------------------------
; Functions that are available in the kernal jump table
CLRCH = $FFCC
BASIN = $FFCF
STOP = $FFE1
GETIN = $FFE4
CLALL = $FFE7
UDTIM = $FFEA