From 8aab9acc10a6f24ad3f7cf85cfc9b35ce1e6fb84 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 7 Jun 2017 17:39:29 -0400 Subject: [PATCH] Eliminated use of the zero level; now definitively returns a low/high input. --- Storage/Tape/Formats/ZX80O.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Storage/Tape/Formats/ZX80O.cpp b/Storage/Tape/Formats/ZX80O.cpp index a4e36072b..c6fc5b58c 100644 --- a/Storage/Tape/Formats/ZX80O.cpp +++ b/Storage/Tape/Formats/ZX80O.cpp @@ -53,7 +53,7 @@ Tape::Pulse ZX80O::virtual_get_next_pulse() { // Start with 1 second of silence. if(!is_past_silence_ || is_at_end()) { - pulse.type = Pulse::Type::Zero; + pulse.type = Pulse::Type::Low; pulse.length.length = 5; pulse.length.clock_rate = 1; is_past_silence_ = true; @@ -71,7 +71,7 @@ Tape::Pulse ZX80O::virtual_get_next_pulse() { // post-waves silence (here actually a pre-waves silence) is 1300µs pulse.length.length = 13; pulse.length.clock_rate = 10000; - pulse.type = Pulse::Type::Zero; + pulse.type = Pulse::Type::Low; wave_pointer_ ++; } else {