🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #6653

Re: PC Interrupts, urgent request

#6653
From: Joe Dubner
Date: Sun, 06 Jan 1991 18:09
14 lines
1079 bytes
> The initialization routine sets up the interrupt vector using (I am using
> the MS Quick C compiler) dos_getvect() and dos_setvect(). I do the
> dos_getvect() to save the original IRQ5 handler. I then read the OCW1 control

I don't know a lot about the interrupt controller chip in the PC, and
know even less about MS Quick C, but I'd be willing to bet good money
that dos_getvect() works on software interrupts, not hardware IRQ lines.
When you do a dos_getvect() on "5", you're saving the INT 05h vector,
which is used to sense the PrtSc key.

Lots of luck.


... Joe
Technical Details
Message-ID: <8750001@hpspkla.spk.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!tut.cis.ohio-state.edu!cs.utexas.edu!sdd.hp.com!hp-pcd!hpspkla!dubner
References: <45739@cci632.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!tut.cis.ohio-state.edu!cs.utexas.edu!sdd.hp.com!hp-pcd!hpspkla!dubner
From: dubner@hpspkla.spk.hp.com (Joe Dubner)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: PC Interrupts, urgent request
Message-ID: <8750001@hpspkla.spk.hp.com>
Date: 6 Jan 91 18:09:01 GMT
References: <45739@cci632.UUCP>
Organization: Hewlett Packard Company, Spokane, Wa.
Lines: 14