24 lines
355 B
ArmAsm
24 lines
355 B
ArmAsm
|
SAVMSC = $58
|
||
|
|
||
|
.code
|
||
|
|
||
|
.export start
|
||
|
|
||
|
.proc start
|
||
|
; Get the framebuffer address and just write new fun values into it
|
||
|
; x: byte to write in
|
||
|
; y: index into the first 256 bytes of buffer
|
||
|
|
||
|
ldx #00
|
||
|
outer_loop:
|
||
|
txa
|
||
|
ldy #00
|
||
|
inner_loop:
|
||
|
sta (SAVMSC),y
|
||
|
iny
|
||
|
bne inner_loop
|
||
|
inx
|
||
|
jmp outer_loop
|
||
|
; infinite loop
|
||
|
.endproc
|