It is currently Wed Apr 26, 2017 4:54 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: MBCn + Battery
PostPosted: Tue May 24, 2016 2:04 am 
Offline

Joined: Thu Jul 29, 2010 4:39 am
Posts: 20
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


Top
 Profile  
 
 Post subject: Re: MBCn + Battery
PostPosted: Tue May 24, 2016 5:59 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 18193
Location: NE Indiana, USA (NTSC)
RAM inside the Game Boy is not saved. According to the memory map, most cartridges put all their battery RAM at $A000-$BFFF.


Top
 Profile  
 
 Post subject: Re: MBCn + Battery
PostPosted: Tue May 24, 2016 7:27 am 
Offline

Joined: Thu Jul 29, 2010 4:39 am
Posts: 20
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. :-)


Top
 Profile  
 
 Post subject: Re: MBCn + Battery
PostPosted: Fri May 27, 2016 2:20 am 
Offline

Joined: Tue May 28, 2013 5:49 am
Posts: 554
Location: Sweden
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group