dos33fsprogs/demos/d2/fast_hclr.s
Vince Weaver 7959042667 d2_hgr: add code to quit when key pressed
then optimized to find room for it
2021-11-11 21:41:43 -05:00

19 lines
187 B
ArmAsm

fast_hclr:
lda HGR_PAGE
sta hclr_smc+2
ldy #0
hclr_outer:
tya
hclr_inner:
hclr_smc:
sta $2000,Y
iny
bne hclr_inner
inc hclr_smc+2
lda hclr_smc+2
and #$1f
bne hclr_outer
rts