From 2a81ae1dec49d1a8db4efb2760999b4c7e224768 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 28 Feb 2017 20:28:14 -0500 Subject: [PATCH] Now required: at least four stores for RAM to be detected. --- StaticAnalyser/Atari/StaticAnalyser.cpp | 2 +- StaticAnalyser/StaticAnalyser.hpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/StaticAnalyser/Atari/StaticAnalyser.cpp b/StaticAnalyser/Atari/StaticAnalyser.cpp index d156e43b8..a1880f2e3 100644 --- a/StaticAnalyser/Atari/StaticAnalyser.cpp +++ b/StaticAnalyser/Atari/StaticAnalyser.cpp @@ -112,7 +112,7 @@ static void DeterminePagingForCartridge(StaticAnalyser::Target &target, const St // check for any sort of on-cartridge RAM; that might imply a Super Chip or else immediately tip the // hat that this is a CBS RAM+ cartridge - if(!disassembly.internal_stores.empty()) + if(disassembly.internal_stores.size() > 4) { bool writes_above_128 = false; for(uint16_t address : disassembly.internal_stores) diff --git a/StaticAnalyser/StaticAnalyser.hpp b/StaticAnalyser/StaticAnalyser.hpp index b7f739ab0..8c5bad7b4 100644 --- a/StaticAnalyser/StaticAnalyser.hpp +++ b/StaticAnalyser/StaticAnalyser.hpp @@ -34,7 +34,9 @@ enum class Atari2600PagingModel { ActivisionStack, ParkerBros, Tigervision, - CBSRamPlus + CBSRamPlus, + MNetwork, + Megaboy }; /*!