Table of Contents        Previous topic       Next topic       

The Extension Interface->General Purpose Interface Calls->SetSerialOutput()

extern "C" void SetSerialOutput(LONG nExtensionState, BYTE 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.