Removed some debugging code from 4A50 handler (thanks again to Eckhard).

The 4A50 scheme now works on all test ROMs I have, whether or not display
autodetection is activated.

I noticed there's some graphical glitches in the various 'Ruby Runner'
demos below the lowest wall of the maze.  I'm not sure if this is a
bankswitching issue or TIA emulation problem, but I'm leaning towards the
latter.  More testing is required ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1402 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2008-02-22 16:27:07 +00:00
parent f3c1b6308a
commit e3ee622633
1 changed files with 37 additions and 41 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: Cart4A50.cxx,v 1.12 2008-02-21 23:58:09 stephena Exp $
// $Id: Cart4A50.cxx,v 1.13 2008-02-22 16:27:07 stephena Exp $
//============================================================================
#include <cassert>
@ -234,9 +234,6 @@ void Cartridge4A50::checkBankSwitch(uInt16 address, uInt8 value)
}
}
// Handle hotspots that mirror TIA or RIOT
if((address >= 0x80) && (address < 0x100))
{
// Zero-page hotspots for upper page
// 0xf4, 0xf6, 0xfc, 0xfe for ROM
// 0xf5, 0xf7, 0xfd, 0xff for RAM
@ -279,7 +276,6 @@ void Cartridge4A50::checkBankSwitch(uInt16 address, uInt8 value)
}
}
}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Cartridge4A50::bank(uInt16)