The Vic20 does not have kernal table entries for the following functions. ;----------------------------------------------------------------------------- ; Functions which are not in the kernal jump table for VIC-20 but are for C64 CINT := $E518 IOINIT := $FDF9 RAMTAS := $FD8D All other kernal entries are the same as the C64, however, without this change, the startup code fails. Without this change the vic20.lib builds incorrectly.
89 lines
2.3 KiB
ArmAsm
89 lines
2.3 KiB
ArmAsm
;
|
|
; Ullrich von Bassewitz, 19.11.2002
|
|
;
|
|
; VIC20 kernal functions
|
|
;
|
|
|
|
.export CINT
|
|
.export IOINIT
|
|
.export RAMTAS
|
|
.export RESTOR
|
|
.export VECTOR
|
|
.export SETMSG
|
|
.export SECOND
|
|
.export TKSA
|
|
.export MEMTOP
|
|
.export MEMBOT
|
|
.export SCNKEY
|
|
.export SETTMO
|
|
.export ACPTR
|
|
.export CIOUT
|
|
.export UNTLK
|
|
.export UNLSN
|
|
.export LISTEN
|
|
.export TALK
|
|
.export READST
|
|
.export SETLFS
|
|
.export SETNAM
|
|
.export OPEN
|
|
.export CLOSE
|
|
.export CHKIN
|
|
.export CKOUT
|
|
.export CLRCH
|
|
.export BASIN
|
|
.export BSOUT
|
|
.export LOAD
|
|
.export SAVE
|
|
.export SETTIM
|
|
.export RDTIM
|
|
.export STOP
|
|
.export GETIN
|
|
.export CLALL
|
|
.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 for these functions.
|
|
IOINIT = $FDF9 ; The entries point directly to the function.
|
|
RAMTAS = $FD8D ;
|
|
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
|
|
|