[stella] Definitive list of bankswitching formats for the 2600
stella at casperkitty.com
stella at casperkitty.com
Sun Dec 24 17:18:31 CST 2006
>>
Short answer, yes :) Stella is written in C++ and structured using
classes for each bankswitching type. The BS type is actually used to
create an instance of the correct class, so I sort of need it before
anything is created. So determining the type has to be from analyzing
the actual ROM code, not at runtime.
<<
So, define a class which supports either E0 or F8 bankswitching, and
disables support for whichever one isn't used.
>>
Any way to determine this from the raw ROM code? Is there any
particular signature that I can search for?? Basically what I need is
something like how 3F is detected (always does an 'STA $3F' to switch
banks, so I search for 0x85, 0x3F).
<<
Plan is to recommend that developers put a "4A50" marker at address $1EFE,
but otherwise figure that the reset vector will probably point to code that
does an absolute-mode fetch of an address $6800-$6FFF. Don't remember
exactly how the decode for that works, but I think it's straightforward.
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
More information about the Stella
mailing list