mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-16 22:28:57 +00:00
36 lines
696 B
C++
36 lines
696 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 "../../../Reflection/Struct.h"
|
|
#include "../../../Analyser/Static/StaticAnalyser.hpp"
|
|
#include "../../ROMMachine.hpp"
|
|
|
|
#include <memory>
|
|
|
|
namespace Apple {
|
|
namespace II {
|
|
|
|
/// @returns The options available for an Apple II.
|
|
std::unique_ptr<Reflection::Struct> 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 */
|