From 9a0022cfcba66f10b4a9a442409c2ca42c407f5f Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 18 Jun 2021 18:44:07 -0400 Subject: [PATCH] Removes temporary work. --- Machines/Enterprise/Enterprise.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Machines/Enterprise/Enterprise.cpp b/Machines/Enterprise/Enterprise.cpp index 5b29c0979..b18fa0bed 100644 --- a/Machines/Enterprise/Enterprise.cpp +++ b/Machines/Enterprise/Enterprise.cpp @@ -94,8 +94,6 @@ class ConcreteMachine: page<3>(0x00); } - int halves = 0; - // MARK: - Z80::BusHandler. forceinline HalfCycles perform_machine_cycle(const CPU::Z80::PartialMachineCycle &cycle) { using PartialMachineCycle = CPU::Z80::PartialMachineCycle; @@ -104,14 +102,11 @@ class ConcreteMachine: // TODO: possibly apply an access penalty. - halves += cycle.length.as(); if(nick_ += cycle.length) { const auto nick = nick_.last_valid(); 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_) { - printf("Interrupt after %d\n", halves + nick_.last_sequence_point_overrun().as()); - halves = - nick_.last_sequence_point_overrun().as(); + // TODO: apply interrupt. } previous_nick_interrupt_line_ = nick_interrupt_line; }