Return-Path: Received: (qmail 18379 invoked from network); 20 Dec 2001 19:57:19 -0000 Received: from unknown (HELO warrior.services.quay.plus.net) (212.159.14.227) by excalibur.plus.net with SMTP; 20 Dec 2001 19:57:19 -0000 X-Priority: 3 X-MSMail-Priority: Normal Received: (qmail 23973 invoked from network); 20 Dec 2001 19:57:13 -0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Received: from unknown (HELO post.thorcom.com) (212.172.148.70) by warrior.services.quay.plus.net with SMTP; 20 Dec 2001 19:57:13 -0000 Received: from majordom by post.thorcom.com with local (Exim 3.33 #2) id 16H9GC-0001s2-00 for rsgb_lf_group-outgoing@blacksheep.org; Thu, 20 Dec 2001 19:53:44 +0000 Received: from imo-d03.mx.aol.com ([205.188.157.35]) by post.thorcom.com with esmtp (Exim 3.33 #2) id 16H9GB-0001rl-00 for rsgb_lf_group@blacksheep.org; Thu, 20 Dec 2001 19:53:43 +0000 Received: from DL4YHF@aol.com by imo-d03.mx.aol.com (mail_out_v31_r1.9.) id l.195.af5e4 (4250) for ; Thu, 20 Dec 2001 14:52:22 -0500 (EST) From: DL4YHF@aol.com Message-ID: <195.af5e4.29539b76@aol.com> Date: Thu, 20 Dec 2001 14:52:22 EST Subject: LF: Re^n: long haul QSO's .. >> programming To: rsgb_lf_group@blacksheep.org MIME-Version: 1.0 Content-Type: text/html; charset=windows-1252 X-Mailer: AOL 6.0 for Windows DE sub 10510 Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group Sender: Content-transfer-encoding: 8bit Steve and Alberto,

in fact there is a bunch of Ring-0 drivers around to do the job.
I used one by Yariv Kaplan called "WinIO" which came along with all the sources and an interface DLL around. It does a nice job in my Windows PIC programmer. But as Windoze XP is knocking at some people's door, even this trick does not work anymore, really a mess... because direct access is the only way to set the TxD signal of the COM port to a constant HIGH- or LOW-level.

If you only need TWO output lines at the COM port (RTS and DTR), there is a way to control these lines via the Windoze API. One could use one line as clock, the other as a data line to drive a simple shift register. The shift clock can be the leading clock edge, and the output strobe can be the falling edge with a logic "1" on the data line (thinking of I2C-bus).

IMO, the serial port will exist a bit longer than the "LPT" port, and if not, there are a couple of USB->"COM" interface chips available which do not require advanced programming because they look like ordinary "COM" ports to an application. Or, as suggested earlier, use a PIC16F628 which has a nice UART and (in a PIC programmer's world) a large RAM and code memory. You can even program PICs in "C" these days as I saw on SM6LKM's page.

73,  Wolf