Cartridge reset option

This commit is contained in:
Pecusx
2023-10-11 17:48:58 +02:00
parent cb8cd83cd9
commit ef6e8810ad
5 changed files with 19 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
BankNr = $D500
; --- BASIC switch OFF
org $0100
reset_proc
; set cartridge bank to 0
mva #$0 BankNr
; and reset
jmp ($fffd)
initialization
mwa #reset_proc $0A ; set DOSVEC
mva #$01 $09
rts
;
ini initialization
+2
View File
@@ -2,6 +2,8 @@
icl '../../Atari/lib/ATARISYS.ASM'
icl '../../Atari/lib/MACRO.ASM'
icl 'cart_reset.asm'
.zpvar dliCounter .byte = $80
.zpvar TetryxColor .byte
.zpvar TetryxColorS .byte
Binary file not shown.
+2 -2
View File
@@ -348,9 +348,9 @@ StartAfterSplash
lda #3 ; stereo (pseudo)
sta POKEY+$0f ; stereo
sta POKEY+$1f ; stereo
.IF CART_VERSION = 0
sta COLDST ; Cold start after Reset key
.ENDIF
lda PAL
and #%00001110
bne NoRMT_PALchange
BIN
View File
Binary file not shown.