mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-13 22:30:49 +00:00
pt3_player: optimize clear_screens
This commit is contained in:
parent
8168a2721f
commit
1c5c19656e
@ -5,16 +5,14 @@ clear_screens:
|
||||
|
||||
lda #$0
|
||||
jsr clear_top
|
||||
jsr clear_bottom0
|
||||
jsr clear_bottoms
|
||||
|
||||
;===================================
|
||||
; Clear top/bottom of page 1
|
||||
;===================================
|
||||
|
||||
lda #$4
|
||||
jsr clear_top
|
||||
jmp clear_bottom4
|
||||
|
||||
; fall through
|
||||
|
||||
|
||||
|
||||
@ -85,7 +83,6 @@ clear_bottoms:
|
||||
; Clear bottom of page 1
|
||||
;===================================
|
||||
|
||||
clear_bottom4:
|
||||
lda #$4
|
||||
; fall through
|
||||
|
||||
@ -96,7 +93,6 @@ clear_bottom4:
|
||||
|
||||
clear_bottom:
|
||||
sta DRAW_PAGE ; 3
|
||||
clear_bottom0:
|
||||
clc ; 2
|
||||
|
||||
adc #6 ; 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user