fix several bugs in dithermasks initialization

This commit is contained in:
4am 2024-05-27 13:19:44 -04:00
parent bbe441a983
commit 711de29099
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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
}