2016-09-10 18:04:57 +00:00
|
|
|
|
|
|
|
; This file was generated by SpriteGenerator.py, a sprite generation tool by Quinn Dunki.
|
|
|
|
; If you feel the need to modify this file, you are probably doing it wrong.
|
|
|
|
|
|
|
|
BOX_BLU: ;4 bytes per row
|
|
|
|
SAVE_AXY
|
|
|
|
ldy PARAM0
|
|
|
|
ldx MOD7_2,y
|
|
|
|
jmp (BOX_BLU_JMP,x)
|
|
|
|
|
|
|
|
BOX_BLU_JMP:
|
|
|
|
.addr BOX_BLU_SHIFT0
|
|
|
|
.addr BOX_BLU_SHIFT1
|
|
|
|
.addr BOX_BLU_SHIFT2
|
|
|
|
.addr BOX_BLU_SHIFT3
|
|
|
|
.addr BOX_BLU_SHIFT4
|
|
|
|
.addr BOX_BLU_SHIFT5
|
|
|
|
.addr BOX_BLU_SHIFT6
|
|
|
|
|
|
|
|
|
|
|
|
BOX_BLU_SHIFT0:
|
|
|
|
ldy PARAM0
|
|
|
|
|
|
|
|
ldx PARAM1
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11010101
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11010101
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
RESTORE_AXY
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BOX_BLU_SHIFT1:
|
|
|
|
ldy PARAM0
|
|
|
|
|
|
|
|
ldx PARAM1
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11010100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11010100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
RESTORE_AXY
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BOX_BLU_SHIFT2:
|
|
|
|
ldy PARAM0
|
|
|
|
|
|
|
|
ldx PARAM1
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10001010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10001010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
RESTORE_AXY
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BOX_BLU_SHIFT3:
|
|
|
|
ldy PARAM0
|
|
|
|
|
|
|
|
ldx PARAM1
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10101010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
lda #%11000000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10101010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
iny
|
|
|
|
|
|
|
|
RESTORE_AXY
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BOX_BLU_SHIFT4:
|
|
|
|
ldy PARAM0
|
|
|
|
|
|
|
|
ldx PARAM1
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10101010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10000010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10101010
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000001
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
RESTORE_AXY
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BOX_BLU_SHIFT5:
|
|
|
|
ldy PARAM0
|
|
|
|
|
|
|
|
ldx PARAM1
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10101000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000101
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10001000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000100
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10101000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10000101
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
RESTORE_AXY
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BOX_BLU_SHIFT6:
|
|
|
|
ldy PARAM0
|
|
|
|
|
|
|
|
ldx PARAM1
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10010101
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10010000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
inx
|
|
|
|
lda HGRROWS_H,x
|
|
|
|
sta SCRATCH1
|
|
|
|
lda HGRROWS_L,x
|
|
|
|
sta SCRATCH0
|
|
|
|
ldy PARAM0
|
|
|
|
lda DIV7_2,y
|
|
|
|
tay
|
|
|
|
|
|
|
|
iny
|
|
|
|
lda #%10100000
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
lda #%10010101
|
|
|
|
ora (SCRATCH0),y
|
|
|
|
sta (SCRATCH0),y
|
|
|
|
iny
|
|
|
|
|
|
|
|
RESTORE_AXY
|
|
|
|
rts
|
|
|
|
|
2016-09-01 20:13:27 +00:00
|
|
|
|
|
|
|
|