mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-30 18:30:39 +00:00
shave some bytes
This commit is contained in:
parent
e6c851db95
commit
4341c199ed
@ -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 -
|
||||||
|
Loading…
Reference in New Issue
Block a user