Page 1 of 1

Keyboard Events in Real Mode

Posted: Wed Apr 21, 2004 4:18 am
by XStream
Hi all,

Just wondering if anyone can give me an idea of how to put a keyboard handler into place in real mode?

The reason I want this is because I am going to detect alot of stuff using the BIOS at boot time and want to allow the user to select certain options.

Thanks.

Re:Keyboard Events in Real Mode

Posted: Wed Apr 21, 2004 4:32 am
by Ozguxxx
hooking keyboard irq handler from ivt?

Re:Keyboard Events in Real Mode

Posted: Wed Apr 21, 2004 7:34 am
by Pype.Clicker
yep. installing your own interrupt handler in IVT#9 should do it ...
You could also try to use BIOS services to read keyboard (get to RBIL)

Re:Keyboard Events in Real Mode

Posted: Wed Apr 21, 2004 11:36 am
by ASHLEY4
Here is a game i made WITH A KETBOARD HANDLER real mode, you do not need to save the ivt and replace the dos ints with none dos (if you need none dos examples let me know)
You can get the full code and game "space pong" from here:
http://www.falconrybells.co.uk/

ASHLEY4.