2016-10-12 02:20:13 +00:00
|
|
|
//
|
|
|
|
// Oric.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 11/10/2016.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2016 Thomas Harte. All rights reserved.
|
2016-10-12 02:20:13 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef Oric_hpp
|
|
|
|
#define Oric_hpp
|
|
|
|
|
2017-11-19 00:48:10 +00:00
|
|
|
#include "../../Configurable/Configurable.hpp"
|
2018-05-09 02:05:43 +00:00
|
|
|
#include "../../Analyser/Static/StaticAnalyser.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.
|
|
|
|
*/
|
2018-03-09 20:19:02 +00:00
|
|
|
class Machine {
|
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.
|
2018-05-09 02:05:43 +00:00
|
|
|
static Machine *Oric(const Analyser::Static::Target *target_hint);
|
2016-10-12 02:20:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
#endif /* Oric_hpp */
|