01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Parameters<br />

AH<br />

DL<br />

0x02<br />

Character to be output to stdout<br />

Return Value<br />

Comments<br />

Returns nothing<br />

Each potential output device has its own output buffer. This function queues the provided output<br />

character into each device's output buffer for which stdout is configured.<br />

The transmitters are interrupt driven buffered I/O. If space is available in the transmit buffer(s) when this<br />

call is made, the character is stored and control returned immediately to the caller. Otherwise a wait<br />

loop is entered, awaiting space in each configured transmit buffer.<br />

This function does not check for Ctrl-C.<br />

Related Topics<br />

Top of list<br />

Index page<br />

stdout configuration<br />

Interrupt 0x21 service 0x06: Direct Console Output<br />

If DL!=0xFF: Send the character in DL to the standard output.<br />

If DL==0xFF: read character from stdin if one is available.<br />

Parameters<br />

AH<br />

DL<br />

0x06<br />

Character to be output to stdout<br />

Return Value<br />

If call with DL!=0xFF then no return value (only output to stdout)<br />

If call with DL==0xFF then<br />

If input character is available at stdinthen<br />

Set BXregister to indicate the stdinchannel source of character,<br />

where: 1: EXT , 2: COM , 4: Telnet.<br />

Return input character in ALand reset CPU's zero flag<br />

Else<br />

Set CPU's zero flag to indicate no character available<br />

Page 251 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!