Path: utzoo!attcan!uunet!husc6!think!bloom-beacon!gatech!hubcap!ncrcae!ncr-sd!ncrlnk!ncrcce!c10sd3!c10sd1!johnson From: johnson@c10sd1.StPaul.NCR.COM (Wayne D. T. Johnson) Newsgroups: comp.sys.ibm.pc Subject: Re: How to respond to a hardware interrupt?? Message-ID: <431@c10sd1.StPaul.NCR.COM> Date: 25 Jul 88 19:30:13 GMT References: <130@kolvi.hut.fi> Reply-To: johnson@c10sd1.StPaul.NCR.COM (Wayne D. T. Johnson) Organization: NCR Comten, St Paul Lines: 17 In article <130@kolvi.hut.fi> jku@kolvi.UUCP (Juha Kuusama) writes: >Would some kind soul there post me a bare-bones program showing what all is >needed to do this? (How to talk to the int controller etc.) I prefer pascal, >but I can read almost any language. > Good Luck. Muck of what you need is only available in assembly language. Not only do you need to do read and writes to the hardware ports (which most languages will do) you have to be able to execute the IRET instruction. If you are still interested, drop a note and I will attempt to explain. By then I should be able to find my 80xxx reference manual. -- Wayne Johnson (Voice) 612-638-7665 NCR Comten, Inc. (E-MAIL) W.Johnson@StPaul.NCR.COM or Roseville MN 55113 johnson@c10sd1.StPaul.NCR.COM These opinions (or spelling) do not necessarily reflect those of NCR Comten.