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,c425816b20dec2e2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-16 13:14:40 PST Message-ID: <3F15B227.9405729C@fakeaddress.nil> Date: Wed, 16 Jul 2003 22:14:31 +0200 From: Gautier Write-only X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada Procedures Required for GNAT 3.10p (for DOS) Port References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.218.249.183 X-Trace: news.swissonline.ch 1058386479 80.218.249.183 (16 Jul 2003 22:14:39 +0200) X-Complaints-To: abuse@swissonline.ch Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-ge.switch.ch!news-zh.switch.ch!switch.ch!news.swissonline.ch!not-for-mail Xref: archiver1.google.com comp.lang.ada:40355 Date: 2003-07-16T22:14:31+02:00 List-Id: Debs Wisbey: > I am trying to write an Ada procedure that can call DOS commands from > an Ada program that is running on a 386 machine that ONLY runs DOS. Hello again! I suspect that in dos_paqs.zip (link below) you'll find what you are looking for. Especially the "Exec_command" procedure... > I am trying to write an Ada procedure that can rename a file, given > the old filename and new filename as strings. Exec_command("ren old.ext new.ext"); > I am trying to write an Ada procedure that can write to/read from > address locations. Where ? In the "DOS zone" or in the graphics one or ?... Anyway you can mimick the code in VGAGraph and SVGA. I'd take a look at http://users.ncrvnet.nl/gmvdijk/other_os.html#VGAPCK ________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!