mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-16 16:28:59 +00:00
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 */
|