; chrout-hello.asm ; Generic 6510 assembly. Load at $C000 and run with SYS 49152. ; Uses KERNAL CHROUT at $FFD2. Clobbers A/Y. * = $c000 start: ldy #$00 loop: lda message,y beq done jsr $ffd2 ; KERNAL CHROUT iny bne loop done: rts message: .byte 147 ; clear screen PETSCII .byte "HELLO FROM $C000",13,0