Oops, just found out that writes to 'EF' cart do trigger bankswitching.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1691 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2009-04-05 19:02:56 +00:00
parent b0eff89002
commit 7e0355dd55
1 changed files with 1 additions and 4 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
//
// $Id: CartEF.cxx,v 1.1 2009-04-05 18:59:56 stephena Exp $
// $Id: CartEF.cxx,v 1.2 2009-04-05 19:02:56 stephena Exp $
//============================================================================
#include <cassert>
@ -80,14 +80,11 @@ uInt8 CartridgeEF::peek(uInt16 address)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void CartridgeEF::poke(uInt16 address, uInt8)
{
// TODO - determine if writes will switch banks
/*
address = address & 0x0FFF;
// Switch banks if necessary
if((address >= 0x0FE0) && (address <= 0x0FEF))
bank(address - 0x0FE0);
*/
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -