Mail Archives: djgpp/1997/06/15/23:17:52
Gary Preston wrote:
> Hi, I've written a pong game ( yes I know old but sweet ) the reason
> is I'm trying to get used to using djgpp, now I've used getch() to read
> the keys which is ok ish but I'd rather use the keyboard routines I've
> used in my 16 bit games (see below ). If there is a better way I'd like
> to know eventually I will try and prot my keyboard handler but for now
> any help on the below routine is greatly appreciated. I've also included
> my attempt of porting it.
Look at the keyboard handler on my page. It should answer a lot of your
questions. Using interrupts in DJGPP isn't nearly as simple as with
16-bit compilers. You've got to do a few extra steps in protected mode.
-- Scott Scriven "May farce the with be you."
mailto:scriven AT CS DOT ColoState DOT edu
mailto:scriven AT VIS DOT ColoState DOT edu
http://www.vis.colostate.edu/~scriven/
- Raw text -