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.

Comments<br />

Top of list<br />

Index page<br />

AX = New program's taskID<br />

BX = segment of PSP (add sizeof PSP/16 for relocation offset)<br />

Failure:<br />

Carry flag set<br />

AX = 1<br />

Use 'Type of Load' AL = 0x00 to load and execute another program.<br />

'Type of Load' AL = 0x01 is used to load a program without executing it. This option is available for<br />

debuggers. The new task is waiting for it's trigger when started in this manner.<br />

For both functions, the calling process must ensure that there is enough unallocated memory available; if<br />

necessary, by releasing memory with services AH=0x49 or AH=0x4A.<br />

Interrupt 0x21 service 0x4C: End Process<br />

Parameters<br />

AH<br />

Terminates a DOS program.<br />

0x4C<br />

Comments<br />

The memory used by the process is released, with following exception. This function will not free system<br />

memory allocated by a task that was created within a program. Only memory allocated by the<br />

program's main task will be freed here.<br />

Related Topics<br />

Top of list<br />

Index page<br />

Delete <strong>@CHIP</strong>-<strong>RTOS</strong> task<br />

Interrupt 0x21 service 0x4E: Find First File<br />

Find first file matching file name specification and attribute. The results are stored in the Disk Transfer<br />

Area (DTA).<br />

Parameters<br />

AH<br />

0x4E<br />

Page 273 / 400

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

Saved successfully!

Ooh no, something went wrong!