alignment fixes

This commit is contained in:
xlar54
2024-06-19 23:50:54 -05:00
parent 6098ac2788
commit 3b494ad6f2

View File

@@ -253,15 +253,13 @@ CLEAR:
; set cache writes ; set cache writes
lda #$40 lda #$40
tsb $9F29 ;VERA_FX_CTRL tsb VERA::DISP::VIDEO ; VERA_FX_CTRL when DCSEL=2
; set FX cache to all zeroes ; set FX cache to all zeroes
lda #(6 << 1) lda #(6 << 1)
sta VERA::CTRL sta VERA::CTRL
lda #$00 lda #$00
ahead:
sta VERA::DISP::VIDEO sta VERA::DISP::VIDEO
sta VERA::DISP::HSCALE sta VERA::DISP::HSCALE
sta VERA::DISP::VSCALE sta VERA::DISP::VSCALE
@@ -275,18 +273,18 @@ ahead:
sta VERA::ADDR + 2 sta VERA::ADDR + 2
ldy #$F0 ldy #$F0
blank_outer: @blank_outer:
ldx #$0A ldx #$0A
blank_loop: @blank_loop:
.repeat 8 .repeat 8
stz VERA::DATA0 stz VERA::DATA0
.endrep .endrep
dex dex
bne blank_loop bne @blank_loop
dey dey
bne blank_outer bne @blank_outer
; set up DCSEL=2 ; set up DCSEL=2
lda #(2 << 1) lda #(2 << 1)