2023-11-29 20:59:42 +00:00
|
|
|
//
|
|
|
|
// Target.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 29/11/2023.
|
|
|
|
// Copyright © 2023 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef Analyser_Static_PCCompatible_Target_h
|
|
|
|
#define Analyser_Static_PCCompatible_Target_h
|
|
|
|
|
|
|
|
#include "../../../Reflection/Struct.hpp"
|
|
|
|
#include "../StaticAnalyser.hpp"
|
|
|
|
|
|
|
|
namespace Analyser::Static::PCCompatible {
|
|
|
|
|
|
|
|
struct Target: public Analyser::Static::Target, public Reflection::StructImpl<Target> {
|
|
|
|
ReflectableEnum(VideoAdaptor,
|
|
|
|
MDA,
|
|
|
|
CGA);
|
2023-12-06 14:59:21 +00:00
|
|
|
VideoAdaptor adaptor = VideoAdaptor::CGA;
|
2023-11-29 20:59:42 +00:00
|
|
|
|
|
|
|
Target() : Analyser::Static::Target(Machine::PCCompatible) {
|
|
|
|
if(needs_declare()) {
|
|
|
|
DeclareField(adaptor);
|
|
|
|
AnnounceEnum(VideoAdaptor);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* Analyser_Static_PCCompatible_Target_h */
|