SECTION 6
Conversions and Interfaces
PEN*KEY
R
6100 Computer Programmer’s Reference Guide 6-69
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 multitasking data area for active task.
SI = (Modified)
DI = (Modified)
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 Multitasker
4000API
Purges the ready list and the pend list. Resets current task identifier to zero.
Take this drastic measure only when resetting all hardware and firmware.
On Entry:
AH = 01h
AL = 05h
On Return:
None
6. Conversions and
Interfaces
Summary of Contents for PEN*KEY 6100
Page 1: ...PEN KEYR 6100 Computer PROGRAMMER S REFERENCE GUIDE P N 977 054 001 Revision B December 2000 ...
Page 14: ...CONTENTS xii PEN KEYR 6100 Computer Programmer s Reference Guide ...
Page 22: ...Preface 8 PEN KEYR 6100 Computer Programmer s Reference Guide PREFACE ...
Page 318: ...GENERAL INDEX Index 6 PEN KEYR 6100 Computer Programmer s Reference Guide ...