Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 1997 12:37:49 +0100
From:      dario@escher.usr.dsi.unimi.it (Dario Maggiorini)
To:        freebsd-hackers@freebsd.org
Subject:   parallel read
Message-ID:  <199702191142.DAA18699@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702191142.DAA18699>