hey, I was wondering if there is a better way to do this:
so, if you dont press a key it returns.Code:/* Doesn't wait until a key is pressed */ while (_bios_keybrd(_KEYBRD_READY) == 0) return; /* Fetch the key that is waiting */ key = _bios_keybrd(_KEYBRD_READ);