From owner-freebsd-hackers Wed Feb 19 03:46:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA18785 for hackers-outgoing; Wed, 19 Feb 1997 03:46:01 -0800 (PST) Received: from escher.usr.dsi.unimi.it (escher.usr.dsi.unimi.it [149.132.130.70]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id DAA18699 for ; Wed, 19 Feb 1997 03:42:27 -0800 (PST) Message-Id: <199702191142.DAA18699@freefall.freebsd.org> Received: by escher.usr.dsi.unimi.it (1.38.193.4/16.2) id AA29437; Wed, 19 Feb 1997 12:37:49 +0100 From: dario@escher.usr.dsi.unimi.it (Dario Maggiorini) Date: Wed, 19 Feb 1997 12:37:49 +0100 X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: freebsd-hackers@freebsd.org Subject: parallel read Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.