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.

ES:DI<br />

Pointer to user buffer.<br />

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

AX=Number of bytes actually transferred.<br />

Offset 0 (word) = Structure size<br />

Offset 2 (byte) = FOSSIL spec version (not used)<br />

Offset 3 (byte) = Driver rev level (not used)<br />

Offset 4 (dword) = Pointer to ASCII ID (not used)<br />

Offset 8 (word) = Input buffer size<br />

Offset 0A (word) = Bytes available (input)<br />

Offset 0C (word) = Output buffer size<br />

Offset 0E (word) = Bytes available (output)<br />

Offset 10 (byte) = Screen width, chars (not used)<br />

Offset 11 (byte) = Screen height, chars (not used)<br />

Offset 12 (byte) = Baud rate mask (not used)<br />

This function was provided for compatibility with older Fossil applications.<br />

Interrupt 0x14 service 0x1E: Extended set baud rate<br />

Parameters<br />

AH<br />

BH<br />

BL<br />

CH<br />

CL<br />

Set the baud rate of the serial port<br />

0x1E<br />

Parity<br />

00h None<br />

01h Odd<br />

02h Even<br />

03h Mark<br />

04h Space<br />

Stop bits<br />

00h: 1 Stop bit<br />

01h: 2 Stop bits (available only when no parity is set)<br />

Word length<br />

02h: 7 bits<br />

03h: 8 bits<br />

Baud rate<br />

Page 335 / 400

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

Saved successfully!

Ooh no, something went wrong!