www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/02/12:50:19

Message-ID: <36152073.19236975@maths.unine.ch>
Date: Fri, 02 Oct 1998 18:50:26 +0000
From: Gautier <gautier DOT demontmollin AT maths DOT unine DOT ch>
X-Mailer: Mozilla 4.03 (Macintosh; I; 68K)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GNAT and an off topic que
References: <35F428D6 DOT FF1ECE51 AT mindspring DOT com>
NNTP-Posting-Host: mac13-22.unine.ch
Lines: 33
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Derek Greene wrote:

> Where can i actually download gnat from? i found some 'ez2load' package
> but it doesnt like me all to well. (aka, it refuses to find any includes
> et cetera)

EZ2LOAD is a _full_ package. If it refuses you something, it means you
didn't run the gnat310.bat initialisation batch-file (add "call gnat310.bat"
in autoexec.bat e.g.) which sets the variables to run GNAT (ADA_INCLUDE_PATH
etc.)... gnat310.bat is generated by installation program (ginstall.exe).
NB: Ada "includes" are rather called specifications; they are not just texts
pasted like headers in (macro-)assemblers but are checked by compiler
to be conformant with the body part...

>            Anybody care to tell me where i can locate an *ahem* 'real'
> package?

So don't search too far... the new GNAT/DOS 3.10 has just been released
@ ftp://ftp.gwu.edu/pub/ada/ez2load/

>          :-) Also (the off topic question), how could i detect multiple
> keypresses in my keyboard handler? thanks in advance!

Do you have a 16-bit method via interrupts or in/out ports ?
In that case you could try to translate to GNAT/DOS via dpmi library calls.
See SVGA pack as example for start...

-- 
Gautier

--------
Homepage: http://www.unine.ch/math/Personnel/Assistants/Gautier/Montmollin.html
Software: http://www.unine.ch/math/Personnel/Assistants/Gautier/Gaut_FTP.htm

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019