comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier Write-only <gautier@fakeaddress.nil>
Subject: Re: Ada Procedures Required for GNAT 3.10p (for DOS) Port
Date: Wed, 16 Jul 2003 22:14:31 +0200
Date: 2003-07-16T22:14:31+02:00	[thread overview]
Message-ID: <3F15B227.9405729C@fakeaddress.nil> (raw)
In-Reply-To: b3b4e2d7.0307160653.691c5ca3@posting.google.com

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!



  reply	other threads:[~2003-07-16 20:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-16 14:53 Ada Procedures Required for GNAT 3.10p (for DOS) Port Debs Wisbey
2003-07-16 20:14 ` Gautier Write-only [this message]
2003-07-17  0:03 ` Jerry van Dijk
2003-07-17  1:45 ` Jeffrey Carter
2003-07-17 13:25   ` Frank J. Lhota
2003-07-17  2:03 ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox