2016-09-11 17:09:00 -04:00
|
|
|
//
|
|
|
|
// File.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 10/09/2016.
|
2018-05-13 15:19:52 -04:00
|
|
|
// Copyright 2016 Thomas Harte. All rights reserved.
|
2016-09-11 17:09:00 -04:00
|
|
|
//
|
|
|
|
|
2024-01-16 23:34:46 -05:00
|
|
|
#pragma once
|
2016-09-11 17:09:00 -04:00
|
|
|
|
2023-05-25 23:06:13 +03:00
|
|
|
#include <cstdint>
|
2016-09-11 17:09:00 -04:00
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
2023-05-10 16:02:18 -05:00
|
|
|
namespace Analyser::Static::Commodore {
|
2016-09-11 17:09:00 -04:00
|
|
|
|
|
|
|
struct File {
|
|
|
|
std::wstring name;
|
|
|
|
std::vector<uint8_t> raw_name;
|
|
|
|
uint16_t starting_address;
|
|
|
|
uint16_t ending_address;
|
2017-11-10 22:47:10 -05:00
|
|
|
bool is_locked = false;
|
|
|
|
bool is_closed = false;
|
2016-09-11 17:09:00 -04:00
|
|
|
enum {
|
|
|
|
RelocatableProgram,
|
|
|
|
NonRelocatableProgram,
|
|
|
|
DataSequence,
|
2016-09-15 07:54:42 -04:00
|
|
|
User,
|
|
|
|
Relative
|
2016-09-11 17:09:00 -04:00
|
|
|
} type;
|
|
|
|
std::vector<uint8_t> data;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|