parallel read

[ Available lists | Index of freebsd-hackers | Month of Feb 1997 | Week of 19 Feb 1997 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Dario Maggiorini <dario@escher.usr.dsi.unimi.it>
Date
19 Feb 1997 03:46:01
Subject
parallel read
Message-ID
199702191142.DAA18699@freefall.freebsd.org

Referenced by

[ Hide this part ]
 

Hi hackers.

I'm building a circuit ( ttl logic ) that has to send data to my freebsd PC,

I'm not planning to use parallel rather than serial cause there connectivity
promens and parallel is just ttl compatible.

Using msdos you can just refer to the memory mapped device address and read
from that location.
With this environment i planned to use the /dev/lpt0 device.

But the driver has _not_ read cabability.

I have just to test the status of the pin on the parallel interface.

has anyone of you already

1 - modified the parallel driver
2 - a pointer to some kind of documentation
3 - write asm code to access directly the memory location
( i believe it's possible but can't write it by myself, i'm in a hurry
and has no time to learn asm details )

thanks to anyone for the help.

Dario


o o o o o o o . . . _________________________________ _____=======_T___
o _____ ||Dario Maggiorini | | |
.][__n_n_|DD[ ====|____ |dario@dsi.unimi.it | | |
>(________|__|_[___/_____]_|University of Milano___________|_|_______________|_
_/oo OOOOOO o` ooo ooo 'o^o^o o^o^o` 'o^o o^o`
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Magic is the essence and the soul of life, and the magician is her poet.


Elapsed time: 0.047 seconds