mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-05 21:05:51 +00:00
3862fdb44c
With the side effect of allowing every machine to try to load only the ROMs that it needs.
38 lines
771 B
C++
38 lines
771 B
C++
//
|
|
// AmstradCPC.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 30/07/2017.
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef AmstradCPC_hpp
|
|
#define AmstradCPC_hpp
|
|
|
|
#include "../../Configurable/Configurable.hpp"
|
|
#include "../../Analyser/Static/StaticAnalyser.hpp"
|
|
#include "../ROMMachine.hpp"
|
|
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
namespace AmstradCPC {
|
|
|
|
/// @returns The options available for an Amstrad CPC.
|
|
std::vector<std::unique_ptr<Configurable::Option>> get_options();
|
|
|
|
/*!
|
|
Models an Amstrad CPC.
|
|
*/
|
|
class Machine {
|
|
public:
|
|
virtual ~Machine();
|
|
|
|
/// Creates and returns an Amstrad CPC.
|
|
static Machine *AmstradCPC(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher);
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* AmstradCPC_hpp */
|