From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams) Newsgroups: comp.os.msdos.djgpp Subject: Re: Hooking interrupts Date: Fri, 24 Jan 1997 22:54:00 GMT Lines: 26 Message-ID: <32e92d3d.7178532@news.demon.co.uk> References: <32E045B5 DOT 4680 AT mail DOT idt DOT net> <32E507C9 DOT 59E2 AT CS DOT ColoState DOT edu> NNTP-Posting-Host: abwillms.demon.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp >Joseph Turian wrote: >> >> Is it possible to hook an interrupt while in protected mode? I wanted >> to write a keyboard handler, but I am new to djgpp and only know how >> it is done in 8086 assembly See http://www.abwillms.demon.co.uk/prog/ first! The libhw library does all the hard work for you, if you can be bothered to download a patched GCC with a certain bug fixed :-( Read about it on the page - there's a link to the patched GCC there as well :-) 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 Hello :-)