small c program which controls parallel port

[email protected] Sun, 13 Apr 2003 14:43:54 +0200
Newsgroups gmane.linux.tomsrtbt
Message-ID <[email protected]>
Hi all,

Can anyone give me some pointers on how I can use and old machine with 
tomsrtbt floppy to control the machine's parallel port.

If I have a C program which can read/write to the parallel port, how do 
I incorporate that on an image for a floppy to boot from.

And what is the best way to make a small C program to control the 
parallel port for some simple robotics? Can I echo to a certain device 
in /dev/ and have the result appear on the parallel port? Or should I 
make a program which uses a library like parapin to control the 
parallel port.

Of course the kernal can already talk with the parallel port so i would 
like to add as litte as possible to my tomsrtbt in order to control the 
parallel port.

Does anyway have some suggestions for me?

Thanks,

Pander