1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-27 02:55:07 +00:00
CLK/Analyser/Static/Amiga/Target.hpp

42 lines
784 B
C++
Raw Normal View History

2021-07-17 00:15:36 +00:00
//
// Target.hpp
// Clock Signal
//
// Created by Thomas Harte on 16/07/2021.
// Copyright © 2021 Thomas Harte. All rights reserved.
//
#ifndef Analyser_Static_Amiga_Target_h
#define Analyser_Static_Amiga_Target_h
#include "../../../Reflection/Struct.hpp"
#include "../StaticAnalyser.hpp"
namespace Analyser {
namespace Static {
namespace Amiga {
struct Target: public Analyser::Static::Target, public Reflection::StructImpl<Target> {
2021-12-22 20:17:11 +00:00
ReflectableEnum(FastRAM,
None,
OneMegabyte,
TwoMegabytes,
FourMegabytes,
EightMegabytes);
FastRAM fast_ram = FastRAM::TwoMegabytes;
Target() : Analyser::Static::Target(Machine::Amiga) {
if(needs_declare()) {
DeclareField(fast_ram);
AnnounceEnum(FastRAM);
}
}
2021-07-17 00:15:36 +00:00
};
}
}
}
#endif /* Analyser_Static_Amiga_Target_h */