2017-06-04 21:55:19 +00:00
|
|
|
//
|
|
|
|
// ZX8081.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 04/06/2017.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
2017-06-04 21:55:19 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef ZX8081_hpp
|
|
|
|
#define ZX8081_hpp
|
|
|
|
|
2017-11-19 00:48:10 +00:00
|
|
|
#include "../../Configurable/Configurable.hpp"
|
2018-03-09 20:19:02 +00:00
|
|
|
#include "../../Analyser/Static/StaticAnalyser.hpp"
|
2017-06-04 21:55:19 +00:00
|
|
|
|
|
|
|
namespace ZX8081 {
|
|
|
|
|
2017-11-21 02:55:32 +00:00
|
|
|
/// @returns The options available for a ZX80 or ZX81.
|
|
|
|
std::vector<std::unique_ptr<Configurable::Option>> get_options();
|
|
|
|
|
2018-03-09 20:19:02 +00:00
|
|
|
class Machine {
|
2017-06-04 21:55:19 +00:00
|
|
|
public:
|
2017-08-11 16:11:01 +00:00
|
|
|
virtual ~Machine();
|
2017-07-09 00:40:19 +00:00
|
|
|
|
2018-03-09 20:36:11 +00:00
|
|
|
static Machine *ZX8081(const Analyser::Static::Target *target_hint);
|
2017-06-23 00:20:31 +00:00
|
|
|
|
2017-08-03 02:12:59 +00:00
|
|
|
virtual void set_tape_is_playing(bool is_playing) = 0;
|
2018-02-15 02:46:50 +00:00
|
|
|
virtual bool get_tape_is_playing() = 0;
|
2017-06-04 21:55:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* ZX8081_hpp */
|