From 8bd2628d1e1eeabe170304b564bf9ade9c2baf0b Mon Sep 17 00:00:00 2001 From: OzHawk Date: Wed, 11 May 2016 19:24:16 +0930 Subject: [PATCH] Update the missing entries in the kernel jump table for the Vic20 with the actual function addresses. 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. --- libsrc/vic20/kernal.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsrc/vic20/kernal.s b/libsrc/vic20/kernal.s index 35bedb466..d9e7a9d03 100644 --- a/libsrc/vic20/kernal.s +++ b/libsrc/vic20/kernal.s @@ -47,9 +47,9 @@ ;----------------------------------------------------------------------------- ; All functions are available in the kernal jump table -CINT = $FF81 -IOINIT = $FF84 -RAMTAS = $FF87 +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