Table of Contents Previous topic Next topic
Virtual Workshop Interface->General Purpose Interface Calls->SetSerialOutput()
extern "C" void SetSerialOutput(LONG nExtensionState, LONG nBuffAddress, BYTE nByte)
The simulator will call SetSerialOutput when a byte nByte has been transmitted by the serial port. The extension can use this byte as it wishes.
If a variant supports more than one serial port, the extension can test the value of nBuffAddress to determine which serial port has transmitted the byte passed with this call.