mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
wip: screen lowered, 5200 game over does not flicker
This commit is contained in:
+1
-1
@@ -546,7 +546,7 @@ scrcodes
|
||||
gameOverSpritesTop
|
||||
; end of the Gover sprites by number of players
|
||||
; 1 2 3 4 5 6
|
||||
.by 130,130,136,142,148,154
|
||||
.by 130+7,130+7,136+7,142+7,148+7,154+7
|
||||
;-------decimal constans
|
||||
zero
|
||||
digits dta d"0123456789"
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ margin = 40 ;mountain drawing Y variable margin
|
||||
MaxPlayers = 6
|
||||
maxOptions = 9 ;number of all options
|
||||
PMOffsetX = $2C ; P/M to graphics offset
|
||||
PMOffsetY = $23 ; P/M to graphics offset
|
||||
PMOffsetY = $2A ; P/M to graphics offset
|
||||
napalmRadius = 10
|
||||
StandardBarrel = 6 ; standard tank barrel length
|
||||
LongBarrel = 20 ; long barrel length
|
||||
|
||||
+3
-1
@@ -114,7 +114,7 @@ GameOverTitle2
|
||||
;-----------------------------------------------------
|
||||
|
||||
dl ; MAIN game display list
|
||||
.byte 0
|
||||
.byte $70
|
||||
.byte $42
|
||||
.word statusBuffer
|
||||
.byte $02, $02 +$80 ;DLI
|
||||
@@ -174,6 +174,7 @@ OptionsDL
|
||||
:maxOptions-1 .by $02,$10
|
||||
:(9-maxOptions) .by $70,$10
|
||||
.byte $80
|
||||
.byte $70 ; to match moved sprites
|
||||
.byte $4f
|
||||
.word (display+140*40)
|
||||
:21 .by $0f ;76
|
||||
@@ -212,6 +213,7 @@ GameOverDL
|
||||
.byte $70,$40
|
||||
.byte $47 ; 16 gr8 lines
|
||||
.word GameOverTitle
|
||||
.byte $60 ; 7 lines down to match new sprite position
|
||||
.byte $4f ; 1 line
|
||||
.word display+(40*72)
|
||||
:28 .byte $0f ; 28 lines
|
||||
|
||||
@@ -1172,6 +1172,7 @@ CreditsScroll
|
||||
cmp #32 ;not too fast
|
||||
beq nextlinedisplay
|
||||
:2 lsr ;not too fast
|
||||
sta WSYNC
|
||||
sta VSCROL
|
||||
jmp EndOfDLI_GO
|
||||
nextlinedisplay
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -2508,7 +2508,7 @@ NextChar02
|
||||
|
||||
; set background
|
||||
lda #$ff
|
||||
ldx #100 ; top of the sprites
|
||||
ldx #100+7 ; top of the sprites
|
||||
@ sta PMGraph+$400,x
|
||||
sta PMGraph+$500,x
|
||||
inx
|
||||
|
||||
Reference in New Issue
Block a user