Battle Fleet, Famista '90, Kaijuu Monogatari, Mindseeker

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

User avatar
Dwedit
Posts: 4924
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: Battle Fleet, Famista '90, Kaijuu Monogatari, Mindseeker

Post by Dwedit »

Battery-backed wavetable sample ram? Now I've seen everything.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: Battle Fleet, Famista '90, Kaijuu Monogatari, Mindseeker

Post by lidnariq »

There are a significant number of 163-using games (edit:) that battery-backed the wavetable RAM and used it to store save data instead of using it for audio. List on nesdevwiki:iNES Mapper 210 ("internal").
Last edited by lidnariq on Tue Nov 07, 2017 3:03 pm, edited 1 time in total.
NewRisingSun
Posts: 1510
Joined: Thu May 19, 2005 11:30 am

Re: Battle Fleet, Famista '90, Kaijuu Monogatari, Mindseeker

Post by NewRisingSun »

Should SRAM files be interchangeable between emulators? If so, then it needs to be specified whether internal or external NVRAM data comes first. For compatibility with existing emulators that do not save the N163's internal RAM at all, I suggest that external NVRAM comes first.
User avatar
rainwarrior
Posts: 8732
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: Battle Fleet, Famista '90, Kaijuu Monogatari, Mindseeker

Post by rainwarrior »

Not knowing about this thread, I unwittingly continued this discussion over here:
Namcot 163/MMC5/Konami VRC6 Audio Level test program

Though probably if you were looking for the continuation you'd want to fast forward to NewSunRising's restatement here (most of the stuff before that is about audio, and then a bunch of me being confused).
https://forums.nesdev.com/viewtopic.php ... 34#p222934
NewRisingSun
Posts: 1510
Joined: Thu May 19, 2005 11:30 am

Re: Battle Fleet, Famista '90, Kaijuu Monogatari, Mindseeker

Post by NewRisingSun »

Maybe I am asking the dumb question, but: should EEPROM-bearing games have the iNES "Battery" bit set (in addition to having the EEPROM size in the NES 2.0 PRG-NVRAM field)? The NES 2.0 wiki page seems somewhat ambiguous about this.
Great Hierophant
Posts: 780
Joined: Tue Nov 23, 2004 9:35 pm

Re: Battle Fleet, Famista '90, Kaijuu Monogatari, Mindseeker

Post by Great Hierophant »

Maybe the battery bit should be set for SRAM and not be set for EEPROM. There is a field for "battery backed" WRAM in the NES 2.0 header and a field for the non-battery backed WRAM. Right now we distinguish between EEPROM and SRAM by size, SRAM generally being 1K or larger and EEPROM being smaller than 1K. I only know of 128B and 256B varieties of EEPROM used in licensed Famicom games, perhaps some of the unlicensed or bootlegs may use more. I believe 2K was the smallest discrete SRAM chip used in licensed cartridges, I can't speak for the unlicensed stuff beyond what I put in my list. There could conceivably be some game out there that uses a 1K SRAM chip and another game that uses a 1K EEPROM, so the battery bit may be the key to distinguishing what type of chip to emulate.
Post Reply