aboutsummaryrefslogtreecommitdiff
path: root/test/4.lua
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2023-12-21 18:39:18 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2023-12-21 18:39:32 +0100
commita44acfe610c0792fb1bcab2dd081a1344286af05 (patch)
tree85de88fef835ba4a957eac433865bcd1239db1d4 /test/4.lua
parent3087897c5aa716579b1255ac8c65dc1438515822 (diff)
downloadaoc2023.nes-a44acfe610c0792fb1bcab2dd081a1344286af05.tar.gz
aoc2023.nes-a44acfe610c0792fb1bcab2dd081a1344286af05.zip
Finished the second part of day 4
In order to do so I had to come up with a custom list library because otherwise keeping up with the enunciate and the memory management logic was a bit chaotic. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'test/4.lua')
-rw-r--r--test/4.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/4.lua b/test/4.lua
index 41cbec2..129325c 100644
--- a/test/4.lua
+++ b/test/4.lua
@@ -2,7 +2,10 @@ utils = require "utils"
utils.StartRun("4")
-utils.MemTest("@test", {{0x07, "92"}, {0x08, "52"}})
+utils.MemTest("@test", {
+ {0x07, "92"}, {0x08, "52"}, -- Part 1
+ {0x09, "84"}, {0x0A, "A4"}, {0x0B, "6D"}, {0x0C, "00"} -- Part 2
+})
-- The test appears to be done in a few frames. Let's run this several times
-- just in case.