mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
custom 5200 splash screen year 2023
This commit is contained in:
+19
-12
@@ -233,7 +233,7 @@ FirstSTART
|
|||||||
.IF TARGET = 5200
|
.IF TARGET = 5200
|
||||||
; start in 5200 diagnostic mode
|
; start in 5200 diagnostic mode
|
||||||
; move original startup procedure to RAM
|
; move original startup procedure to RAM
|
||||||
Atari5200Splash = $2100 ; apparently there is some free space here
|
Atari5200Splash = $2100 ; apparently there is some free space here
|
||||||
; 6502 initialization
|
; 6502 initialization
|
||||||
SEI
|
SEI
|
||||||
CLD
|
CLD
|
||||||
@@ -243,22 +243,29 @@ Atari5200Splash = $2100 ; apparently there is some free space here
|
|||||||
|
|
||||||
mwa $fffc temp ; startup proc address
|
mwa $fffc temp ; startup proc address
|
||||||
mwa #Atari5200Splash temp2
|
mwa #Atari5200Splash temp2
|
||||||
mwa #Atari5200Splash+$16f modify
|
mwa #Atari5200Splash+$16b modify
|
||||||
jsr CopyFromROM
|
jsr CopyFromROM
|
||||||
; modify the end of the splash screen
|
; modify the end of the splash screen
|
||||||
lda #$4c ; JMP
|
lda #$60 ; JMP
|
||||||
sta (temp2),y
|
|
||||||
iny
|
|
||||||
lda #<Atari5200AfterSplash
|
|
||||||
sta (temp2),y
|
|
||||||
iny
|
|
||||||
lda #>Atari5200AfterSplash
|
|
||||||
sta (temp2),y
|
sta (temp2),y
|
||||||
|
|
||||||
jmp Atari5200Splash+$0f ; after the diag cart detection
|
jsr Atari5200Splash+$0f ; after the diag cart detection
|
||||||
|
; modify the text
|
||||||
|
splash_text = $3c80 ; '.scorch.supersystem.copyright.19xx.atari'
|
||||||
|
splash_year = splash_text + $1e
|
||||||
|
lda #"2"
|
||||||
|
sta splash_year
|
||||||
|
sta splash_year+2
|
||||||
|
lda #"0"
|
||||||
|
sta splash_year+1
|
||||||
|
lda #"3"
|
||||||
|
sta splash_year+3
|
||||||
|
|
||||||
|
|
||||||
Atari5200AfterSplash
|
; splash screen delay. maybe add fire to speed up?
|
||||||
|
@ cpx RTCLOK+1
|
||||||
|
bne @-
|
||||||
|
|
||||||
.ENDIF
|
.ENDIF
|
||||||
jsr MakeDarkScreen
|
jsr MakeDarkScreen
|
||||||
|
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user