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,1dca1cee347390dd X-Google-Attributes: gid103376,public From: "Jerry van Dijk" Subject: Re: DOS interrupts with GNAT 3.04 Date: 1996/12/25 Message-ID: <01bbf23f$f54dd200$LocalHost@jerryware>#1/1 X-Deja-AN: 205887667 references: <1996Dec23.124409.5432@news> organization: *JerryWare HQ*, Haarlem, Holland newsgroups: comp.lang.ada Date: 1996-12-25T00:00:00+00:00 List-Id: Robert Dewar wrote in article ... > > I am wondering if there are any provisions (aside from interfacing to another > > programming language) in this Ada compiler to access the software interrupts > > in DOS. > The best way to put together a package like that would be to generate > the necessary int sequences directly using package Machine_Code. Of course > this is only done once in the body of the package. Hmmmm, I didn't know 3.04 for DOS supported Machine_Code... But even the I wouldn't recommend doing it this way. On a 16-bit real-mode compiler, this would be easy.. On a 32-bit protected mode compile (& runtime) your code would also have to handle the mode switches (RM<->PM), transfer, callbacks, etc. Better use the existing DJGPP code. As far as fast character I/O under DOS is concerned, If someone has some server space left, I have some usefull packages... Merry Christmas! Jerry.