From f5de7eff10c9a311c39a1e285ac29ce9e49d622c Mon Sep 17 00:00:00 2001 From: bwmott Date: Sun, 27 Aug 2006 02:38:50 +0000 Subject: [PATCH] Modified the startup banks for the F4 and F4SC bankswitching methods so that they start in bank 0 instead of bank 7. Some homebrews have been developed assuming bank 0 is the default. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1120 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/emucore/CartF4.cxx | 10 +++++----- stella/src/emucore/CartF4SC.cxx | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/stella/src/emucore/CartF4.cxx b/stella/src/emucore/CartF4.cxx index dab8d02b2..015571842 100644 --- a/stella/src/emucore/CartF4.cxx +++ b/stella/src/emucore/CartF4.cxx @@ -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: CartF4.cxx,v 1.7 2005-12-17 01:23:07 stephena Exp $ +// $Id: CartF4.cxx,v 1.8 2006-08-27 02:38:50 bwmott Exp $ //============================================================================ #include @@ -48,8 +48,8 @@ const char* CartridgeF4::name() const // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void CartridgeF4::reset() { - // Upon reset we switch to bank 7 - bank(7); + // Upon reset we switch to bank 0 + bank(0); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -72,8 +72,8 @@ void CartridgeF4::install(System& system) mySystem->setPageAccess(i >> shift, access); } - // Install pages for bank 7 - bank(7); + // Install pages for bank 0 + bank(0); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stella/src/emucore/CartF4SC.cxx b/stella/src/emucore/CartF4SC.cxx index 305c007ea..74e6afdc1 100644 --- a/stella/src/emucore/CartF4SC.cxx +++ b/stella/src/emucore/CartF4SC.cxx @@ -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: CartF4SC.cxx,v 1.10 2005-12-17 01:23:07 stephena Exp $ +// $Id: CartF4SC.cxx,v 1.11 2006-08-27 02:38:50 bwmott Exp $ //============================================================================ #include @@ -55,8 +55,8 @@ const char* CartridgeF4SC::name() const // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void CartridgeF4SC::reset() { - // Upon reset we switch to bank 7 - bank(7); + // Upon reset we switch to bank 0 + bank(0); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -97,8 +97,8 @@ void CartridgeF4SC::install(System& system) mySystem->setPageAccess(k >> shift, access); } - // Install pages for bank 7 - bank(7); + // Install pages for bank 0 + bank(0); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -