I modified the rom to use MMC3_118.
Now my rom works on an actual RetroPak (needs already created .sav for SRAM, it works on Nintendulator, and the latest build of FCEUX.
Someone contacted me, saying they tried to install my work on a tksrom board, and he told me the scores and names are all screwed up, and player 2 has no tile flip functionality, and he said Nestopia gave him the same result.
The code I have for my sram is A980 8D01A0.
So I looked at my reset vector and I placed the code there, before I do any kind of modification to the sram. I boot the rom, and I get the same error. It seems like all of $6000-$7FFF is filled with 60's, cause thats the tile id that shows up where the names and scores should be.
I checked the nestopia log, and it does notice the A001, and loads the .sav.
I am so lost. Id appreciate any suggestions. Thank You.
ETA: Also, if possible, just make it mapper 4. Nobody wants to take extra steps to make a repro when it could have been done completely fine on a standard MMC3 board.
ETA: The problem is you mess with SRAM before you enable it. Enable it before you even think of touching it and whatnot and your problem should be fixed. I'd try to hack it, but I hate messing with writing around code, haha.
ETA: Enabling MMC3 WRAM before I start the game didn't help...let me also fix the header as I remember that was a problem too. ETA: Nope. I'll keep messing with it until whatever...idk what to say. Also, it even better idea.
Even better: the original US release was MMC1(implying SIROM). Just enable the battery bit in the header and there's no reason to use MMC3 or TKSROM.3gengames wrote:ETA: Also, if possible, just make it mapper 4. Nobody wants to take extra steps to make a repro when it could have been done completely fine on a standard MMC3 board..
I added the wram code at the beginning of the reset vector, and it just didnt do anything.
So I dont know why this is happening.
I just dont understand why its happening within nestopia. Nintendulator is just as picky as nestopia, but nintendulator is doing fine with my hack.
I hacked a rom and put that exact code in it with the same results. Also fixed the header as it doesn't change the SRAM flag in the iNES header. Still broken.byemu wrote:to READ/write sram,you need Enable the sram first!
here is the sample code
Code: Select all
LDA #$80 STA $A001
could you share your rom,and ican help you debug it!infidelity wrote:I havent changed the header, but I added the sram code to the beginning of my reset vector earlier today, and it didnt work. Im baffled. Btw, whete in the header do you change the battery bit?
This is a wild tangent, but you can extract an MMC3 build of Tetris out of the SMB+Tetris+NWC multicart.tepples wrote:Don't both Tetris and Dr. Mario use 1-screen mirroring? Perhaps that's the specific MMC1 feature that requires the use of TxSROM.
PRG is 32 KiB starting at file offset 0x8010; CHR is 8KiB starting at file offset 0x5C010 then 8KiB starting at file offset 0x5A010. It needs some minor fixup—e.g. the high score starts as all FFs.