1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-24 05:18:36 +00:00

Withdraws requirement for DiskController users to specify a PLL multiplier or to provide rotation speed.

In the latter case because it's no longer of any interest to the controller, and in the former because I'd rather it be picked automatically.
This commit is contained in:
Thomas Harte
2017-09-10 22:56:05 -04:00
parent 6d6cac429d
commit 96bf133924
11 changed files with 19 additions and 21 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ WD1770::Status::Status() :
busy(false) {}
WD1770::WD1770(Personality p) :
Storage::Disk::MFMController(8000000, 16, 300),
Storage::Disk::MFMController(8000000),
interesting_event_mask_((int)Event1770::Command),
resume_point_(0),
delay_time_(0),
+2 -2
View File
@@ -75,8 +75,8 @@ namespace {
const uint8_t CommandSenseDriveStatus = 0x04;
}
i8272::i8272(BusHandler &bus_handler, Cycles clock_rate, int clock_rate_multiplier, int revolutions_per_minute) :
Storage::Disk::MFMController(clock_rate, clock_rate_multiplier, revolutions_per_minute),
i8272::i8272(BusHandler &bus_handler, Cycles clock_rate) :
Storage::Disk::MFMController(clock_rate),
bus_handler_(bus_handler),
main_status_(0),
interesting_event_mask_((int)Event8272::CommandByte),
+1 -1
View File
@@ -26,7 +26,7 @@ class BusHandler {
class i8272: public Storage::Disk::MFMController {
public:
i8272(BusHandler &bus_handler, Cycles clock_rate, int clock_rate_multiplier, int revolutions_per_minute);
i8272(BusHandler &bus_handler, Cycles clock_rate);
void run_for(Cycles);