// // StaticAnalyser.hpp // Clock Signal // // Created by Thomas Harte on 23/08/2016. // Copyright © 2016 Thomas Harte. All rights reserved. // #ifndef StaticAnalyser_hpp #define StaticAnalyser_hpp #include "../Storage/Tape/Tape.hpp" #include "../Storage/Disk/Disk.hpp" #include "../Storage/Cartridge/Cartridge.hpp" #include #include #include namespace StaticAnalyser { enum Machine { Atari2600, Electron, Vic20 }; struct Target { Machine machine; float probability; union { enum class Vic20 { Unexpanded, EightKB, ThirtyTwoKB } vic20; } memoryModel; union { struct { bool adfs; bool dfs; } acorn; struct { bool c1540; } vic20; } externalHardware; std::string loadingCommand; union { struct { bool holdShift; } acorn; } loadingMethod; std::list> disks; std::list> tapes; std::list> cartridges; }; std::list GetTargets(const char *file_name); } #endif /* StaticAnalyser_hpp */