Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
flash card save data problem   Message List  
Reply | Forward Message #13438 of 15019 |
Re: flash card save data problem

--- In gbadev@y..., "ninjaneer" <bjohnson13_99@y...> wrote:
> I have an application for the GBA which needs to save data in the
> battery backed SRAM at 0x0E000000.
[...]
> A 256M card and a new flash2advance 64M card lose the data when
> power is cycled.
[...]
> This app is the only program loaded in the cartridge and it uses
> about 6K of SRAM. Any corruption would look like it lost it too
> since my data checksum would fail. Does anyone have an idea what
> might be going on?

Have you tried comparing the data you wrote with the data you read
back, byte for byte, to see *which* bytes differ? I've had carts
set the first or last byte to 0x00 or 0xff on power-cycle and not
change the rest of the data. If that's your problem, just don't
use the first or last byte of the SRAM.

--
Damian





Wed Dec 4, 2002 12:31 am

yerricde
Offline Offline
Send Email Send Email

Forward
Message #13438 of 15019 |
Expand Messages Author Sort by Date

Greetings, I have an application for the GBA which needs to save data in the battery backed SRAM at 0x0E000000. It saves OK on an older 64M flash advance card...
ninjaneer
bjohnson13_99
Offline Send Email
Dec 3, 2002
4:32 pm

Do the emulators emulate this feature (battery backed RAM)? ... http://docs.yahoo.com/info/terms/...
Mike Schwartz
mykes@...
Send Email
Dec 3, 2002
9:52 pm

MS> Do the emulators emulate this feature (battery backed RAM)? yes. VBA and boycott for sure. nara, porneL -- Miód z uszu usuwam tylko po to, by wymontować...
porneL
pornelkurna
Offline Send Email
Dec 4, 2002
12:21 am

... VBA does, it suprised me. I checked around and found it created a "gnu_stub.sav" file that was 64K and had my data image it. It was running linked to...
ninjaneer
bjohnson13_99
Offline Send Email
Dec 4, 2002
4:19 pm

... [...] ... [...] ... Have you tried comparing the data you wrote with the data you read back, byte for byte, to see *which* bytes differ? I've had carts ...
yerricde
Offline Send Email
Dec 4, 2002
12:37 am

... No, not yet. I guess thats a good next step, have to code that. Since it works on the one card and VBA, sure seems card specific. In looking for card docs,...
ninjaneer
bjohnson13_99
Offline Send Email
Dec 4, 2002
5:58 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help