mirror of https://github.com/stella-emu/stella.git
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:
parent
b0eff89002
commit
7e0355dd55
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// 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>
|
#include <cassert>
|
||||||
|
@ -80,14 +80,11 @@ uInt8 CartridgeEF::peek(uInt16 address)
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void CartridgeEF::poke(uInt16 address, uInt8)
|
void CartridgeEF::poke(uInt16 address, uInt8)
|
||||||
{
|
{
|
||||||
// TODO - determine if writes will switch banks
|
|
||||||
/*
|
|
||||||
address = address & 0x0FFF;
|
address = address & 0x0FFF;
|
||||||
|
|
||||||
// Switch banks if necessary
|
// Switch banks if necessary
|
||||||
if((address >= 0x0FE0) && (address <= 0x0FEF))
|
if((address >= 0x0FE0) && (address <= 0x0FEF))
|
||||||
bank(address - 0x0FE0);
|
bank(address - 0x0FE0);
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
Loading…
Reference in New Issue