I'm having a little difficulty deciding how to mirror oddly-sized ROMs for the SNES when burning onto 32Mb PROMs.
Say I have a ROM thats 20Mb in size (2.5MB). Is it best to mirror the last 4Mb onto the back, making it 24Mb, then copy the last 8Mb of the new file onto the back to make 32Mb (in other words, copying the last 4Mb of the original file onto the end 3 times!)? or is it best to copy the last 12Mb of the original file onto the end to make 4Mb?
My feeling is that I should do the first option, but I'm not sure. I know that it doesn't matter too much for most games, but some ROMs can detect mirroring and use it as a form of copy protection.
Thanks for any help.
You dont need to mirror it.
You're right though that it's usually unnecessary, I just tend to double up 16Mb ROMs and quadruple 8Mb ROMs just as a "best practice" thing.
I get that for something like 12Mb, you should copy the last 4Mb then double up the resulting file to 32Mb, I'm just confused with the 20Mb file as to whether it's best to do the 3xfinal 4Mb copy, or just copy the last 12Mb of the original file...
Just to add to my point, I've heard that non-mirrored versions of FFV with the Eng translation (which is a 20Mb file BTW) will crash after the opening screen. Not sure if this is true, though.
Any that require mirroring are exception to the rule. 99% dont require any sort of mirroring - that rom space doesnt exist as far as the game is concerned.
If you have one that needs mirroring in this way (I have personally yet to see one), your first option is correct
The only games I'm aware of that care about proper mirroring are Mega Man X and Demon's Crest. Both utilize the mirroring effect as copy protection against Copier/Backup Devices of the time period. Demon's Crest on a 32mbit ROM should be doubled up. Mega Man X as TriMesh detailed might be a bit more complicated. But that's a very common game. Is anyone else aware of any other game to actually rely on proper ROM mirroring behavior? I'm fairly sure these are the only two.
Secret of Mana doesn’t work if not expanded to 32 mbit, if a chip that size is used.
I've seen two different types, the 2 chip (2x 8mbit) version and a single one with 36 pins (so 32mbit?)
Demon’s Crest/Blazon has also got SRAM protection from memory
zzattack is it programmer related?
As I said, if I burn the Secret of Mana which is 2 megabytes on a 32mbit chip without using Lunar expand, the game will not work.
No. All lunar expand does is pad the file with zeroes and patch the game header to reflect the new size. I think there's another reason your game didn't work.
Thanks, I understand that they are two separate things now.
I was aware of region protection, SRAM protection but didn't know there are games with mirror protection too
There's no such thing as mirror protection or mirroring for the SNES. There's mapping: LoROM, HiROM, ExHiROM.
I've build many SNES games, never really used Lunar Expand and ALL of them work fine.
The problem you guys are encountering is simple.
Example: King of Demons is 1.5MB in size and you probably tried to swap address lines using a tool so you can use 2x 27c801 and swap pin 24 <-> 31 instead of the classic connection scheme.
The tool does not work with 512KB files, therefore you have to expand the ROM to 2MB first.
This is not a protection of the game or problem of the games or Lunar Expand or your connection but rather the tool not swapping out the address lines properly with 512KB files.
As for Secret of Mana being 2MB and programmed on a 4MB chip. I never really had such issue doing that with many games. What chip are you even using for that? 27c322, 29F032/29F033 or even MX29L3211?
That's new to me. Like I said. I never had such issue.
Perhaps try grounding A21 (Pin 39) from the 29F033. If that won't help, connect it to 5V.
This way only the first 16MBit will be available and there shouldn't be any problems.