Michael Beattie wrote: > > I dont know if this got through due to the DNS problem, so here's my > Question again: > > I am having trouble with porting a DOS prog to linux, It is used to > control a Parallel port interface card, which I bought as a kit from the > local electronics store. It works fine in DOS, but now, when I try to get > and send info to it ( inb([base]) and outb([value],[base]) ) nothing > registers. The control program that someone pointed to at: > http://www-ugrad.cs.colorado.edu/~rkirkpat/software/ppc-1.0.tgz > works quite well, but My program wont work. > Don't you have to open say /dev/lp0 as a file (in read and write) to do this? I could be wrong, but since Linux treats everything as a file it makes sence.
> Is there something I should do in my program to let the port be used > freely? ( Hex 0x378 ) I have the ioperm stuff from the ppc program. > > Can anyone help? I would probably accept flames... :) > Can you send the source code? It's hard to visualize something without takin' a look. Mark Panzer