diff --git a/SourceGen/RuntimeData/Commodore/C128-Kernal.sym65 b/SourceGen/RuntimeData/Commodore/C128-Kernal.sym65 new file mode 100644 index 0000000..b5e3a31 --- /dev/null +++ b/SourceGen/RuntimeData/Commodore/C128-Kernal.sym65 @@ -0,0 +1,31 @@ +; See the LICENSE file for distribution terms (Apache 2.0). +; +; Source: https://www.pagetable.com/?p=926 +; +; This does not include the C64 Kernal values, as those are common +; to both platforms. + +*SYNOPSIS C128 Kernal addresses and constants + +; +; C128 Kernal jump table +; +SPIN_SPOUT @ $FF47 ;set up fast serial ports for I/O +CLOSE_ALL @ $FF4A ;close all files on a device +C64MODE @ $FF4D ;reconfigure system as C64 +DMA_CALL @ $FF50 ;send command to DMA device +BOOT_CALL @ $FF53 ;boot-load program from disk +PHOENIX @ $FF56 ;init function cartridges +LKUPLA @ $FF59 ;search tables for given LA +LKUPSA @ $FF5C ;search tables for given SA +PFKEY @ $FF65 ;program a function key +SWAPPER @ $FF5F ;switch 40/80 columns +DLCHR @ $FF62 ;init 80-col character RAM +SETBNK @ $FF68 ;set bank for I/O operations +GETCFG @ $FF6B ;lookup MMU data for given bank +JSRFAR @ $FF6E ;gosub in another bank +JMPFAR @ $FF71 ;goto another bank +INDFET @ $FF74 ;LDA (fetvec),Y from any bank +INDSTA @ $FF77 ;STA (stavec),Y to any bank +INDCMP @ $FF7A ;CMP (cmpvec),Y to any bank +PRIMM @ $FF7D ;print string following diff --git a/SourceGen/RuntimeData/SystemDefs.json b/SourceGen/RuntimeData/SystemDefs.json index ec879b1..b95ae58 100644 --- a/SourceGen/RuntimeData/SystemDefs.json +++ b/SourceGen/RuntimeData/SystemDefs.json @@ -182,12 +182,15 @@ "GroupName" : "Commodore", "Cpu" : "8502", "Speed" : "2", - "Description" : "Commodore 128 [placeholder].", + "Description" : "Commodore 128 home computer.", "SymbolFiles" : [ + "RT:Commodore/C64-Kernal.sym65", + "RT:Commodore/C128-Kernal.sym65" ], "ExtensionScripts" : [ ], "Parameters" : { + "first-word-is-load-addr":"true" } }, {