delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/14/03:50:25

From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Interuppt functions
Date: Fri, 14 Mar 1997 06:49:08 GMT
Message-ID: <332862f0.7650140@news.demon.co.uk>
References: <5g8qst$me8 AT oban DOT cc DOT ic DOT ac DOT uk> <33282B0E DOT 71380FE2 AT CS DOT colostate DOT edu>
NNTP-Posting-Host: abwillms.demon.co.uk
Lines: 40
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Thu, 13 Mar 1997 09:27:58 -0700, SerDevian
<scriven AT CS DOT colostate DOT edu> wrote:

>Mr P. Steele wrote:
>> I am writing an interuppt haddler and when using the following function
>> definition
>> 
>> void ( _interupt * Keyboard_handler)()
>> 
>> I get declaration error.

>You've been using Borland C, haven't you?  :)

(snigger)

>To find out about interrupt handlers (keyboard, specifically), look at
>the coding section of my web page (below).  I've got example source and
>an explanation there.

There's also LibHW at http://www.abwillms.demon.co.uk/prog/, although
there's an unexplained bug with the keyboard handler when it's in pass
on mode (such that it passes keypresses on to the realmode BIOS) in
some (very strange) situations - it crashes under CWSDPMIr3 when a key
is pressed, and under r2 or Win3.1 when KEYB GR is being used but not
KEYB UK! I have a small lead which I will patch up when I get time
(looking for reentrant interrupts), but until then, any reports of
instances of this bug would be welcome!

ABW
--

"Simply drag your mother in law's cellphone number from the
Address Book to the Laser Satellite icon, and the Targeting
Wizard will locate her. Then follow the onscreen prompts for
gigawattage and dispersion pattern..."

(Windows for Early Warning and Defence User's manual P385)

Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.abwillms.demon.co.uk/">Hello :-)</A>

- Raw text -


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