🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #42745

Re: microsoft c isr question

#42745
From: Richard Conner
Date: Wed, 21 Feb 1990 07:39
16 lines
1065 bytes
In article <WIENER.90Feb17172147@stout.stout.UCAR.EDU> wiener@stout.UCAR.EDU (Gerry Wiener) writes:
>In the following code an interrupt handler for the keyboard is
>replaced [...]
>
>#define KEYBD  0x16

What you REALLY want is:
#define	KEYBD	0x9	/* 9 = interrupt FROM keyboard */

Interrupt 0x16 is for ROM BIOS services, i.e. turning on/off typematic,
etc.  0x9 is the keyboard interrupt which occurs when each key is hit.
(AS WELL AS when each key is RELEASED) 

-Richard
-- 
[ .signature   under construction - turn back before it's too late ]
Technical Details
Message-ID: <1990Feb21.073956.19404@stb.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!asuvax!ncar!ico!ism780c!randvax!ucla-an!stb!richard
References: <WIENER.90Feb17172147@stout.stout.UCAR.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!asuvax!ncar!ico!ism780c!randvax!ucla-an!stb!richard
From: richard@stb.uucp (Richard Conner)
Newsgroups: comp.sys.ibm.pc,comp.lang.c
Subject: Re: microsoft c isr question
Message-ID: <1990Feb21.073956.19404@stb.uucp>
Date: 21 Feb 90 07:39:56 GMT
References: <WIENER.90Feb17172147@stout.stout.UCAR.EDU>
Reply-To: richard@stb.uucp (Richard Conner)
Distribution: usa
Organization: The Serial Tree BBS, +1 213 397 3137
Lines: 16