From 1355ae6448785330f5305e62e21f0d3db8310ab4 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 22 Apr 2026 14:07:22 -0400 Subject: [PATCH] Regularise at 1200 baud. --- Storage/Tape/Formats/K7.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Storage/Tape/Formats/K7.cpp b/Storage/Tape/Formats/K7.cpp index b56d5deed..726583b7f 100644 --- a/Storage/Tape/Formats/K7.cpp +++ b/Storage/Tape/Formats/K7.cpp @@ -170,10 +170,9 @@ void K7::Serialiser::push_next_pulses() { }; const auto post = [&](const bool bit) { - // Real timings below should be ~833 µs and ~417 µs. These accelerated timings seem to be within - // acceptable bounds for the ROM routines, and K7 seems to be a ROM-assuming format. - static constexpr auto FullPulse = Time(12, 20408); // ~833 µs. - static constexpr auto HalfPulse = Time(12, 40816); // ~417 µs. + // Provide a perfect 1200 baud. + static constexpr auto FullPulse = Time(1, 1200); + static constexpr auto HalfPulse = Time(1, 2400); if(bit) { emplace_back(pulse_type(), HalfPulse);