1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-25 03:32:01 +00:00

Corrected 8k Tigervision test, putting detection failures below 10 (i.e. at 9) for the first time.

This commit is contained in:
Thomas Harte 2017-03-12 15:41:48 -04:00
parent 146f3ea0f5
commit 62b3c9dda8

View File

@ -113,7 +113,11 @@ static void DeterminePagingFor8kCartridge(StaticAnalyser::Target &target, const
uint16_t masked_address = address & 0x1fff;
atari_access_count += masked_address >= 0x1ff8 && masked_address < 0x1ffa;
parker_access_count += masked_address >= 0x1fe0 && masked_address < 0x1ff8;
tigervision_access_count += address == 0x3f;
}
for(uint16_t address: external_stores)
{
uint16_t masked_address = address & 0x1fff;
tigervision_access_count += masked_address == 0x3f;
}
if(parker_access_count > atari_access_count) target.atari.paging_model = StaticAnalyser::Atari2600PagingModel::ParkerBros;