Users browsing this thread: 1 Guest(s)
SRAM Expansion Patch (32Kb)
10-04-2018, 01:46 AM
I commented out one line in the code and updated the patch. I had some minor problems at RAM initialization because because init would be done too late and data would get erased if you had use $336000-$3375FF prior to this.
Code:
//=======================================
// SRAM init
//=======================================
scope lbl_sram_init_sram: {
rep #$20
tdc
tax
init_sram:
sta $306000,x // slot 1
sta $316000,x // slot 2
sta $326000,x // slot 3
// sta $336000,x // you want this line commented likely
// because if you use this RAM for things
// done at game loading, init is done too late
// and data get erased..
inx
inx
cpx #$2000
bne init_sram
sep #$20
rtl
}
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)