OSWriteLinkBlock Function (ROM Call 0x250)

link.h

short OSWriteLinkBlock (const char *buffer, unsigned short num);

Inserts bytes into the link transmit buffer.

OSWriteLinkBlock inserts num bytes from buffer into the link transmit buffer. Returns 0 if the operation was sucessful, else returns a non-zero value. num must be in the range 1-128. An error occurs if num is out of range or if there is not enough room in the transmit buffer to insert num bytes.

Note: This function is a low-level function. See also LIO_SendData for a higher-level variant of this function.


Used by: LIO_SendData, Dialog, ERD_dialog, HomeExecute, ngetchx, ROM Call 0x3EA


Deprecated alias: transmit


See also: LIO_SendData