1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Add note to self for tomorrow.

This commit is contained in:
Thomas Harte 2021-06-17 22:34:52 -04:00
parent 2fd8a8aa66
commit 311ddfb05a

View File

@ -108,6 +108,7 @@ class ConcreteMachine:
if(nick_ += cycle.length) { if(nick_ += cycle.length) {
const auto nick = nick_.last_valid(); const auto nick = nick_.last_valid();
const bool nick_interrupt_line = nick->get_interrupt_line(); const bool nick_interrupt_line = nick->get_interrupt_line();
// TEMPORARY. The below should print a bunch of numbers like 15988 on the Enterprise splash screen.
if(nick_interrupt_line && !previous_nick_interrupt_line_) { if(nick_interrupt_line && !previous_nick_interrupt_line_) {
printf("Interrupt after %d\n", halves + nick_.last_sequence_point_overrun().as<int>()); printf("Interrupt after %d\n", halves + nick_.last_sequence_point_overrun().as<int>());
halves = - nick_.last_sequence_point_overrun().as<int>(); halves = - nick_.last_sequence_point_overrun().as<int>();