mirror of
https://github.com/cc65/cc65.git
synced 2025-02-09 02:30:42 +00:00
some comment alignment
This commit is contained in:
parent
0837f9c25f
commit
60f9081ea4
@ -248,7 +248,7 @@ CLEAR:
|
|||||||
|
|
||||||
; set cache writes
|
; set cache writes
|
||||||
lda #$40
|
lda #$40
|
||||||
tsb $9f29 ;VERA_FX_CTRL
|
tsb $9F29 ;VERA_FX_CTRL
|
||||||
|
|
||||||
; set FX cache to all zeroes
|
; set FX cache to all zeroes
|
||||||
lda #(6 << 1)
|
lda #(6 << 1)
|
||||||
@ -260,9 +260,9 @@ CLEAR:
|
|||||||
lda #$ff
|
lda #$ff
|
||||||
ahead:
|
ahead:
|
||||||
sta VERA::DISP::VIDEO
|
sta VERA::DISP::VIDEO
|
||||||
sta VERA::DISP::HSCALE ;$9f2a
|
sta VERA::DISP::HSCALE
|
||||||
sta VERA::DISP::VSCALE ;$9f2b
|
sta VERA::DISP::VSCALE
|
||||||
sta VERA::DISP::FRAME ;$9f2c
|
sta VERA::DISP::FRAME
|
||||||
|
|
||||||
stz VERA::CTRL
|
stz VERA::CTRL
|
||||||
; set address and increment for bitmap area
|
; set address and increment for bitmap area
|
||||||
@ -271,13 +271,13 @@ ahead:
|
|||||||
lda #$30 ; increment +4
|
lda #$30 ; increment +4
|
||||||
sta VERA::ADDR + 2
|
sta VERA::ADDR + 2
|
||||||
|
|
||||||
ldy #240 ; number of rows
|
ldy #$F0
|
||||||
blank_outer:
|
blank_outer:
|
||||||
ldx #10 ; 10 iterations of 32 = one line of 640
|
ldx #$0A
|
||||||
blank_loop:
|
blank_loop:
|
||||||
|
|
||||||
.repeat 8
|
.repeat 8
|
||||||
stz VERA::DATA0 ; $9f23 each `stz` writes four zeroes to VRAM (cache contents) for a total of 32 pixels when repeated 8x
|
stz VERA::DATA0
|
||||||
.endrep
|
.endrep
|
||||||
|
|
||||||
dex
|
dex
|
||||||
@ -287,10 +287,10 @@ blank_loop:
|
|||||||
|
|
||||||
; set up DCSEL=2
|
; set up DCSEL=2
|
||||||
lda #(2 << 1)
|
lda #(2 << 1)
|
||||||
sta VERA::CTRL ; $9f25
|
sta VERA::CTRL
|
||||||
|
|
||||||
; set FX off (cache write bit 1 -> 0)
|
; set FX off (cache write bit 1 -> 0)
|
||||||
stz $9f29 ;VERA_FX_CTRL
|
stz $9F29 ;VERA_FX_CTRL
|
||||||
stz VERA::CTRL
|
stz VERA::CTRL
|
||||||
|
|
||||||
.endscope
|
.endscope
|
||||||
|
Loading…
x
Reference in New Issue
Block a user