|
Subject: Re: [stella] Addressing Problem From: Manuel Rotschkar <cybergoth@xxxxxxxx> Date: Sat, 30 Jul 2005 14:00:29 -0400 |
Hi there!
> Lets image i have 10 levels. X is only 8 bit. So it will overflow after
> finishing level 4 and loading level 5. How can i solve this problem?
Indirect Y indexing should do the trick:
When Loading your data:
LDA (levelPointer),Y
Advancing to the next level:
LDA levelPointer
CLC
ADC #61
STA levelPointer
BCC MSBFine
INC levelPointer+1
MSBFine
Greetings,
Manuel
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://stella.biglist.com
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [stella] Addressing Problem, Christian Ammann | Thread | Re: [stella] Addressing Problem, christian ammann |
| [stella] Addressing Problem, christian ammann | Date | Re: [stella] Addressing Problem, christian ammann |
| Month |