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,fd3c44bd8f938354 X-Google-Attributes: gid103376,public From: "Tarjei Tj�stheim Jensen" Subject: Re: Parallel port Date: 2000/03/05 Message-ID: <38C268B4.A5585BF2@online.no>#1/1 X-Deja-AN: 593414207 Content-Transfer-Encoding: 7bit References: Content-Type: text/plain; charset=us-ascii X-Complaints-To: news-abuse@online.no X-Trace: news1.online.no 952264846 130.67.226.176 (Sun, 05 Mar 2000 15:00:46 MET) Organization: Jensen programvareutvikling MIME-Version: 1.0 NNTP-Posting-Date: Sun, 05 Mar 2000 15:00:46 MET Newsgroups: comp.lang.ada Date: 2000-03-05T00:00:00+00:00 List-Id: Philippe Bourzeix wrote: > I would like to access to my parallel port. > To read and write in the register 16#378, 16#379, 16#37A > But i have no idea how to do it. > Neither do I, but try reading the GNAT manual. There is bound to be something about reading I/O ports or using assembly language inserts to do the same > I have started something like that but it doesn't work : > > type reg is new integer; > for reg'size use 8; --register is 8 bits > type regptr is access all reg > for reg'address use 16#378#; This is a memory adresses. These are in the BIOS area somewhere if I remember correctly. Greetings,