Message-Id: <3.0.16.19970929141302.29276f1e@hem1.passagen.se> Date: Mon, 29 Sep 1997 14:13:06 -0400 To: Eli Zaretskii From: Peter Palotas Subject: Re: BIOS call from interrupt? Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk At 13.14 1997-09-29 +0200, you wrote: > >On Mon, 29 Sep 1997, Peter Palotas wrote: > >> Would it be okay to call ex. _bios_keybrd(_KEYBRD_READ), from within an >> interrupt handler? > >I think it is OK. I'm not aware of any interrupt-related problems with >the BIOS keyboard interrupt 16h. > >However, since you are inside the hardware keyboard interrupt handler, it >might be easier to just read the scan code. Well, it's getting the Ascii code which is the problem in that case. But if you read it from BIOS I believe it returns the real ascii-code as it should, or is it only DOS function which does this? (According to COUNTRY and KEYB settings)? -- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se -- ************************************************************* A brief description of DJGPP: NEVER BEFORE HAS SO FEW DONE SO MUCH FOR SO MANY! *************************************************************