From: "Tarjei Tj�stheim Jensen" <tarjei@online.no>
Subject: Re: Parallel port
Date: 2000/03/05
Date: 2000-03-05T00:00:00+00:00 [thread overview]
Message-ID: <38C268B4.A5585BF2@online.no> (raw)
In-Reply-To: C4tw4.687$rl1.4436170@nnrp3.proxad.net
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,
next prev parent reply other threads:[~2000-03-05 0:00 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-05 0:00 Parallel port Philippe Bourzeix
2000-03-05 0:00 ` Tarjei Tj�stheim Jensen [this message]
2000-03-05 0:00 ` Jerry van Dijk
2000-03-06 0:00 ` Philippe BOURZEIX
2000-03-06 0:00 ` Philippe Bourzeix
2000-03-06 0:00 ` Ted Dennison
2000-03-06 0:00 ` tmoran
2000-03-06 0:00 ` Philippe Bourzeix
2000-03-07 0:00 ` tmoran
2000-03-06 0:00 ` Gisle S�lensminde
2000-03-06 0:00 ` Ted Dennison
2000-03-06 0:00 ` Philippe Bourzeix
2000-03-08 0:00 ` Gisle S�lensminde
-- strict thread matches above, loose matches on Subject: below --
2000-03-19 0:00 Parallel Port Philippe Bourzeix
2000-03-19 0:00 ` Ed Falis
2000-03-20 0:00 ` Philippe BOURZEIX
2000-03-20 0:00 ` Gautier
2000-03-20 0:00 ` Jerry van Dijk
2000-03-20 0:00 ` Gautier
2000-03-19 0:00 ` Dale Stanbrough
2000-03-20 0:00 ` Philippe BOURZEIX
2000-03-21 0:00 ` Philippe BOURZEIX
2000-03-21 0:00 ` tmoran
2001-01-17 9:18 PARALLEL PORT Szymar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox