mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
3862fdb44c
With the side effect of allowing every machine to try to load only the ROMs that it needs.
34 lines
737 B
C++
34 lines
737 B
C++
//
|
|
// 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
|
|
|
|
#include "../../Configurable/Configurable.hpp"
|
|
#include "../../Analyser/Static/StaticAnalyser.hpp"
|
|
#include "../ROMMachine.hpp"
|
|
|
|
namespace ZX8081 {
|
|
|
|
/// @returns The options available for a ZX80 or ZX81.
|
|
std::vector<std::unique_ptr<Configurable::Option>> get_options();
|
|
|
|
class Machine {
|
|
public:
|
|
virtual ~Machine();
|
|
|
|
static Machine *ZX8081(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher);
|
|
|
|
virtual void set_tape_is_playing(bool is_playing) = 0;
|
|
virtual bool get_tape_is_playing() = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* ZX8081_hpp */
|