NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectSharing Variables among Games  
Posted byAnonymous
Posted on11/5/04 07:08 AM
From IP152.104.175.12  



If I want to have several games inside one cartridge, what should i do to define variables for each game?

I am wondering how to define individual set of variables for each game.

for eg, I defined TestArray .ds 50 at the beginning of Page Zero.
Therefore, addresses $00 to $32 will be reserved for TestArray

Game 1 will be getting access to this TestArray. If Game 2 need to get access
to the same memory space, what should I do then? Using the same variable name as in Game 1?

Brian




-
Entire Thread
Subject  Posted byPosted On
.Sharing Variables among Games  Anonymous11/5/04 07:08 AM
.*Re: Sharing Variables among Games  RoboNes11/5/04 11:02 AM
..*Re: Sharing Variables among Games  Anonymous11/5/04 11:59 AM
...*Re: Sharing Variables among Games  Memblers11/5/04 3:53 PM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo