Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - devkitsms weird sram issue

Reply to topic
Author Message
  • Joined: 30 Jan 2023
  • Posts: 55
  • Location: Manchester, England
Reply with quote
devkitsms weird sram issue
Post 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 :)
  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 3828
  • Location: Stockholm, Sweden
Reply with quote
Post 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).
  View user's profile Send private message Visit poster's website
  • Joined: 30 Jan 2023
  • Posts: 55
  • Location: Manchester, England
Reply with quote
Post Posted: Tue Aug 29, 2023 8:35 pm
Perfect! That's done the trick. Thanks ^_^
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!