File tree Expand file tree Collapse file tree 4 files changed +30
-16
lines changed Expand file tree Collapse file tree 4 files changed +30
-16
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ Game_Init:
54
54
sta SkyScroll+1
55
55
sta game_paused
56
56
57
+ lda #SKYLINE_SCROLL_SPEED
58
+ sta SScrollNext
59
+
57
60
; Status bar stuff
58
61
59
62
; Generate and draw first screen of columns (plus a few)
@@ -1804,7 +1807,7 @@ BufferSkylineScroll:
1804
1807
bne @noWrap
1805
1808
1806
1809
dec SScrollNext
1807
- beq @noWrap
1810
+ bne @noWrap
1808
1811
1809
1812
lda #SKYLINE_SCROLL_SPEED
1810
1813
sta SScrollNext
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ StatusDrawn: .res 1
198
198
SkyScroll: .res 2 ; Scroll position of the skyline
199
199
SScrollNext: .res 1 ; next frame to scroll
200
200
ScrollBuffer: .res 2 ; Playfield PPU scroll value
201
- SKYLINE_SCROLL_SPEED = 2
201
+ SKYLINE_SCROLL_SPEED = 3
202
202
203
203
.segment "SAVERAM"
204
204
; battery backed RAM
Original file line number Diff line number Diff line change @@ -131,17 +131,28 @@ InitTitle:
131
131
; Draw Title
132
132
lda #$22
133
133
sta $2006
134
- lda #$4A
134
+ lda #$28
135
135
sta $2006
136
136
137
- ldx #0
138
- @loop2:
139
- lda TitleText, x
140
- beq @titleTextDone
141
- sta $2007
137
+ ; Top row of title
138
+ ldx #$90
139
+ :
140
+ stx $2007
142
141
inx
143
- jmp @loop2
144
- @titleTextDone:
142
+ cpx #$A0
143
+ bne :-
144
+
145
+ ; Bottom row of title
146
+ lda #$22
147
+ sta $2006
148
+ lda #$48
149
+ sta $2006
150
+ ldx #$A0
151
+ :
152
+ stx $2007
153
+ inx
154
+ cpx #$B0
155
+ bne :-
145
156
146
157
lda #$22
147
158
sta TmpAddr
@@ -408,14 +419,14 @@ Title_BG6:
408
419
TitlePalette:
409
420
; Background
410
421
.byte $0F ,$0F ,$0F ,$0F
411
- .byte $0F ,$17 ,$25 , $09
412
- .byte $0F ,$16 , $39 , $06
413
- .byte $0F ,$30 , $21 , $15
422
+ .byte $0F ,$17 ,$24 , $14
423
+ .byte $0F ,$0F , $0F , $0F
424
+ .byte $0F ,$0F , $0F , $0F
414
425
415
426
; Sprites
416
427
.byte $0F ,$10 ,$00 ,$30
417
- .byte $0F ,$05 , $05 , $05
418
- .byte $0F ,$0A , $0A , $0A
419
- .byte $0F ,$0F ,$11 , $11
428
+ .byte $0F ,$0F , $0F , $0F
429
+ .byte $0F ,$0F , $0F , $0F
430
+ .byte $0F ,$0F ,$0F , $0F
420
431
421
432
.byte $EA , $EA
You can’t perform that action at this time.
0 commit comments