I have a few K8000’s running simple processes. Programs are under dos + Turbo Pascal and have been working well for years.
I have had to replace an antique laptop with a more modern one (pentium) which still has legacy Parallel Printer ports.
I have come across an oddity which I suspect is from the i2c module.
Outputs work perfectly. AD converter behaves oddly.
AD reads are somewhat erratic and basically the last two (LSB) bits are lost, sometimes the third.
Windows test program shows the board is working correctly.
Dos test program behaves very oddly, copying the one active AD converter to all the others even when one is deliberately grounded.
I suspect this is a timing problem in i2c.pas since the new machines are “quite a bit” faster than the older ones.
Which is the key timing section?
Unless you know better…
NB Native dos 6.22 boot, windows completely absent.