mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Caveman debugging in place, it looks like this file is returning nonsense.
This commit is contained in:
parent
faeecf7665
commit
7399f3d798
@ -76,9 +76,11 @@ Tape::Pulse ZX80O::virtual_get_next_pulse() {
|
||||
if(is_high_) {
|
||||
pulse.type = Pulse::Type::High;
|
||||
is_high_ = false;
|
||||
printf("-");
|
||||
} else {
|
||||
pulse.type = Pulse::Type::Low;
|
||||
is_high_ = true;
|
||||
printf("_");
|
||||
|
||||
int wave_count = (byte_ & (0x80 >> bit_pointer_)) ? 9 : 4;
|
||||
wave_pointer_++;
|
||||
@ -94,6 +96,7 @@ Tape::Pulse ZX80O::virtual_get_next_pulse() {
|
||||
pulse.type = Pulse::Type::Zero;
|
||||
|
||||
bit_pointer_++;
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
return pulse;
|
||||
|
Loading…
x
Reference in New Issue
Block a user