2019-10-04 02:10:10 +00:00
|
|
|
//
|
|
|
|
// Target.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 03/06/2019.
|
|
|
|
// Copyright © 2019 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2024-01-17 04:34:46 +00:00
|
|
|
#pragma once
|
2019-10-04 02:10:10 +00:00
|
|
|
|
2020-03-20 03:24:06 +00:00
|
|
|
#include "../../../Reflection/Struct.hpp"
|
2020-03-15 04:13:38 +00:00
|
|
|
#include "../StaticAnalyser.hpp"
|
|
|
|
|
2023-05-10 21:02:18 +00:00
|
|
|
namespace Analyser::Static::AtariST {
|
2019-10-04 02:10:10 +00:00
|
|
|
|
2020-03-15 04:13:38 +00:00
|
|
|
struct Target: public Analyser::Static::Target, public Reflection::StructImpl<Target> {
|
2022-08-10 16:00:06 +00:00
|
|
|
ReflectableEnum(MemorySize,
|
|
|
|
FiveHundredAndTwelveKilobytes,
|
|
|
|
OneMegabyte,
|
|
|
|
FourMegabytes);
|
|
|
|
MemorySize memory_size = MemorySize::OneMegabyte;
|
|
|
|
|
2024-12-07 16:15:38 +00:00
|
|
|
Target() : Analyser::Static::Target(Machine::AtariST) {}
|
|
|
|
|
|
|
|
private:
|
|
|
|
friend Reflection::StructImpl<Target>;
|
|
|
|
void declare_fields() {
|
|
|
|
DeclareField(memory_size);
|
|
|
|
AnnounceEnum(MemorySize);
|
2022-08-10 16:00:06 +00:00
|
|
|
}
|
2019-10-04 02:10:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|