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
This commit is contained in:
bwmott 2006-08-27 02:38:50 +00:00
parent 3df41044d8
commit f5de7eff10
2 changed files with 10 additions and 10 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: 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 <assert.h>
@ -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);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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: 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 <assert.h>
@ -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);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -