[comp.lang.ada] calling DOS services from Janus/Ada

fsfacca@avelon.lerc.nasa.gov (Tony Facca) (05/05/90)

I am using the Janus/Ada compiler from RR Software (not sure what version --
maybe 2.1.2??) which runs on a PC in the DOS environment.  I need to make
a call to the DOS services, DIR for example.  The manual has information 
about how to set the registers for low level IO but nothing on the services.

Has anyone found a way to do this?  If you had to set registers using a 
pointer to a string and then using the Janus/Ada "DOS_Call" function to
generate an interrupt, how did this work?

Any information would be greatly appreciated.  I am planning on giving the
Janus people a call, so if their is interest, I can post any information I
get to this newsgroup.

Thanks.

--
-----------------------------------------------------------------------------
Tony Facca   |   fsfacca@avelon.lerc.nasa.gov      |     phone: 216-433-8318
-----------------------------------------------------------------------------
      You are at Witt's end.  Passages lead off in *all* directions.