comp.lang.ada
 help / color / mirror / Atom feed
* How you use the paralell I/Oport?
@ 2000-01-27  0:00 Magnus Arwidsson
  2000-01-28  0:00 ` Alfred Hilscher
  2000-01-28  0:00 ` Gisle S�lensminde
  0 siblings, 2 replies; 3+ messages in thread
From: Magnus Arwidsson @ 2000-01-27  0:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]

Hello
I�m trying to use the paralellport directly in my program, but i can�t find
any information about howto write the code.
Please help.

Magnus






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

* Re: How you use the paralell I/Oport?
  2000-01-27  0:00 How you use the paralell I/Oport? Magnus Arwidsson
  2000-01-28  0:00 ` Alfred Hilscher
@ 2000-01-28  0:00 ` Gisle S�lensminde
  1 sibling, 0 replies; 3+ messages in thread
From: Gisle S�lensminde @ 2000-01-28  0:00 UTC (permalink / raw)


In article <86qef4$8g8$1@cubacola.tninet.se>, Magnus Arwidsson wrote:
>Hello
>I�m trying to use the paralellport directly in my program, but i can�t find
>any information about howto write the code.
>Please help.

How to do that is OS dependent and there are no general answer on how
to do this in Ada. If you by "directly" means direct access to the 
hardware, that is not possible in user mode on operating systems like UNIX,
Linux and Windows NT. Code doing this must be in a driver or given
special permision by the OS.

You should try to look up in the OS documentation on how to do this.
If you get further problems, you can ask on this group, but then give
information of which OS and compiler you use.


--
Gisle S�lensminde ( gisle@ii.uib.no )   

ln -s /dev/null ~/.netscape/cookies




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

* Re: How you use the paralell I/Oport?
  2000-01-27  0:00 How you use the paralell I/Oport? Magnus Arwidsson
@ 2000-01-28  0:00 ` Alfred Hilscher
  2000-01-28  0:00 ` Gisle S�lensminde
  1 sibling, 0 replies; 3+ messages in thread
From: Alfred Hilscher @ 2000-01-28  0:00 UTC (permalink / raw)


Try to open it as a file named "LPT". It works for example with
"COM1"/"COM2".

Magnus Arwidsson wrote:
> 
> Hello
> I�m trying to use the paralellport directly in my program, but i can�t find
> any information about howto write the code.
> Please help.
> 
> Magnus




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

end of thread, other threads:[~2000-01-28  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-27  0:00 How you use the paralell I/Oport? Magnus Arwidsson
2000-01-28  0:00 ` Alfred Hilscher
2000-01-28  0:00 ` Gisle S�lensminde

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