// // File.hpp // Clock Signal // // Created by Thomas Harte on 18/09/2016. // Copyright © 2016 Thomas Harte. All rights reserved. // #ifndef File_hpp #define File_hpp #include #include #include #include namespace StaticAnalyser { namespace Acorn { struct File { std::string name; uint32_t load_address; uint32_t execution_address; bool is_protected; std::vector data; struct Chunk { std::string name; uint32_t load_address; uint32_t execution_address; uint16_t block_number; uint16_t block_length; uint8_t block_flag; uint32_t next_address; bool header_crc_matched; bool data_crc_matched; std::vector data; }; std::list chunks; }; } } #endif /* File_hpp */