From 9981a09fec7e6f64793997cac4e8db0fa14f1cb0 Mon Sep 17 00:00:00 2001 From: Greg Kennedy Date: Fri, 17 May 2024 09:03:29 -0500 Subject: [PATCH] Keypad test: More info on `NOT HALTING` My test wasn't passing because the interpreter didn't count down the delay timer while waiting for keypress - add a note here for others, so they don't encounter the same problem. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b1b5bd4..918e7c4 100644 --- a/README.md +++ b/README.md @@ -445,7 +445,8 @@ Otherwise, you can get either of these errors: * `NOT HALTING` - Your implementation immediately returns the value of any currently pressed keys in `vX`, instead of halting the interpreter until a key - is pressed (note that this needs timer support to be accurate) + is pressed (note that this needs timer support to be accurate - in other words, + the DELAY TIMER should continue to count down while awaiting a keypress) * `NOT RELEASED` - Your implementation doesn't wait for the pressed key to be released before resuming