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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Top of list<br />

Index page<br />

Interrupt 0x16 service 0x00: Get char from standard input<br />

Parameters<br />

AH<br />

Get a character from std in, wait if none available<br />

Must be 0.<br />

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

Returns character in AL<br />

Returns at DX the source stdin channel of the character: 1: EXT , 2: COM , 4: Telnet<br />

Please note that AH does not contain the scan code, but is always 0.<br />

Interrupt 0x16 service 0x01: Check if a character is available from std in<br />

Parameters<br />

AH<br />

Check if a character is available from standard input<br />

Must be 1.<br />

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

AX=1 if a character is available, AX=0 and zero-flag is cleared if no character is available.<br />

Please note that AH does not contain the scan code, but is always 0.<br />

Interrupt 0xA0 service 0x00: Get serial number<br />

Parameters<br />

AH<br />

Get the serial number of the <strong>IPC<strong>@CHIP</strong></strong> device<br />

Must be 0.<br />

Return Value<br />

AX=low word, BX=high word of <strong>IPC<strong>@CHIP</strong></strong> serial number<br />

CX=low word, DX=high word of BECK product serial number (if not available CX=DX=0)<br />

SI contains BECK product hardware revision number HighByte and LowByte (if not available SI=0)<br />

Page 80 / 400

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

Saved successfully!

Ooh no, something went wrong!