dither4/dither4.s

24 lines
355 B
ArmAsm
Raw Normal View History

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