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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7c65ca5609a07b8c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-21 13:32:36 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!newsfeed.news2me.com!wn51feed!worldnet.att.net!attbi_s53.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: system calls, was Re: Hardware Interrupts References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 67.161.24.134 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s53 1077399156 67.161.24.134 (Sat, 21 Feb 2004 21:32:36 GMT) NNTP-Posting-Date: Sat, 21 Feb 2004 21:32:36 GMT Organization: Comcast Online Date: Sat, 21 Feb 2004 21:32:36 GMT Xref: archiver1.google.com comp.lang.ada:5711 Date: 2004-02-21T21:32:36+00:00 List-Id: > task Interrupt_handler is > ... > I want to call the BIOS interrupt (INT11h) to get the equipment list The task stuff is about *handling* interrupts, but you want to *call* something via a software interrupt. Compiler vendors normally supply packages to do such system dependent things - presumably your copy of Gnat does too. If not, you will need to find such a package (or find one in C and interface to it) or else you'll have to use "machine code insertions" and code in assembly to set up the calling sequence, issue the interrupt, and retrieve the results. BTW, what machine has a BIOS INT11h call?