PgrAm
Experienced Member
I'm in the middle of porting a game I wrote for SDL into normal VGA mode dos (which I must say has been very easy so far). I'm using borland C++ 3.0 for my compiler and I'm using a 386 pc with a VGA card. Does borland provide any functions in dos.h or wherever for getting immediate keyboard presses. Something like GetAsyncKeyState() in windows. How would I go about doing this in dos?
I am a competent programmer so if this sort of thing requires interrupts or reading bytes straight from the keyboard I can do that.
thanks.
I am a competent programmer so if this sort of thing requires interrupts or reading bytes straight from the keyboard I can do that.
thanks.