1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-07-24 22:24:23 +00:00

Formalised clock-rate multiplication within disk drives, discovered that the stepper didn't have ideal behaviour for my timed event loop and hence nailed down the semantics a ilttle more.

(obiter: the 1540 now appears to discern the correct sequence of bits. Framing is off in my test printfs but that's neither here nor there).
This commit is contained in:
Thomas Harte
2016-07-31 13:32:30 -04:00
parent 6ee784a893
commit 2332f72875
7 changed files with 59 additions and 14 deletions

View File

@@ -22,6 +22,11 @@ struct Time {
length /= common_divisor;
clock_rate /= common_divisor;
}
inline float get_float()
{
return (float)length / (float)clock_rate;
}
};
}