1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-29 16:55:59 +00:00

Gets a little more rigorous on "high resolution".

This commit is contained in:
Thomas Harte 2019-07-26 15:26:51 -04:00
parent d8bc20b1ab
commit 9b634472c6

View File

@ -341,7 +341,10 @@ void Drive::write_bit(bool value) {
void Drive::end_writing() {
// If the user modifies a track, it's scaled up to a "high" resolution and modifications
// are plotted on top of that.
const size_t high_resolution_track_rate = 500000;
//
// "High" is defined as: two samples per clock relative to an idiomatic
// 8Mhz disk controller and 300RPM disk speed.
const size_t high_resolution_track_rate = 3200000;
if(!is_reading_) {
is_reading_ = true;