mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Cartridge reset option
This commit is contained in:
@@ -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,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
@@ -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
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user