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
|
|
|
|
|
2020-03-16 03:48:53 +00:00
|
|
|
#include "../../../Reflection/Struct.h"
|
2019-05-03 22:14:10 +00:00
|
|
|
#include "../../../Analyser/Static/StaticAnalyser.hpp"
|
|
|
|
#include "../../ROMMachine.hpp"
|
2018-06-10 22:28:29 +00:00
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
2019-05-03 22:14:10 +00:00
|
|
|
namespace Apple {
|
|
|
|
namespace II {
|
2018-04-14 23:46:15 +00:00
|
|
|
|
2019-02-13 00:52:32 +00:00
|
|
|
/// @returns The options available for an Apple II.
|
2020-03-16 03:48:53 +00:00
|
|
|
std::unique_ptr<Reflection::Struct> get_options();
|
2019-02-13 00:52:32 +00:00
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2019-05-03 22:14:10 +00:00
|
|
|
}
|
|
|
|
}
|
2018-04-14 23:46:15 +00:00
|
|
|
|
|
|
|
#endif /* AppleII_hpp */
|