shave some bytes

This commit is contained in:
4am 2020-10-25 22:38:52 -04:00
parent e6c851db95
commit 4341c199ed

View File

@ -1,4 +1,4 @@
;License:MIT ;license:MIT
;(c) 2020 by 4am & qkumba ;(c) 2020 by 4am & qkumba
; ;
@ -236,6 +236,7 @@ k_right_mask = 26
dex dex
bmi --- bmi ---
bpl -- ; always branches bpl -- ; always branches
; generate drawing routines for clear01, then clear00 ; generate drawing routines for clear01, then clear00
++ lda #<CLEAR_STAGE1 ++ lda #<CLEAR_STAGE1
jsr BuildDrawingRoutineFrom jsr BuildDrawingRoutineFrom
@ -245,9 +246,8 @@ k_right_mask = 26
; set up zero page for drawing phase ; set up zero page for drawing phase
; A=0 here ; A=0 here
tax tax
- lda BoxInitialStages-BoxStages, x - ldy BoxInitialStages-BoxStages, x
sta $00, x sty $00, x
lda #0
sta EndStagesHi, x sta EndStagesHi, x
dex dex
bne - bne -