I'm adding joystick support for my engine, and It is simpler to read joystick and keyboard at the same time after waiting for vsync.
All keyboard functions and info I find, suggests I should read 0x60 port by inserting a custom function in interrupt vector 9.
Will there be any problem with the keyboard if I only try to read the 0x60 port once per frame after vsync?
I'm testing in dosbox and it is working fine, I'll try later on 86Box, PCem and a real 286-6 Mhz.
Thanks!.
All keyboard functions and info I find, suggests I should read 0x60 port by inserting a custom function in interrupt vector 9.
Will there be any problem with the keyboard if I only try to read the 0x60 port once per frame after vsync?
I'm testing in dosbox and it is working fine, I'll try later on 86Box, PCem and a real 286-6 Mhz.
Thanks!.