From cb502bd65ddfb85f390fad9cba8daeaa8d178b28 Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Tue, 19 Nov 2019 23:05:27 +0000 Subject: [PATCH] Halt is of course an "output" pin. (So that the halt instruction can work) Signed-off-by: Adrian Conlon --- inc/IntelProcessor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/IntelProcessor.h b/inc/IntelProcessor.h index 80a0f2d..abc7368 100644 --- a/inc/IntelProcessor.h +++ b/inc/IntelProcessor.h @@ -58,7 +58,7 @@ namespace EightBit { [[nodiscard]] auto& H() { return HL().high; } [[nodiscard]] auto& L() { return HL().low; } - DECLARE_PIN_INPUT(HALT) + DECLARE_PIN_OUTPUT(HALT) protected: IntelProcessor(Bus& bus);