2016-10-12 02:20:13 +00:00
|
|
|
//
|
|
|
|
// Oric.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 11/10/2016.
|
|
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef Oric_hpp
|
|
|
|
#define Oric_hpp
|
|
|
|
|
2017-11-19 00:48:10 +00:00
|
|
|
#include "../../Configurable/Configurable.hpp"
|
2016-10-12 02:20:13 +00:00
|
|
|
#include "../ConfigurationTarget.hpp"
|
|
|
|
#include "../CRTMachine.hpp"
|
2017-08-16 18:35:53 +00:00
|
|
|
#include "../KeyboardMachine.hpp"
|
2016-11-04 02:14:40 +00:00
|
|
|
|
2016-10-12 02:20:13 +00:00
|
|
|
namespace Oric {
|
|
|
|
|
2017-11-21 02:55:32 +00:00
|
|
|
/// @returns The options available for an Oric.
|
|
|
|
std::vector<std::unique_ptr<Configurable::Option>> get_options();
|
|
|
|
|
2017-08-16 18:35:53 +00:00
|
|
|
/*!
|
|
|
|
Models an Oric 1/Atmos with or without a Microdisc.
|
|
|
|
*/
|
2016-10-12 02:20:13 +00:00
|
|
|
class Machine:
|
|
|
|
public CRTMachine::Machine,
|
2016-10-14 00:50:55 +00:00
|
|
|
public ConfigurationTarget::Machine,
|
2017-11-19 00:48:10 +00:00
|
|
|
public KeyboardMachine::Machine,
|
|
|
|
public Configurable::Device {
|
2016-10-12 02:20:13 +00:00
|
|
|
public:
|
2017-08-16 18:35:53 +00:00
|
|
|
virtual ~Machine();
|
2016-10-15 01:35:15 +00:00
|
|
|
|
2017-08-16 19:33:40 +00:00
|
|
|
/// Creates and returns an Oric.
|
2017-08-16 18:35:53 +00:00
|
|
|
static Machine *Oric();
|
2016-10-12 02:20:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
#endif /* Oric_hpp */
|