Add documentation.
This commit is contained in:
parent
c0e3f912a7
commit
1b6283102c
20
src/main.asm
20
src/main.asm
@ -54,15 +54,10 @@ coldstart SUBROUTINE
|
||||
|
||||
jsr clear_color_ram
|
||||
|
||||
pm:
|
||||
; print informative message for user
|
||||
lda #<message
|
||||
ldy #>message
|
||||
jsr $cb1e
|
||||
|
||||
; jmp .
|
||||
|
||||
; lda #0
|
||||
; jsr $c871
|
||||
jsr $cb1e ; print null terminated string
|
||||
|
||||
jmp $c483 ; BASIC
|
||||
|
||||
@ -144,7 +139,7 @@ copyloop:
|
||||
inc count + 1
|
||||
.noinc3:
|
||||
|
||||
; LENGTH
|
||||
; lenght of program to copy
|
||||
lda count
|
||||
cmp #$00
|
||||
bne copyloop
|
||||
@ -156,15 +151,6 @@ copyloop:
|
||||
.finito:
|
||||
rts
|
||||
|
||||
; lda srcPointer
|
||||
; cmp #<demoend
|
||||
; bne copyloop
|
||||
; lda srcPointer + 1
|
||||
; cmp #>demoend
|
||||
;.remainder:
|
||||
; bne copyloop
|
||||
; rts
|
||||
|
||||
message:
|
||||
BYTE #$0d,#$0d,"TYPE 'RUN'",#$0d,"THEN WAIT 20 SEC",#$0d,#$0d,#0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user