From 24767d189953296ae79181a498deb4dae3db7748 Mon Sep 17 00:00:00 2001 From: n loewen Date: Tue, 1 Aug 2023 15:31:52 +0100 Subject: [PATCH] Increase cycle limit --- sketches/simulator-sketch-v3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sketches/simulator-sketch-v3.js b/sketches/simulator-sketch-v3.js index df7edcd..3f8bb9c 100644 --- a/sketches/simulator-sketch-v3.js +++ b/sketches/simulator-sketch-v3.js @@ -4,7 +4,7 @@ // one byte for the opcode, one for the argument const INITIAL_IP_ADDRESS = 32; -const CYCLE_LIMIT = 64; // max number of times to step the CPU, to stop endless loops +const CYCLE_LIMIT = 128; // max number of times to step the CPU, to stop endless loops const display = require('./display.js');