I got the board described at http://www.velleman.be/kits/k8000.htm
It has a few chips that speak I2C and it comes with software that
sends/receives I2C over the online(17), autofeed(14), and select(13)
lines.
IT WORKS IN DOS! The sample programs run great, board lights up great.
I ported the code to Linux by changing outport() and inp() to outb() and
inb(). I got everything working such that the 'data from port' LEDs
on the board blink just as they do in DOS. But the I2C chips don't
react.
I2C appears to be pretty relaxed about timing, and I've tried many
things (though outb_p gives me segfault).
What is the difference between DOS and Linux w.r.t. IO ports?? Does
one or the other alter my data before sending it to the port or
something?
TIA--
Drew