2018-02-24 03:47:15 +00:00
|
|
|
//
|
|
|
|
// ColecoVision.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 23/02/2018.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2018 Thomas Harte. All rights reserved.
|
2018-02-24 03:47:15 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef ColecoVision_hpp
|
|
|
|
#define ColecoVision_hpp
|
|
|
|
|
2020-03-18 04:06:52 +00:00
|
|
|
#include "../../Configurable/Configurable.hpp"
|
|
|
|
#include "../../Configurable/StandardOptions.hpp"
|
2018-07-11 00:00:46 +00:00
|
|
|
#include "../../Analyser/Static/StaticAnalyser.hpp"
|
|
|
|
#include "../ROMMachine.hpp"
|
|
|
|
|
2024-01-13 03:03:19 +00:00
|
|
|
#include <memory>
|
|
|
|
|
2023-05-10 21:02:18 +00:00
|
|
|
namespace Coleco::Vision {
|
2018-02-24 03:47:15 +00:00
|
|
|
|
|
|
|
class Machine {
|
|
|
|
public:
|
|
|
|
virtual ~Machine();
|
2024-01-13 03:03:19 +00:00
|
|
|
static std::unique_ptr<Machine> ColecoVision(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher);
|
2020-03-18 04:06:52 +00:00
|
|
|
|
|
|
|
class Options: public Reflection::StructImpl<Options>, public Configurable::DisplayOption<Options> {
|
|
|
|
friend Configurable::DisplayOption<Options>;
|
|
|
|
public:
|
|
|
|
Options(Configurable::OptionsType type) :
|
|
|
|
Configurable::DisplayOption<Options>(type == Configurable::OptionsType::UserFriendly ? Configurable::Display::SVideo : Configurable::Display::CompositeColour) {
|
|
|
|
if(needs_declare()) {
|
|
|
|
declare_display_option();
|
|
|
|
limit_enum(&output, Configurable::Display::SVideo, Configurable::Display::CompositeColour, -1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
2018-02-24 03:47:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* ColecoVision_hpp */
|