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

@@ -27,7 +27,7 @@ RTL
;--------------------------------------------------------------------------------
ClearExtendedWRAMSaveFile:
STA $7EF400, X ; what we wrote over
; STA $7F6000, X
STA $7F6000, X
STA $7F6100, X
STA $7F6200, X
STA $7F6300, X
@@ -68,7 +68,7 @@ CopyExtendedSaveFileToWRAM:
LDA #$05 : STA $4303
LDA #$70 : STA $4304
LDA #$00 : STA $4305 ; set transfer size to 0xB00
LDA #$00 : STA $4305 ; set transfer size to 0x1000
LDA #$10 : STA $4306 ; STZ $4307
LDA #$01 : STA $420B ; begin DMA transfer