SECTION 6
Conversions and Interfaces
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-67
INT 15h, Function AX = 0102h: Return Information About a Task
4000API
Provided for diagnostic purposes.
Because TCBs may move on every task switch, lock task switching prior to
making this call and unlock after the information has been extracted. It is
possible for the running task to obtain its task ID by calling with CX = 0.
It is not possible to obtain the TCB address for the current task. The TCB exists
on the task stack only when the task is ready or pending (not running).
On Entry:
AH = 01h
AL = 02h
CX = Task ID (0 for currently active task)
On Return:
CX = Task identifier (0 if task not found)
ES:BX = TCB address or pointer to multiĆtasking data area for active task.
SI = Undefined
DI = Undefined
INT 15h, Function AX = 0103h: Disable Task Switching
4000API
On Entry:
AH = 01h
AL = 03h
On Return:
None
INT 15h, Function AX = 0104h: Enable Task Switching
4000API
On Entry:
AH = 01h
AL = 04h
On Return:
None
INT 15h, Function AX = 0105h: Reset Multi-tasker
4000API
Purges ready and pend lists. Resets current task identifier to 0. Do this when
resetting all hardware and firmware.
On Entry:
AH = 01h
AL = 05h
On Return:
None
6. Conversions and
Interfaces