Message-Id: <199603011224.HAA08125@delorie.com> Date: Fri, 01 Mar 96 12:47:46 LIT From: Martynas Kunigelis Subject: Re: HW interrupts To: DJGPP mailing list First, the announce. Those who have problems with hardware interrupts handling under DJGPP v2.00 can check out my example of hooking and servicing the keyboard interrupt. It's at .../djgpp/v2tk/mkkbd1.zip on SimTel. Since this small peace of work is my first public release, feedback is very welcome. Don't overrate it though. It's just an example. Shame on me, but read the FAQ section on hw int handling only after posting the above zip to DJ. And one thing confused me, so here's my question: if I hook the protected mode herdware interrupt and *don't* chain, what will happen if the interrupt happens while CPU is in real mode (e.g. reading from HD) ? I thought if I hook the PM int 9 and don't chain, the keyboard is mine *forever*. So how would it be? One more Q: in QUAKE docs, the guys say it will not run on i486 well, 'cause it's optimized for P5. How on earth? I thought so far gcc could only optimize for 486 (-m486)?.. Or maybe they meant something like `manual optimization'? P.S. QUAKE kixx ass! Though the damn turtle messed around my screen most of the time. I was also very glad to find out guys from Id like Nine Inch Nails (see the flechettes boxes!). Man, do I love this band. Martynas Kunigelis