mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-25 20:30:31 +00:00
sa: speed up the 80 column draw a bit
This commit is contained in:
parent
fe4ab8f2ba
commit
046c81f7a6
@ -107,7 +107,7 @@ eightycol_ascii_art:
|
||||
|
||||
art_line_loop80:
|
||||
|
||||
lda #0
|
||||
lda #$00
|
||||
sta DRAW_PAGE
|
||||
|
||||
clc
|
||||
@ -161,24 +161,21 @@ done_ascii_total80:
|
||||
|
||||
;======================
|
||||
store80:
|
||||
pha
|
||||
sty DISP_PAGE
|
||||
ldy #0
|
||||
lda DRAW_PAGE
|
||||
and #$1
|
||||
bne store80_odd
|
||||
bit DRAW_PAGE
|
||||
bmi store80_odd
|
||||
store80_even:
|
||||
pla
|
||||
bit PAGE1
|
||||
sta (GBASL),Y
|
||||
dec DRAW_PAGE
|
||||
jmp store80_done
|
||||
store80_odd:
|
||||
pla
|
||||
bit PAGE0
|
||||
sta (GBASL),Y
|
||||
inc GBASL
|
||||
store80_done:
|
||||
inc DRAW_PAGE
|
||||
store80_done:
|
||||
ldy DISP_PAGE
|
||||
rts
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user