1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-25 11:17:26 +00:00

Attempts to route Disk II requests to the thing itself.

This commit is contained in:
Thomas Harte
2018-04-23 22:11:31 -07:00
parent 7463edaa1b
commit 4bff44377a
7 changed files with 144 additions and 9 deletions
+28
View File
@@ -7,3 +7,31 @@
//
#include "DiskII.hpp"
#include <cstdio>
using namespace Apple;
void DiskII::set_control(Control control, bool on) {
printf("Set control %d %s\n", control, on ? "on" : "off");
}
void DiskII::set_mode(Mode mode) {
printf("Set mode %d\n", mode);
}
void DiskII::select_drive(int drive) {
printf("Select drive %d\n", drive);
}
void DiskII::set_shift_register(uint8_t value) {
printf("Set shift register\n");
}
uint8_t DiskII::get_shift_register() {
printf("Get shift register\n");
return 0xff;
}
void DiskII::run_for(const Cycles cycles) {
}