Next draft of sram.asm. Save/SRAM changes to save, init, and password

Deleted previewdatacopy.asm which was for SRAM Trace which we no longer
support. Password moved to $703000. 32-bits at $FFE0 in ROM (unused
hardware vector) now burned into $702015 in SRAM with ROM name.
This commit is contained in:
cassidy
2021-12-06 00:33:29 -05:00
parent 640e94153d
commit 774aeb5e73
5 changed files with 128 additions and 157 deletions

View File

@@ -24,7 +24,7 @@ Init_Primary:
LDX #$00
-
LDA $702000, X : CMP $00FFC0, X : BNE .clear
LDA RomNameSRAM, X : CMP $00FFC0, X : BNE .clear
INX
CPX #$15 : !BLT -
BRA .done
@@ -38,7 +38,7 @@ Init_Primary:
SEP #$30 ; set 8-bit accumulator & index registers
LDX #$00
-
LDA $00FFC0, X : STA $702000, X
LDA $00FFC0, X : STA RomNameSRAM, X
INX
CPX #$15 : !BLT -
LDX #$00