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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,53bba8695cf47299,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!proxad.net!skynet.be!newspost001!tjb!not-for-mail Date: Wed, 24 Nov 2004 13:11:00 +0100 From: Adrien Plisson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: fr-fr, fr-be, fr, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: system interrupt handler programming on a PC under windows Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <41a47994$0$13459$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: 20f4965b.news.skynet.be X-Trace: 1101298069 news.skynet.be 13459 80.200.28.78:4523 X-Complaints-To: usenet-abuse@skynet.be Xref: g2news1.google.com comp.lang.ada:6413 Date: 2004-11-24T13:11:00+01:00 List-Id: hello everyone ! i wonder if anyone can explain me (or give me a pointer to an explanation) how i can set up an interrupt handler under windows to interact with a PCI board plugged into my computer. in my company we are using a PCI I/O board which is only programmable through the use of a library available only for C, VB and Pascal. i would like to interract with this board from Ada, but writing a thin binding over the library does not lead to anything useful. so i would like to create a really thick binding by interacting directly with the board. this board is very well documented: i have all the interresting values address expressed in term of BASE address + offset and all seems ok for me to read or write them (or they wouldn't have documented this). but i need to set up an interrupt handler to get notified of events. i started using Ada.Interrupts but discovered that the I/O board interrupt is reserved so i can't register my own interrupt handler. so, how can I override the default handler ? is it safe to do it ? what about shared interrupts ? in short, i want to know everything you can tell me about system interrupt handling from Ada... thanks in advance. -- rien