From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,27b60c21ea9c35ea X-Google-Attributes: gid103376,public From: "Tarjei Jensen" Subject: Re: capturing parallel port interrupt? Date: 1999/09/09 Message-ID: <7r84ev$ibg2@ftp.kvaerner.com>#1/1 X-Deja-AN: 522901159 Content-Transfer-Encoding: 7bit References: <37d6d623.0@silver.truman.edu> Content-Type: text/plain; charset="iso-8859-1" X-Mimeole: Produced By Microsoft MimeOLE V4.72.2120.0 Organization: Kv�rner Group IT Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-09-09T00:00:00+00:00 List-Id: Josh Highley wrote : > I've searched deja.com, the GNAT manual, and the ARM but I can't seem to >figure this out. I'm using Jerry van Dijk's io_ports package to control the >pins of the parallel port. I'd like to attach an interrupt to pin 10 (ACK). >I tried Jerry's DOS_interrupts package but it's for GNAT 3.10 and the link >failed. I also looked through the ada.interrupts package but I'm not sure >how to go about finding the system ID for the parallel interrupt. Any code, >explanations or links would be greatly appreciated. It might be that you will have to read up on the PC architecture. I would not be surprised if you have to twiddle the bits by hand. The bit twiddling includes finding out how to enable interrupts on the system interrupt controller and how to massage the parallell port hardware to generate the required interrupt. Perhaps the PC Hardware Bible (or a functional equivalent) includes enough information to do the job. Greetings,