|
ForumsSega Master System / Mark III / Game GearSG-1000 / SC-3000 / SF-7000 / OMV |
Home - Forums - Games - Scans - Maps - Cheats - Credits Music - Videos - Development - Hacks - Translations - Homebrew |
Author | Message |
---|---|
|
devkitsms weird sram issue
Posted: Tue Aug 29, 2023 3:36 pm Last edited by Louis The SEGA Nerd on Tue Aug 29, 2023 8:36 pm; edited 1 time in total |
So I recently added sram support to my Monaco Master game (to save high scores) using sverx's 'tutorial' from here:
https://www.smspower.org/forums/16013-DevkitSMSSMSlibMissingRequestingFeatures I had no issues with that and it works great both in an emulator and real hardware. So, I thought I'd add the same functionality to my Sub-Assault game and it just doesn't want to work on a Master System. Bizarrely, saving works fine on a real SEGA MegaDrive and the Kega Fusion emulator but on a real Master System, Emulicious, MEKA etc. I get nothing (it doesn't even generate a .sav file). *Problem has been solved :) |
|
|
Posted: Tue Aug 29, 2023 4:35 pm |
I suspect it's because the ROM size is < 64KiB so Emulicious (and the Master EverDrive) will think there's no mapper on the cartridge (no mapper means no SRAM too!)
use the -pm parameter with makesms makesms -pm infile.ihx outfile.sms
to make sure the ROM size is 64 KiB (or multiples). |
|
|
Posted: Tue Aug 29, 2023 8:35 pm |
Perfect! That's done the trick. Thanks ^_^ | |