2018-04-14 23:46:15 +00:00
|
|
|
//
|
|
|
|
// AppleII.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 14/04/2018.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2018 Thomas Harte. All rights reserved.
|
2018-04-14 23:46:15 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef AppleII_hpp
|
|
|
|
#define AppleII_hpp
|
|
|
|
|
2018-06-10 22:28:29 +00:00
|
|
|
#include "../../Configurable/Configurable.hpp"
|
2018-07-11 00:00:46 +00:00
|
|
|
#include "../../Analyser/Static/StaticAnalyser.hpp"
|
|
|
|
#include "../ROMMachine.hpp"
|
2018-06-10 22:28:29 +00:00
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
|
|
|
|
2018-04-14 23:46:15 +00:00
|
|
|
namespace AppleII {
|
|
|
|
|
2018-06-10 22:28:29 +00:00
|
|
|
/// @returns The options available for an Apple II.
|
|
|
|
std::vector<std::unique_ptr<Configurable::Option>> get_options();
|
|
|
|
|
2018-04-14 23:46:15 +00:00
|
|
|
class Machine {
|
|
|
|
public:
|
|
|
|
virtual ~Machine();
|
|
|
|
|
|
|
|
/// Creates and returns an AppleII.
|
2018-07-11 00:00:46 +00:00
|
|
|
static Machine *AppleII(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher);
|
2018-04-14 23:46:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* AppleII_hpp */
|