nesdev.com
http://forums.nesdev.com/

MBCn + Battery
http://forums.nesdev.com/viewtopic.php?f=20&t=14288
Page 1 of 1

Author:  DParrott [ Tue May 24, 2016 2:04 am ]
Post subject:  MBCn + Battery

Hi all,

Hopefully a simple question, when a mapper specifies that it has a battery backup should I save the state of the entire RAM out when my emulator exits or is there a range of memory that is specifically battery backed?

Cheers

Author:  tepples [ Tue May 24, 2016 5:59 am ]
Post subject:  Re: MBCn + Battery

RAM inside the Game Boy is not saved. According to the memory map, most cartridges put all their battery RAM at $A000-$BFFF.

Author:  DParrott [ Tue May 24, 2016 7:27 am ]
Post subject:  Re: MBCn + Battery

Apologies, should have been clearer.

I meant that cart ram when it has it and the MBC is a battery type.

I'll save it all out. Thanks. :-)

Author:  Pokun [ Fri May 27, 2016 2:20 am ]
Post subject:  Re: MBCn + Battery

If the header specifies a smaller RAM than the full $A000-$BFFF range, I guess you only need to save up to that point. MBC2 with its internal RAM only uses the first 512 byte.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/