Re: [stella] Star Fire: 1 step forward 2 steps back :-)

Subject: Re: [stella] Star Fire: 1 step forward 2 steps back :-)
From: Chris Wilkson <ecwilkso@xxxxxxx>
Date: Sat, 30 Nov 2002 22:16:11 -0500 (EST)
On Sun, 1 Dec 2002, Manuel Polik wrote:

> Ok, I have it now. On Dennis CC the game starts on the
> wrong bank, so my code:
>
> SwitchToBank1:
>     BIT $1FF9
>     JMP MainGame
>
>     .byte   $FF, $FF, $FF, $FF
>     .word   SwitchToBank1
>     .word   SwitchToBank1
>     .word   SwitchToBank1
>
> would force it back to the intro bank. Now on the other
> bank, it looks like this:
>
> SwitchToBank0:
>     BIT $1FF8
>     JMP StartScore
>     .byte   $FF, $FF, $FF, $FF  ;           addresses
> for bank-switching (do not use!)
>     .word   start
>     .word   start
>     .word   start
>
> And when _starting_ the cartridge on "StartScore", the
> initing code isn't executed.
>
> Well, that explains the problem, but what would be a
> proper solution?

Hi Manuel,

Could you post more code or maybe include the ROM addresses with
this snippet?  Is this your startup code?  I.e. at the end of each
bank?  Or are these other bankswitches during the game operation?
I think I can help, but I need a little more info.

-Chris


----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread