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.

The application sleeps for a specified number of milliseconds.<br />

Parameters<br />

AH<br />

BX<br />

0x09 (= API_SLEEP)<br />

milliseconds<br />

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

DX = 0, AX = 0<br />

This call has been superceded by the similar <strong>RTOS</strong> API call RTX_SLEEP_TIME. This call here is maintained<br />

in the TCP/IP API for compatibility with earlier <strong>@CHIP</strong>-<strong>RTOS</strong> version.<br />

For new applications, the RTX function with more meaningful return values is recommended.<br />

Interrupt 0xAC service 0x0A: API_MALLOC, Allocate memory<br />

Parameters<br />

AH<br />

BX<br />

This function allocates memory direct from the <strong>@CHIP</strong>-<strong>RTOS</strong> heap.<br />

0x0A (= API_MALLOC)<br />

size in bytes<br />

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

DX = 0 , AX = 0, ES:DI points to the allocated buffer<br />

DX != 0 allocation error, ES:DI is a NULL-Pointer<br />

This function has been replaced by the DOS Int21h 0x48 API and is maintained here in the TCP/IP API only<br />

for compatibility with earlier <strong>@CHIP</strong>-<strong>RTOS</strong> versions (prior to version 1.00).<br />

For new applications, the DOS interrupt 0x21 function is recommended.<br />

Interrupt 0xAC service 0x0B: API_FREE, Free an allocated buffer<br />

Page 111 / 400

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

Saved successfully!

Ooh no, something went wrong!