Code: Select all
start:
ldx #$00
lda #$03
character: ;draws a 2 pixel thick diagonal line?
sta $1c00,x
rol
inx
cpx #$08
bne character
set video
lda #$ff
sta $9005
ldx #$00
screen:
lda #$00
sta $1e00,x
sta $1f00,x
lda #$0e
sta $9600,x
sta $9700,x
inx
bne screen
loop:
ldx #$00
shift: ;rotates all bits in character to the left by 1
rol $1c00,x
inx
cpx #$08
bne shift
jmp loop