Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

Ads

#1 2015-02-08 02:40:36

wolfboyft
Member
Registered: 2015-02-02
Posts: 10

Saving with SRAM, and loading functions from other banks.

Hi! I'm still relatively new to GBDK and C, but I'd like to know how to manipulate SRAM and make my game save!

So, the questions I ask are:

1-1. What headers do I use?

2-1. What variables must be made?

3-1. What .o objects must I make and compile?

4-1. What code do I use?

And...

1-2. How do I use functions from other banks?

2-2. Do I simply just run a load of looping functions in bank 0, after loading them and other data from game engine banks and tile data banks?

Thanks in advance,

wolfboyft

Offline

 

#2 2015-03-06 19:42:10

a cat
Member
Registered: 2014-07-27
Posts: 98

Re: Saving with SRAM, and loading functions from other banks.

i once asked this and got a answer here:
http://gbdev.gg8.se/forums/viewtopic.php?id=193


a cat in need of knowledge!!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson