2017-06-04 17:55:19 -04:00
|
|
|
//
|
|
|
|
// ZX8081.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 04/06/2017.
|
|
|
|
// Copyright © 2017 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef ZX8081_hpp
|
|
|
|
#define ZX8081_hpp
|
|
|
|
|
2017-11-18 19:48:10 -05:00
|
|
|
#include "../../Configurable/Configurable.hpp"
|
2017-06-04 17:55:19 -04:00
|
|
|
#include "../ConfigurationTarget.hpp"
|
|
|
|
#include "../CRTMachine.hpp"
|
2017-08-03 12:38:22 -04:00
|
|
|
#include "../KeyboardMachine.hpp"
|
2017-06-04 17:55:19 -04:00
|
|
|
|
|
|
|
namespace ZX8081 {
|
|
|
|
|
2017-11-20 21:55:32 -05:00
|
|
|
/// @returns The options available for a ZX80 or ZX81.
|
|
|
|
std::vector<std::unique_ptr<Configurable::Option>> get_options();
|
|
|
|
|
2017-06-04 17:55:19 -04:00
|
|
|
class Machine:
|
|
|
|
public CRTMachine::Machine,
|
2017-08-03 12:38:22 -04:00
|
|
|
public ConfigurationTarget::Machine,
|
2017-11-18 19:48:10 -05:00
|
|
|
public KeyboardMachine::Machine,
|
|
|
|
public Configurable::Device {
|
2017-06-04 17:55:19 -04:00
|
|
|
public:
|
2017-08-11 12:11:01 -04:00
|
|
|
virtual ~Machine();
|
2017-07-08 20:40:19 -04:00
|
|
|
|
2017-11-24 17:55:28 -05:00
|
|
|
static Machine *ZX8081(const StaticAnalyser::Target &target_hint);
|
2017-06-22 20:20:31 -04:00
|
|
|
|
2017-08-02 22:12:59 -04:00
|
|
|
virtual void set_tape_is_playing(bool is_playing) = 0;
|
2017-06-04 17:55:19 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* ZX8081_hpp */
|