From 8bd2628d1e1eeabe170304b564bf9ade9c2baf0b Mon Sep 17 00:00:00 2001 From: OzHawk Date: Wed, 11 May 2016 19:24:16 +0930 Subject: [PATCH 1/2] 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 From 1369bed8810e75f7cf87212ae75ec672fbe084ef Mon Sep 17 00:00:00 2001 From: OzHawk Date: Mon, 16 May 2016 08:41:13 +0930 Subject: [PATCH 2/2] Update kernal.s --- 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 d9e7a9d03..040dbf5e5 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 = $E518 ; No entries are in the kernal jump table for these functions. -IOINIT = $FDF9 ; The entries point directly to the function. -RAMTAS = $FD8D ; +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