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;
|
|
|
|
|
|
|
|
Target() : Analyser::Static::Target(Machine::AtariST) {
|
|
|
|
if(needs_declare()) {
|
|
|
|
DeclareField(memory_size);
|
|
|
|
AnnounceEnum(MemorySize);
|
|
|
|
}
|
|
|
|
}
|
2019-10-04 02:10:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|