2017-07-31 02:05:29 +00:00
|
|
|
//
|
|
|
|
// AmstradCPC.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 30/07/2017.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
2017-07-31 02:05:29 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef AmstradCPC_hpp
|
|
|
|
#define AmstradCPC_hpp
|
|
|
|
|
2018-06-22 00:00:49 +00:00
|
|
|
#include "../../Configurable/Configurable.hpp"
|
2018-07-11 00:00:46 +00:00
|
|
|
#include "../../Analyser/Static/StaticAnalyser.hpp"
|
|
|
|
#include "../ROMMachine.hpp"
|
2018-06-22 00:00:49 +00:00
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
|
|
|
|
2017-07-31 02:05:29 +00:00
|
|
|
namespace AmstradCPC {
|
|
|
|
|
2018-06-22 00:00:49 +00:00
|
|
|
/// @returns The options available for an Amstrad CPC.
|
|
|
|
std::vector<std::unique_ptr<Configurable::Option>> get_options();
|
|
|
|
|
2017-08-03 00:37:26 +00:00
|
|
|
/*!
|
2017-08-16 18:53:03 +00:00
|
|
|
Models an Amstrad CPC.
|
2017-08-03 00:37:26 +00:00
|
|
|
*/
|
2018-03-09 20:19:02 +00:00
|
|
|
class Machine {
|
2017-07-31 02:05:29 +00:00
|
|
|
public:
|
2017-08-11 16:07:48 +00:00
|
|
|
virtual ~Machine();
|
|
|
|
|
2017-08-16 19:33:40 +00:00
|
|
|
/// Creates and returns an Amstrad CPC.
|
2018-07-11 00:00:46 +00:00
|
|
|
static Machine *AmstradCPC(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher);
|
2017-07-31 02:05:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* AmstradCPC_hpp */
|