From b7ef25633fb4c99fc5fb0ccbbe00f4aa6dc5130f Mon Sep 17 00:00:00 2001 From: Philip Zembrod Date: Sun, 30 Aug 2020 01:20:42 +0200 Subject: [PATCH] Port the first set of C64 Kernal labels to X16 --- 6502/C64/src/vf-sys-c16.fth | 4 ++-- 6502/C64/src/vf-sys-c64.fth | 4 ++-- 6502/C64/src/vf-sys-x16.fth | 27 +++++++++++++++++---------- 3 files changed, 21 insertions(+), 14 deletions(-) diff --git a/6502/C64/src/vf-sys-c16.fth b/6502/C64/src/vf-sys-c16.fth index 72caeaf..dd4624d 100644 --- a/6502/C64/src/vf-sys-c16.fth +++ b/6502/C64/src/vf-sys-c16.fth @@ -13,8 +13,8 @@ include vf-lbls-cbm.fth 0ff19 >label BrdCol 0ff15 >label BkgCol 053b >label PenCol - 09d >label PrgEnd - 0b2 >label IOBeg + 09d >label PrgEnd \ aka eal; seems unused + 0b2 >label IOBeg \ aka stal; seems unused 0cb >label CurFlg 0cf >label InsCnt 0540 >label KeyRep diff --git a/6502/C64/src/vf-sys-c64.fth b/6502/C64/src/vf-sys-c64.fth index a7bf6d1..5d24e0b 100644 --- a/6502/C64/src/vf-sys-c64.fth +++ b/6502/C64/src/vf-sys-c64.fth @@ -13,8 +13,8 @@ include vf-lbls-cbm.fth 0d020 >label BrdCol 0d021 >label BkgCol 0286 >label PenCol - 0ae >label PrgEnd - 0c1 >label IOBeg + 0ae >label PrgEnd \ aka eal; seems unused + 0c1 >label IOBeg \ aka stal; seems unused 0d4 >label CurFlg 0d8 >label InsCnt 028a >label KeyRep diff --git a/6502/C64/src/vf-sys-x16.fth b/6502/C64/src/vf-sys-x16.fth index a7bf6d1..301f82f 100644 --- a/6502/C64/src/vf-sys-x16.fth +++ b/6502/C64/src/vf-sys-x16.fth @@ -1,23 +1,30 @@ include vf-lbls-cbm.fth -\ *** Block No. 127, Hexblock 7f 7f fthpage \ C64-Labels clv13.4.87) -0E716 >label ConOut - 09d >label MsgFlg - 09a >label OutDev - 099 >label InDev 0d020 >label BrdCol 0d021 >label BkgCol 0286 >label PenCol - 0ae >label PrgEnd - 0c1 >label IOBeg - 0d4 >label CurFlg - 0d8 >label InsCnt - 028a >label KeyRep + +\ X16 labels + +0fede >label console_put_char + 028c >label MsgFlg + 028b >label OutDev + 028a >label InDev + 8a >label PrgEnd \ aka eal; seems unused + 0292 >label IOBeg \ aka stal; seems unused + 0381 >label CurFlg \ aka qtsw + 0385 >label InsCnt \ aka insrt + +Label ConOut clc console_put_char jmp + +\ C64 labels that X16 doesn't have: + +\ 028a >label KeyRep \ aka rptflg \ *** Block No. 129, Hexblock 81