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,be1cad394fc8713f X-Google-Attributes: gid103376,public From: tmoran@bix.com (Tom Moran) Subject: Re: low-level Date: 1998/04/13 Message-ID: <353239e5.189990@SantaClara01.news.InterNex.Net>#1/1 X-Deja-AN: 343629556 References: <01bd66bc$73c7ca40$beda4cc3@carlos> Organization: InterNex Information Services 1-800-595-3333 Newsgroups: comp.lang.ada Date: 1998-04-13T00:00:00+00:00 List-Id: Just as in C you can use vendor supplied library routines like int86, you can do the same in Ada. Look at your compiler vendor's documentation to find out what appropriate library routines they supply. In Ada you can use a "representation clause" (see RM chapter 13) to force certain things to be at certain addresses. Note that many modern OS's "virtualize" things so the address you get may not be the same as the address the hardware sees, and you may have to find the OS functions that will let you get at particular *hardware* or physical addresses.