From: phreadd AT powerup DOT com DOT au (David Orme) Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp keyboard interrupt in C? Date: 12 Apr 1997 03:23:28 GMT Organization: Power Up Lines: 32 Message-ID: <5imv7g$654$1@grissom.powerup.com.au> References: <5igs5f$bmf AT nr1 DOT toronto DOT istar DOT net> Reply-To: phreadd AT powerup DOT com DOT au NNTP-Posting-Host: ts1215.powerup.com.au Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > >Does anybody have an example for a new keyboard interrupt for DJGPP in >C/C++? I'm attempting to create a simple keyboard class for use in my >upcoming game, but I've only got some assembly code which I can't seem >to put into a C++ class. > >Besides, I would perfer C++ code for this task, rather than ASM. > >Jeff Weeks > >-------------------------------------------- > - Code X Software - > Programming to a Higher Power > > email: mailto:pweeks AT execulink DOT com > web: http://www.execulink.com/~pweeks/ >-------------------------------------------- Same here. I have mouse and keyboard interrupt handlers which are fine under BC++ (don't shoot me...) but I can't seem to port them to DJGPP. Actually they are written in C and ASM (no C++ code). If someone could point me in the right direction (without saying "look at allegro") I would be very thankful. +----------------------------------------+ | David Orme \/\ | | Phreadd AT powerup DOT com DOT au /\/ | +----------------------------------------+ | "Striving for Excellence" | +----------------------------------------+