serial and parallel port programming - temp2.bas (0/1)

Hi there,

I have got an interface card, and supporting BASIC code, to read
analog inputs and change them to digital.
The BASIC code is used through the parallel port...

This is what I want to do,
re write the program so it works in Delphi, and use the serial port.

I have got a delphi compnent that lets me transmit and receive, plus
switch DTR, RTS etc on off, so using that compnent, it shouldn't be
too hard to do, only, I am having trouble understanding the Addressing
of the interface.

I have included the BASIC code I have got, and would REALLY appreciate
it if someone could help me with porting it to Delphi and the serial

Please EMAIL replys to: