[stella] The mother of all bankswitching trickery 2...

Subject: [stella] The mother of all bankswitching trickery 2...
From: Manuel Polik <cybergoth@xxxxxxxx>
Date: Mon, 09 Dec 2002 22:49:55 +0100
Hi there!

In Aquaventure I found another neat way of switching 
banks, using a mixture of having lots of proxy routines 
and doing it in the RAM completely. It's ultra simple - 
it only needs two temporary bytes and a single all 
purpose proxy jump per bank:

An example switching would be:

Switching code:

       LDA    #$00    ;2
       STA    tempVar1;3
       LDA    #$F0    ;2
       STA    tempVar2;3
       JMP    LBFF0   ;3

	.....

Standart proxy:

LFFF0: LDA    LFFF8     ;
       JMP    (tempVar1);5

Greetings,
	Manuel

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


Current Thread