dos33fsprogs/games/mist/gr_plotpoint.s
Vince Weaver b1238af49d re-arranged the entire directory structure
this will probably upset people
2021-01-05 15:29:31 -05:00

26 lines
252 B
ArmAsm

; turn on double high point at CH,CV
plot_point:
lda CV ; y
lsr
lsr
and #$fe ; make even
tax
lda gr_offsets,X
sta OUTL
lda gr_offsets+1,X
clc
adc DRAW_PAGE
sta OUTH
lda CH ; X * 2
lsr
tay
plot_color:
lda #$77
sta (OUTL),Y
rts