I have begun trying to resucitate an old 16-bit fortran program that read data sent from another device via a serial port. I'm having trouble tracking down documentation to help me implement the SPORT routines. For example, I can manage SPORT_SET_STATE:
ISTATE=SPORT_SET_STATE(PORT,1200,0, 8, 2)
but I hit a snag on SPORT_READ_DATA (or SPORT_READ_LINE).
In PowerStation the old command would be:
But what would be a corresponding implementation for SPORT_READ_DATA?