Re: [stella] A new way to bankswitch

Subject: Re: [stella] A new way to bankswitch
From: Manuel Rotschkar <cybergoth@xxxxxxxx>
Date: Wed, 9 Mar 2005 17:20:32 -0500
Hi there!

> THE NEW SOLUTION:
> LDA #>ROUTINE1
> PHA
> LDA #<ROUTINE1-1
> PHA
> JMP $FFF8

Interesting idea. This should also work then:

LDA JumpTable+1,Y
PHA
LDA JumpTable,Y
PHA
JMP $FFF8

Jumptable
	.word ROUTINE1-1, ROUTINE2-1, ROUTINE3-1

Greetings,
	Manuel

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

Current Thread