custom 5200 splash screen year 2023

This commit is contained in:
2023-01-12 20:34:04 -05:00
parent c7b5a07c62
commit 8ac3c22fe7
2 changed files with 19 additions and 12 deletions
+19 -12
View File
@@ -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
View File
Binary file not shown.