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,6a4dfe772544eb65 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-19 21:39:36 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.mathworks.com!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!attbi_s02.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Low Level Ada References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 24.6.135.22 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s02 1069306774 24.6.135.22 (Thu, 20 Nov 2003 05:39:34 GMT) NNTP-Posting-Date: Thu, 20 Nov 2003 05:39:34 GMT Organization: Comcast Online Date: Thu, 20 Nov 2003 05:39:34 GMT Xref: archiver1.google.com comp.lang.ada:2709 Date: 2003-11-20T05:39:34+00:00 List-Id: > How about if I want to call an interrupt in Ada? > > Say Interrupt 10h to set the video mode to 132x50 (mode 10Ah on a vesa/bde > standard video card) for example. You could use the Machine_Code provided by your compiler, but any compiler targetted to DOS, say, would surely provide a library of routines to set up registers, do a standard interrupt, and get the result registers. For instance, I have an Ada (83) binding to VESA that uses the Janus compiler's DosCall package. But your best bet is probably to look at the page Jerry van Dijk mentioned earlier, www.jvdsys.demon.nl