1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-06-19 21:29:30 +00:00

Add a C128 Kernal entry point list

Looks like the C64 stuff is also available to the C128, so include
this and the C64 defs in the C128 system definition.
This commit is contained in:
Andy McFadden 2018-10-11 10:46:47 -07:00
parent 1ad4bcb150
commit 26f8a01b5d
2 changed files with 35 additions and 1 deletions

View File

@ -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

View File

@ -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"
}
},
{