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:
@@ -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) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user