1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-04 18:29:40 +00:00

Eliminated use of the zero level; now definitively returns a low/high input.

This commit is contained in:
Thomas Harte 2017-06-07 17:39:29 -04:00
parent 350b36df25
commit 8aab9acc10

View File

@ -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 {