I’m trying to write a snake clone in x86 assembly for MS-DOS, and things seem to be going well, up until i needed to read the keyboard, and i’m in between a rock and a hard place.
Basically, there are two interrupts i could use for keyboard input:
-INT 16H, 00. The problem with this interrupt is that it halts the program up until a key is pressed.
-INT 16H, 01. While this one reads keyboard input asynchronously, it seems to only read one key, then it doesn’t read any keyboard input after.
I don’t know if there are any other options in term of reading keyboard input, but if there are, please let me know 🙂
Thanks!