2016-10-11 22:20:13 -04:00
|
|
|
//
|
|
|
|
// Oric.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 11/10/2016.
|
2018-05-13 15:19:52 -04:00
|
|
|
// Copyright 2016 Thomas Harte. All rights reserved.
|
2016-10-11 22:20:13 -04:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef Oric_hpp
|
|
|
|
#define Oric_hpp
|
|
|
|
|
2017-11-18 19:48:10 -05:00
|
|
|
#include "../../Configurable/Configurable.hpp"
|
2018-05-08 22:05:43 -04:00
|
|
|
#include "../../Analyser/Static/StaticAnalyser.hpp"
|
2018-07-10 20:00:46 -04:00
|
|
|
#include "../ROMMachine.hpp"
|
2016-11-03 22:14:40 -04:00
|
|
|
|
2016-10-11 22:20:13 -04:00
|
|
|
namespace Oric {
|
|
|
|
|
2017-11-20 21:55:32 -05:00
|
|
|
/// @returns The options available for an Oric.
|
|
|
|
std::vector<std::unique_ptr<Configurable::Option>> get_options();
|
|
|
|
|
2017-08-16 14:35:53 -04:00
|
|
|
/*!
|
|
|
|
Models an Oric 1/Atmos with or without a Microdisc.
|
|
|
|
*/
|
2018-03-09 15:19:02 -05:00
|
|
|
class Machine {
|
2016-10-11 22:20:13 -04:00
|
|
|
public:
|
2017-08-16 14:35:53 -04:00
|
|
|
virtual ~Machine();
|
2016-10-14 21:35:15 -04:00
|
|
|
|
2017-08-16 15:33:40 -04:00
|
|
|
/// Creates and returns an Oric.
|
2018-07-10 20:00:46 -04:00
|
|
|
static Machine *Oric(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher);
|
2016-10-11 22:20:13 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
#endif /* Oric_hpp */
|