Mail Archives: djgpp/1997/02/04/21:09:38
nikki wrote:
>
> i'm trying to convert a keyboard handler (which someone gave to me in pascal)
> to be used with djgpp. would i be better hooking the realmode interrupt to do
> this or the protected mode one? any suggestions from the field here :)
Try looking at the following two files:
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2tk/mkkbd3.zip
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2tk/libkb100.zip
One is a sample keyboard handler, and the other is a full
keyboard-handling library. Also, consider checking out the Allegro
graphics library, which includes keyboard handling and LOTS of other
useful stuff.
You should read the FAQ (v2/faq210b.zip) as well, particularly chapters
17 and 18.
Good luck!
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| Proud owner of what might one | http://www.cs.com/fighteer |
| day be a spectacular MUD... | Plan: To make Bill Gates suffer |
---------------------------------------------------------------------
- Raw text -