Subject: Re: [stella] Addressing Problem From: christian ammann <christian.ammann@xxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 30 Jul 2005 14:11:12 -0400 |
Manuel Rotschkar wrote: >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 > > Hi Manuel, thanx for the code. Good idea. I dunno why i havent found out that by myself. Perhaps i thought to complicate. ;) Christian Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://stella.biglist.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] Addressing Problem, Manuel Rotschkar | Thread | [stella] Addressing Problem, christian ammann |
Re: [stella] Addressing Problem, Manuel Rotschkar | Date | RE: [stella] Compiling distella on , Fred Quimby |
Month |