Skip to content

Commit

Permalink
Keypad test: More info on NOT HALTING
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
greg-kennedy authored May 17, 2024
1 parent adb1b38 commit 9981a09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9981a09

Please sign in to comment.