2016-09-26 01:24:16 +00:00
|
|
|
//
|
|
|
|
// Plus3.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 25/09/2016.
|
|
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef Plus3_hpp
|
|
|
|
#define Plus3_hpp
|
|
|
|
|
|
|
|
#include "../../Components/1770/1770.hpp"
|
|
|
|
|
|
|
|
namespace Electron {
|
|
|
|
|
|
|
|
class Plus3 : public WD::WD1770 {
|
|
|
|
public:
|
|
|
|
void set_disk(std::shared_ptr<Storage::Disk::Disk> disk, int drive);
|
|
|
|
void set_control_register(uint8_t control);
|
|
|
|
|
|
|
|
private:
|
2016-11-22 00:11:57 +00:00
|
|
|
std::shared_ptr<Storage::Disk::Drive> drives_[2];
|
|
|
|
int selected_drive_;
|
2016-09-26 01:24:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* Plus3_hpp */
|
|
|
|
|