From 63897b552fc0d0a2544a547318017485ed220c67 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 12 Dec 2023 20:03:06 +0100 Subject: Implemented day 3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note that only part 1 has been implemented. The reasoning is on the file header. Moreover, we are not printing 24-bit results yet because that would entail modifying the somewhat terrifying vendor code on `vendor/bcd16.s`. Since this will be a recurring theme, I guess that I will have to come up with a solution sooner or later. Signed-off-by: Miquel Sabaté Solà --- test/3.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/3.lua (limited to 'test/3.lua') diff --git a/test/3.lua b/test/3.lua new file mode 100644 index 0000000..6fdbdae --- /dev/null +++ b/test/3.lua @@ -0,0 +1,13 @@ +utils = require "utils" + +utils.StartRun("3") + +utils.MemTest("@test", {{0x0C, "BE"}, {0x0D, "35"}, {0x0E, "08"}, {0x0F, "00"}}) + +-- This test is either flaky or it takes a long ass time. Let's wait for a +-- little while longer than usual. +for i = 0, 300, 1 do + emu.frameadvance(); +end + +utils.EndRun() -- cgit v1.2.3