mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-19 02:10:39 +00:00
fix several bugs in dithermasks initialization
This commit is contained in:
parent
bbe441a983
commit
711de29099
@ -5,7 +5,7 @@
|
||||
;hgrlo = $0201 ; $C0 bytes (defined in constants.a)
|
||||
mirror_cols = $02C1 ; $28 bytes
|
||||
;hgr1hi = $0301 ; $C0 bytes (defined in constants.a)
|
||||
dithermasks = $BBAA ; $58 bytes
|
||||
dithermasks = $BBA8 ; $58 bytes
|
||||
evenrow_masks = dithermasks
|
||||
oddrow_masks = dithermasks+2
|
||||
no_masks = dithermasks+44
|
||||
|
@ -5,7 +5,7 @@
|
||||
;hgrlo = $0201 ; $C0 bytes (defined in constants.a)
|
||||
mirror_cols = $02C1 ; $28 bytes
|
||||
;hgr1hi = $0301 ; $C0 bytes (defined in constants.a)
|
||||
dithermasks = $BDAA ; $58 bytes
|
||||
dithermasks = $BDA8 ; $58 bytes
|
||||
evenrow_masks = dithermasks
|
||||
oddrow_masks = dithermasks+2
|
||||
no_masks = dithermasks+44
|
||||
|
@ -19,7 +19,7 @@
|
||||
dey
|
||||
dey
|
||||
bpl -
|
||||
ldy #39
|
||||
ldy #43
|
||||
lda #$FF
|
||||
- sta .dithermasks+44, y
|
||||
dey
|
||||
@ -41,7 +41,7 @@
|
||||
dey
|
||||
dey
|
||||
bpl -
|
||||
ldy #39
|
||||
ldy #43
|
||||
- lda #$FF
|
||||
sta .dithermasks+44, y
|
||||
dey
|
||||
@ -61,11 +61,11 @@
|
||||
dey
|
||||
dey
|
||||
bpl -
|
||||
ldy #39
|
||||
ldy #43
|
||||
- lda #$FF
|
||||
sta .dithermasks+44, y
|
||||
dey
|
||||
bne -
|
||||
bpl -
|
||||
sta $C004
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user