Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
_bios_serialcom
◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Include: <bios.h>
Syntax: unsigned _bios_serialcom( unsigned service,
unsigned serial_port,
unsigned data );
service: _COM_INIT, _COM_SEND, _COM_RECEIVE, _COM_STATUS,
data: _COM_CHR7, _COM_CHR8, _COM_STOP1, _COM_STOP2,
_COM_NOPARITY, _COM_EVENPARITY, _COM_ODDPARITY,
_COM_110, _COM_150, _COM_300, _COM_600, _COM_1200,
_COM_2400, _COM_4800, _COM_9600
(may be joined with |)
Returns: a 16-bit status byte and other service-dependent
information.
-♦-