I have some simple dos programs which communicate with
lab equipment by gpib and serial connections.  I can't get
either to work under dosemu.  Here's what I've tried:

The gpib card sits at 2b8 and uses irq 5.  /dev/cua0 is set up
to use irq 4 on port 3f8.  So my /etc/dosemu.conf has:

$_irqpassing = "4 5"
$_ports = "range 0x2b8,0x2bf range 0x3f8,0x3ff"
$_com1 = "/dev/cua0"

The driver (gpib.com) loads from config.sys okay when dosemu start and
the board checks out okay (by ibtest) so I'm accessing the port, but
communications fail.  ibdiag reports that it never sees the interrupt.
Am I naive in my thinking that I can just set up a device to use an
interrupt in dosemu without the linux kernel knowing something about
it?  Or is there something I can do to make this work?  (The dos stuff
is simple and works so I'd prefer to avoid trying to coax the linux
gpib driver to work on my system.  It compiles but insmod dumps core
when I try to load it so I gave up.)

I also want to talk to a stepper motor on com1.  But the basic command

open "com1:9600,n,8,1" as #6

times out.  Another interrupt problem?  Anybody know what I gotta do?

Thanks.

Don Taber
[EMAIL PROTECTED]

Reply via email to