comp.lang.ada
 help / color / mirror / Atom feed
From: cosc19z5@Bayou.UH.EDU (Spasmo)
Subject: Re: Gnat For use at Question
Date: 1996/07/15
Date: 1996-07-15T00:00:00+00:00	[thread overview]
Message-ID: <4sdprq$p67@masala.cc.uh.edu> (raw)
In-Reply-To: ws94tnd2g8v.fsf@schonberg.cs.nyu.edu


Laurent Guerby (guerby@gnat.com) wrote:
: [...]
: Spasmo> That's exactly what I got. The thing is I don't have the RM so
: Spasmo> I was unable to look up the specifics.

:    Where did you get GNAT from? I guess that most Ada CD have an
: hypertext version of the RM lying somewhere (and may be even of the
: Rationale, Ada Quality & Style, Ada in Action, FAQs, Lovelace and
: other tutorials). If not, I hope the next releases will pick all this
: free high quality material. Of course if you have web access, just
: have a look at:

:    http://lglwww.epfl.ch/Ada

Yep got it--several kind people pointed out that site to me and
I leeched quite a bit.  Lovelace, AdaTutr, and a hypertext
version of the RM.

[Snip -- informative info on Ada95 syntax for such things]

Yep all my books are Ada83 ones.  I'm definitely going to look
for some Ada95 books.



: [...]
: Spasmo> Hmmmm ok, well here's a question about To_Address.  Since PC's
: Spasmo> use segment, base addressing, is there an overload of
: Spasmo> To_Address that accepts both a segment and base, or is it up
: Spasmo> to us to "massage" the number into the proper format for
: Spasmo> To_Address?  Are there any functions that do this "massaging"
: Spasmo> for us?  Thanks for the help.

:    This is a question for a DJGPP master I guess. If you manage to
: make it work with GCC/C, it should work the same way with GCC/Ada.

Hmmmm, well I managed to get it to work with Turbo C, but then I
had the MK_FP macro--but I think it all boiled down to shifting
the address.  I wasn't sure if that would cut it since my program
seemed to have some tie-ins to a memory manager so I wasn't sure
if some kind of mapping would occur that would obliterate any
hopes of manually doing something like that.  I know I finally
got the code to compile (thanks all), but running it resulted
in a Segmentation Fault.  Just like being on UNIX :)


: -- 
: Laurent Guerby <guerby@gnat.com>, Team Ada.
:    "Use the Source, Luke. The Source will be with you, always (GPL)."

--
Spasmo
"Here's a present just for you
When you open it, you'll be through"
	"Letter Bomb" by the Circle Jerks





  parent reply	other threads:[~1996-07-15  0:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-11  0:00 Gnat For use at Question Spasmo
1996-07-11  0:00 ` Jerry van Dijk
1996-07-11  0:00 ` Robert Dewar
1996-07-19  0:00   ` Spasmo
1996-07-11  0:00 ` Robert A Duff
1996-07-11  0:00 ` Jon S Anthony
1996-07-11  0:00   ` Robert A Duff
1996-07-12  0:00   ` Laurent Guerby
1996-07-13  0:00     ` Jerry van Dijk
1996-07-15  0:00     ` Spasmo [this message]
1996-07-12  0:00   ` Jon S Anthony
1996-07-12  0:00   ` Robert Dewar
1996-07-12  0:00   ` Spasmo
1996-07-15  0:00   ` Jon S Anthony
1996-07-15  0:00     ` Jerry van Dijk
1996-07-15  0:00     ` Spasmo
1996-07-15  0:00     ` Robert Dewar
1996-07-15  0:00   ` Jon S Anthony
replies disabled

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