mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 18:31:53 +00:00
3862fdb44c
With the side effect of allowing every machine to try to load only the ROMs that it needs.
35 lines
716 B
C++
35 lines
716 B
C++
//
|
|
// AppleII.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 14/04/2018.
|
|
// Copyright 2018 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef AppleII_hpp
|
|
#define AppleII_hpp
|
|
|
|
#include "../../Configurable/Configurable.hpp"
|
|
#include "../../Analyser/Static/StaticAnalyser.hpp"
|
|
#include "../ROMMachine.hpp"
|
|
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
namespace AppleII {
|
|
|
|
/// @returns The options available for an Apple II.
|
|
std::vector<std::unique_ptr<Configurable::Option>> get_options();
|
|
|
|
class Machine {
|
|
public:
|
|
virtual ~Machine();
|
|
|
|
/// Creates and returns an AppleII.
|
|
static Machine *AppleII(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher);
|
|
};
|
|
|
|
};
|
|
|
|
#endif /* AppleII_hpp */
|