comp.lang.ada
 help / color / mirror / Atom feed
* Low Level IO
@ 1998-08-06  0:00 JOSE VICENTE
  1998-08-06  0:00 ` Samuel Tardieu
  1998-08-07  0:00 ` Tarjei Tj�stheim Jensen
  0 siblings, 2 replies; 4+ messages in thread
From: JOSE VICENTE @ 1998-08-06  0:00 UTC (permalink / raw)


Does anyone know how can I read/write the parallel port using Linux and Gnat
3.10 ?
I've been trying things like this and 'Storage Error' or 'Program Error'
raises.
    ......
    type Byte is mod 2**8;
    for Byte'Size use 8;
    Parallel_Port:Byte;
    for Parallel_Port'Address use
System.Storage_Elements.To_Address(16#3BC#);
    ......
    begin
    ......
    Parallel_Port:=value;    -- The exception raises at this point.
    ......
Thanks in advance.









^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-08-07  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-06  0:00 Low Level IO JOSE VICENTE
1998-08-06  0:00 ` Samuel Tardieu
1998-08-06  0:00   ` JOSE VICENTE
1998-08-07  0:00 ` Tarjei Tj�stheim Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox