SXROM 32KB Emulator Issue [Solved]

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

Post Reply
nesmaster14
Posts: 27
Joined: Tue Feb 07, 2012 11:22 am

SXROM 32KB Emulator Issue [Solved]

Post by nesmaster14 »

I've noticed an issue on the Famicom game Dezaemon. Whenever you go to save an edited file, the save is lost or was never written. I've tested the Dezaemon ROM on a few emulators as well as on an Everdrive N8. The game runs, but its most vital feature (saving) does not work. Any idea why this happens? I read somewhere that SXROM games need to be in the NES 2.0 format to be read properly on emulation (otherwise they'll be read as a lesser sized SUROM/SNROM)? My theory is the .nes file (?) needs to be updated for the NES 2.0 format, so the full 32KB SRAM bank will be saved, but I have no idea how to do so. Any info/help is greatly appreciated! I feel this game would benefit greatly from having emulation/flash cart support due to the save-oriented nature of the game.

Also, I own an original copy of the game if anyone wants a scan of the PCB. Additionally, if you need info on how to navigate Dezaemon, I know my way around.

Thanks
Last edited by nesmaster14 on Sat Mar 28, 2015 3:46 pm, edited 1 time in total.
User avatar
koitsu
Posts: 4203
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: SXROM 32KB Emulator Issue (Dezaemon for Famicom)

Post by koitsu »

You can update the header to NES 2.0, but there's no guarantee the emulator or device you're using supports the 2.0 bytes. You're looking at byte 10 of the header:

Format: http://wiki.nesdev.com/w/index.php/NES_2.0
lidnariq
Posts: 10677
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: SXROM 32KB Emulator Issue (Dezaemon for Famicom)

Post by lidnariq »

Dezaemon's SXROM would be specifically these 16 bytes:

Code: Select all

4e 45 53 1a 08 00 12 08  00 00 90 07 00 00 00 00
            |/ |/ ||  |        |   |
  128 KiB PRG  |  || NES 2.0   |   8 KiB not-backed CHR RAM
      no CHR ROM  ||    32 KiB battery-backed PRG RAM
               MMC1|
                   Battery
Easiest is to load the ROM in Nintendulator's header editor.


Edited to incorporate Joe's correction. I naïvely assumed all SXROM games were 512 KiB PRG.
Last edited by lidnariq on Sat Mar 28, 2015 3:26 pm, edited 2 times in total.
Joe
Posts: 469
Joined: Mon Apr 01, 2013 11:17 pm

Re: SXROM 32KB Emulator Issue (Dezaemon for Famicom)

Post by Joe »

I think Dezaemon has only 128KiB of PRG-ROM:

Code: Select all

4E 45 53 1A 08 00 12 08  00 00 90 07 00 00 00 00
            |/
  128 KiB PRG
nesmaster14
Posts: 27
Joined: Tue Feb 07, 2012 11:22 am

Re: SXROM 32KB Emulator Issue (Dezaemon for Famicom)

Post by nesmaster14 »

Alright, I updated the header and it seems to be working now! Thanks for the help guys!
Post Reply