[stella] Bankswitch question

stella at casperkitty.com stella at casperkitty.com
Fri Jul 14 00:43:47 CDT 2006


>Though IIRC, you need a few cycles between two bankswitches.

In most bank-switching schemes, the behavior of accessing two bank-switch
accesses on consecutive cycles is not defined.  Some F8 carts will honor
only the first access, while others will honor the second.  Further, while
most carts will read the contents of the hotspot in the "new" bank, the
behavior is not universal.  Indeed, my EEPROM cart design will consistently
return the contents of the "old" bank (and EEPROM-access routines are
expected to rely upon that).

I am unaware of any carts that require more than one non-hotspot access
between hotspot accesses.  With F8/F6/F4, the only way to have two
consecutive hotspot accesses would be to fetch code from the hotspots. 
Although fetching code from anything other than the first or last hotspot
is dangerous (and fetching an opcode from the first hotspot is always
dangerous), I don't think there are any other scenarios to worry about.

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .






More information about the Stella mailing list