AH = 14h: Wait for Keyboard Event, Variable Timeout

This function is identical to Fcn 13h, except that it supports a variable timeout. The timeout value is in units of "Timer0 Ticks", or roughly 55 msec units. If the Timeout value is 0, the routine will return immediately if a key or shift-status change is not detected.