work on documentation

This commit is contained in:
Bernd Boeckmann
2022-10-15 13:52:24 +02:00
parent f62f295e64
commit 970faeba38

View File

@@ -13,17 +13,17 @@ The following example implements a hello world program for the Commodore C64. Co
.word LOAD_ADDR ; .PRG header: load address
.org LOAD_ADDR
CHROUT = $FFD2 ; kernel function address
SYS = $9E ; basic SYS token number
CR = 13 ; carrige return character
LF = %1010 ; line feed character
CHROUT = $FFD2 ; kernal function address
SYS = $9E ; basic SYS token number
CR = 13 ; carrige return character
LF = %1010 ; line feed character
basic_upstart: ; BASIC code: 10 SYS 2062
.word @end, %1010
.byte SYS, " 2062", 0
@end .word 0
basic_upstart: ; BASIC code: 10 SYS 2062
.word @end, 10 ; ptr to next basic line and line number 10
.byte SYS, " 2062", 0 ; SYS token and address string of subroutine
@end .word 0 ; null ptr to indicate end of basic text
start:
start: ; this is at address 2062 ($080E)
ldx #0
@l lda hello_msg,x
jsr CHROUT