Use common include file cbmkernal.inc

This commit is contained in:
Olli Savia
2018-06-27 21:39:24 +03:00
parent 8c4a0768cc
commit f7fbac4c6b
6 changed files with 15 additions and 272 deletions

View File

@@ -4,6 +4,8 @@
; VIC20 kernal functions
;
.include "cbmkernal.inc"
.export CINT
.export IOINIT
.export RAMTAS
@@ -42,47 +44,3 @@
.export UDTIM
.export SCREEN
.export IOBASE
;-----------------------------------------------------------------------------
; All functions are available in the kernal jump table
CINT = $E518 ; No entries are in the kernal jump table of the Vic20 for these three (3) functions.
IOINIT = $FDF9 ; The entries for these functions have been set to point directly to the functions
RAMTAS = $FD8D ; in the kernal to maintain compatibility with the other Commodore platforms.
RESTOR = $FF8A
VECTOR = $FF8D
SETMSG = $FF90
SECOND = $FF93
TKSA = $FF96
MEMTOP = $FF99
MEMBOT = $FF9C
SCNKEY = $FF9F
SETTMO = $FFA2
ACPTR = $FFA5
CIOUT = $FFA8
UNTLK = $FFAB
UNLSN = $FFAE
LISTEN = $FFB1
TALK = $FFB4
READST = $FFB7
SETLFS = $FFBA
SETNAM = $FFBD
OPEN = $FFC0
CLOSE = $FFC3
CHKIN = $FFC6
CKOUT = $FFC9
CLRCH = $FFCC
BASIN = $FFCF
BSOUT = $FFD2
LOAD = $FFD5
SAVE = $FFD8
SETTIM = $FFDB
RDTIM = $FFDE
STOP = $FFE1
GETIN = $FFE4
CLALL = $FFE7
UDTIM = $FFEA
SCREEN = $FFED
IOBASE = $FFF3