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,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,be0ffa00e7ee1ac6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-29 16:52:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: sk Newsgroups: comp.lang.ada Subject: Re: Bytes per character (was Re: An OS in Ada, why not RTEMS ?) Date: Mon, 29 Apr 2002 17:51:48 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <6Hkz8.1765$SD4.119903@news8-gui.server.ntli.net> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1020124322 48421 137.194.161.2 (29 Apr 2002 23:52:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 29 Apr 2002 23:52:02 +0000 (UTC) Return-Path: X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-4.3mdk i686) X-Accept-Language: en Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:23245 Date: 2002-04-29T17:51:48-05:00 Hi, >That's not the same as defining the storage element to >be 16bits. ... and doesn't that illustrate why using storage elements to write to VGA screens is probably inappropriate within the context of the original example ? >with System; use System; >with System.Storage_Elements; use System.Storage_Elements; >procedure Hello is > Char : Character; > for Char'Address use To_Address (16#B8000#); >begin > Char := 'H'; >end Hello; -- ------------------------------------- -- Merge vertically for real address ------------------------------------- s n p @ t . o k i e k c c m -------------------------------------