[stella] FE bank switching again

Subject: [stella] FE bank switching again
From: Adam Wozniak <adam@xxxxxxxxxxxxxxxx>
Date: Tue, 21 Jan 2003 10:26:06 -0800 (PST)
Try as I might, I cannot seem to get my copy of decathlon to switch to
the second bank.

So far I successfully and correctly detect E0, E7, DPC, 2K, 4K, F6, FA,
and F8 carts, as well as SuperChip and CBS RAM+ carts.

Here's what I'm trying to do for FE bank switching:

   peek at $1780 ; an arbitrary location
   
   poke $FF at $00FF ; simulate a stack push
   poke $FF at $00FE
   
   checksum $1000 through $1FFF
   
   peek at $1780 ; an arbitrary location
   
   poke $DD at $00FF ; simulate a stack push
   poke $DD at $00FE
   
   checksum $1000 through $1FFF
   
   compare checksums
   
   if different, then this is an FE cart

I'd suspect timings on peek/poke if I didn't have so many other cart types
working.

Any ideas?

-- 
Will code for food.       http://cuddlepuddle.org/~adam/resume.html

adam@xxxxxxxxxxxxxxxx        http://cuddlepuddle.org/~adam/pgp.html

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


Current Thread