Added copyright 2018; Added reset button

This commit is contained in:
giomba 2017-12-24 16:44:50 +01:00
parent c81b92c960
commit 3c296c9c19

View File

@ -103,7 +103,10 @@ intro1string:
BYTE #0 BYTE #0
intro2string: intro2string:
BYTE "RETROFFICINA.GLGPROGRAMS.IT" BYTE "RETROFFICINA.GLGPROGRAMS.IT"
BYTE 0 BYTE #0
intro3string:
BYTE "(C) 2018"
BYTE #0
colorshade: colorshade:
BYTE #11,#11,#11,#11,#11,#12,#12,#12,#12,#12,#5,#5,#5 BYTE #11,#11,#11,#11,#11,#12,#12,#12,#12,#12,#5,#5,#5
BYTE #13,#13,#13,#13,#7,#7,#7,#7,#7,#7 BYTE #13,#13,#13,#13,#7,#7,#7,#7,#7,#7
@ -169,8 +172,12 @@ start:
intro0running: intro0running:
jsr $ffe4 jsr $ffe4
cmp #$20 cmp #$20
beq intro0end
cmp #$51
bne intro0running bne intro0running
jmp $fce2
intro0end:
; Set init variables of the game ; Set init variables of the game
jsr fullreset jsr fullreset
; Set status as game playing ; Set status as game playing
@ -281,6 +288,16 @@ introresetColorShade
sta introScreenStart + 1 sta introScreenStart + 1
jsr printIntro jsr printIntro
lda #<intro3string
sta printIntroString
lda #>intro3string
sta printIntroString + 1
lda #$58
sta introScreenStart
lda #$07
sta introScreenStart + 1
jsr printIntro
rts rts
; Interrupt Handler ; Interrupt Handler