From owner-freebsd-current Wed Oct 28 18:09:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA11225 for freebsd-current-outgoing; Wed, 28 Oct 1998 18:09:32 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from home.dragondata.com (home.dragondata.com [204.137.237.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA11218 for ; Wed, 28 Oct 1998 18:09:27 -0800 (PST) (envelope-from toasty@home.dragondata.com) Received: (from toasty@localhost) by home.dragondata.com (8.8.8/8.8.5) id UAA13367; Wed, 28 Oct 1998 20:09:23 -0600 (CST) From: Kevin Day Message-Id: <199810290209.UAA13367@home.dragondata.com> Subject: Re: Mod to doscmd's port.c to directly access parallel ports In-Reply-To: <199810290057.QAA20847@pinhead.parag.codegen.com> from Parag Patel at "Oct 28, 98 04:57:31 pm" To: parag@cgt.com (Parag Patel) Date: Wed, 28 Oct 1998 20:09:23 -0600 (CST) Cc: current@FreeBSD.ORG, tjm@codegen.com, eric@needhams.com X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I just acquired a Needhams EMP-10 EPROM programmer and wanted to run it > directly under FreeBSD 3.0-CURRENT. > > So I modified doscmd's port.c to let me run the Needham DOS software > which wants direct access to a parallel port. I needed the following > patch to let me access the real I/O ports from the emulator to get to > the parallel port. > > With this patch, I can run "doscmd -x -b -i0x378:8 -o0x378:8" as root, > connect up the EMP-10, and the Needhams software directly accesses the > parallel port from the DOS emulator window. Nice! > > Would someone who knows this stuff better than me (not difficult) check > the mod for me, and if it's sane, please check it in? Thanks! > > > -- Parag > I ended up using something similar to run the EMP-10 on freebsd, but be careful. the device is extremely sensitive to timings. (especially when programming EPROMs... flash isn't so bad). Either nice it to -20, or diddle with rtprio. :) Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message