From 970faeba38b3c6db8dff466ef2f2d682faf0b714 Mon Sep 17 00:00:00 2001 From: Bernd Boeckmann Date: Sat, 15 Oct 2022 13:52:24 +0200 Subject: [PATCH] work on documentation --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index af9b04e..7407f6b 100644 --- a/README.md +++ b/README.md @@ -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