delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/31/02:09:05

Date: Wed, 31 Jan 1996 08:49:51 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: yamcc AT pc DOT jaring DOT my
Cc: djgpp AT delorie DOT com
Subject: Re: Keyboard int

On 30 Jan 1996 yamcc AT pc DOT jaring DOT my wrote:

> does anyone know how 2 trap an interrupt in djgpp 112m4 ..... (keyboard esp)
> i'm using an array of KeyDown[128] to show which keys are down...
> this func compiled perfectly in BC45 and BC30

There are a few sections in Chapter 18 of the DJGPP FAQ list (available 
as faq102.zip from the same place you get DJGPP) which should be a good 
start.  I suggest reading it first, because most of what you know about 
writing interrupt functions in BC won't work in DJGPP.

And if you are thinking about catching Int 9, then read carefully section 
18.8 before you decide to do it, because Int 9 gets special treatment in 
DJGPP.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019