From owner-freebsd-hackers Sun Oct 27 18: 0: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80D5237B401 for ; Sun, 27 Oct 2002 18:00:01 -0800 (PST) Received: from bogslab.ucdavis.edu (bogslab.ucdavis.edu [169.237.68.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11D7543E6E for ; Sun, 27 Oct 2002 18:00:01 -0800 (PST) (envelope-from greg@bogslab.ucdavis.edu) Received: from thistle.bogs.org (thistle.bogs.org [198.137.203.61]) by bogslab.ucdavis.edu (8.9.3/8.9.3) with ESMTP id RAA35581 for ; Sun, 27 Oct 2002 17:59:49 -0800 (PST) (envelope-from greg@bogslab.ucdavis.edu) Received: from thistle.bogs.org (localhost [127.0.0.1]) by thistle.bogs.org (8.11.3/8.11.3) with ESMTP id g9S1tiQ69311 for ; Sun, 27 Oct 2002 17:55:45 -0800 (PST) (envelope-from greg@thistle.bogs.org) Message-Id: <200210280155.g9S1tiQ69311@thistle.bogs.org> To: hackers@FreeBSD.ORG X-To: David Nicholas Kayal X-Sender: owner-freebsd-hackers@FreeBSD.ORG Subject: Re: Programming the Parallel Port using ppi. In-reply-to: Your message of "Sun, 27 Oct 2002 16:31:46 PST." Reply-To: gkshenaut@ucdavis.edu Date: Sun, 27 Oct 2002 17:55:44 -0800 From: Greg Shenaut Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , David Nicholas Kayal cleopede: > val = 0xff; For this kind of testing, it is sometimes useful to use a value like 0xaa or 0x55, and probe the adjacent lines--don't forget that if there is inversion going on, 0xff will produce all 0v outputs. Just a random thought, it may not help here, but aa/ff are generally more useful than all 1's or all 0's. Greg Shenaut To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message