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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,546b2e2a44f83809 X-Google-Attributes: gid103376,public From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk) Subject: Re: Gnat For use at Question Date: 1996/07/13 Message-ID: #1/1 X-Deja-AN: 168275735 references: <4s2eb5$qt6@masala.cc.uh.edu> organization: JerryWare HQ, Haarlem, Holland newsgroups: comp.lang.ada Date: 1996-07-13T00:00:00+00:00 List-Id: Laurent Guerby (guerby@gnat.com) wrote: : Spasmo> Hmmmm ok, well here's a question about To_Address. Since PC's : Spasmo> use segment, base addressing, : This is a question for a DJGPP master I guess. Now, I couldn't let that pass, could I ? The segment:offset adressing is something that belongs to the real-mode domain. As djgpp (and thus GNAT/DOS) is a protected mode eviroment it uses the full 32-bit physical addressing. (Physical := 16 * segment + offset). Instead of a segment, protected mode uses a selector, but a selectors memory range can be 4 Gb, instead of real-mode's 64K. -- ----------------------------------------------------------------------- -- Jerry van Dijk -- e-mail: jerry@jvdsys.nextjk.stuyts.nl -- -- Banking Consultant -- Member Team-Ada -- -- Ordina Finance BV -- Located at Haarlem, The Netherlands --