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
defining amount of RAM to use on flash cart in ROM image   Message List  
Reply | Forward Message #14403 of 15019 |
Re: defining amount of RAM to use on flash cart in ROM image

I can't be sure of the mechanism, but commercial ROMs include
an embedded string, e.g. 'SRAM_V112' which I believe programming
utilities look for to determine storage type. I suppose that
there might be enough of a clue here to also know the amount of
storage.

I tend to include a similar string in my own work.

If anyone knows the factual answer please correct me.

--- In gbadev@yahoogroups.com, "David Sharp" <dave@d...> wrote:
> I've written a little game and want to add a save state to it.
>
> By writing to memory from 0xE000000 onwards a byte at a time I can
see the
> values being written to the .SAV file that VisualBoyAdvance
automatically
> creates.
>
> If I put my ROM image into EZ-Client v1.08a (for use on an XG flash
cart) it
> defaults to having 0kB of RAM allocated to it while various other
ROM images
> have predefined RAM amounts. By manually setting this value to
128kB,
> running the game and then saving the RAM out from the cart I can
see the
> values being saved to it so things seem to be working fine.
>
> So, how do I change my ROM image file to define the amount of RAM
it should
> use on the flash cart?
>
> Cheers
> Dave





Mon Jul 7, 2003 8:15 am

gb_feedback
Offline Offline
Send Email Send Email

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

I've written a little game and want to add a save state to it. By writing to memory from 0xE000000 onwards a byte at a time I can see the values being written...
David Sharp
davesharp2002
Offline Send Email
Jul 6, 2003
3:02 am

I can't be sure of the mechanism, but commercial ROMs include an embedded string, e.g. 'SRAM_V112' which I believe programming utilities look for to determine...
gb_feedback
Offline Send Email
Jul 7, 2003
11:10 am
Advanced

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