I want to found out which key has been pressed (if any), or rather, the resulting ASCII character of the keypress. The easiest way seems to be using BDOS function DIRIO, but it doesn't work if the BIOS interrupt handler is disabled.
I could read the keyboard matrix and translate key presses to actual ASCII codes but I don't want to deal with all the differences in various countries' keyboard matrices.
Is there any good alternative?
Login or register to post comments