1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-25 11:17:26 +00:00

Advances to correctly reading bytes.

Something is still amiss though. Maybe I'm supposed to update the checksum?
This commit is contained in:
Thomas Harte
2021-03-12 19:15:35 -05:00
parent 064fe7658c
commit a32a2f36be
4 changed files with 27 additions and 2 deletions
+8
View File
@@ -97,6 +97,14 @@ void TapePlayer::get_next_pulse() {
set_next_event_time_interval(current_pulse_.length);
}
Tape::Pulse TapePlayer::get_current_pulse() {
return current_pulse_;
}
void TapePlayer::complete_pulse() {
jump_to_next_event();
}
void TapePlayer::run_for(const Cycles cycles) {
if(has_tape()) {
TimedEventLoop::run_for(cycles);