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

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

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 #13440 of 15019 |
Re: flash card save data problem

--- In gbadev@y..., "yerricde" <d_yerrick@h...> wrote:
> --- 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.
> [...]
> 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

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, I see the loader programs let you select a save bank
but didn't find details how they set it. I saw talk of patching some
save routines, so there must be a page register or some routine libs
somewhere.
New info, the records seem to be wrapping too, 606 bytes each.
Changing record 2 or 1 alters record 0, but only on the new cards!
How can it be? It works on VBA/other card, honest.
I've got insight/gdb running with VBA but don't have a good debug
setup for the actual GBA hardware, yet.
Thanks for the tip.
+BillJ





Wed Dec 4, 2002 5:28 pm

bjohnson13_99
Offline Offline
Send Email Send Email

Forward
Message #13440 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