Add documentation.

This commit is contained in:
giomba 2022-12-04 19:54:14 +01:00
parent c0e3f912a7
commit 1b6283102c
1 changed files with 3 additions and 17 deletions

View File

@ -54,15 +54,10 @@ coldstart SUBROUTINE
jsr clear_color_ram jsr clear_color_ram
pm: ; print informative message for user
lda #<message lda #<message
ldy #>message ldy #>message
jsr $cb1e jsr $cb1e ; print null terminated string
; jmp .
; lda #0
; jsr $c871
jmp $c483 ; BASIC jmp $c483 ; BASIC
@ -144,7 +139,7 @@ copyloop:
inc count + 1 inc count + 1
.noinc3: .noinc3:
; LENGTH ; lenght of program to copy
lda count lda count
cmp #$00 cmp #$00
bne copyloop bne copyloop
@ -156,15 +151,6 @@ copyloop:
.finito: .finito:
rts rts
; lda srcPointer
; cmp #<demoend
; bne copyloop
; lda srcPointer + 1
; cmp #>demoend
;.remainder:
; bne copyloop
; rts
message: message:
BYTE #$0d,#$0d,"TYPE 'RUN'",#$0d,"THEN WAIT 20 SEC",#$0d,#$0d,#0 BYTE #$0d,#$0d,"TYPE 'RUN'",#$0d,"THEN WAIT 20 SEC",#$0d,#$0d,#0