1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 02:29:32 +00:00

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
commit e98bb13271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 26 deletions

View 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

View File

@ -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

View File

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

View File

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