Re: [stella] The mother of all bankswitching trickery :-)

Subject: Re: [stella] The mother of all bankswitching trickery :-)
From: Paul Slocum <paul-stella@xxxxxxxxxxxxxx>
Date: Sat, 07 Dec 2002 10:12:22 -0600

Well apart from finally proving that there is games in
the original library toying with self-modifying code, it
reveals another mystery. The code that is executed in
the RAM reads:

LDA $FFF9
JMP $F669

Cool. So I guess they just modify the JMP address each time to call different subroutines in the upper bank? How do they get back? Same way?


It's clever, but I sure can't see wasting 6 bytes of RAM for bankswitching!

-Paul



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


Current Thread