Tandy 1000 Programmer's Reference Manual page 132

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter 1 I System Calls
Wait
Retrieve the
Function Call 4DH
Return Code of a Child
Returns the Exit code specified by a child process. It returns
this Exit code only once. The low byte of this code is sent by the
Keep Process function call (31H). The high byte indicates the
circumstances that caused the child to terminate, and is one of
the following:
0 -
Terminate/abort
2 -
Hard error
3 -
Terminate and stay resident
1 -
CONTROL-C
Entry Conditions:
AH
=
4DH
Exit Conditions:
AH
=
exit code
Error Returns:
None.
Example:
W a i t
=qu
4DH
mov
ah,
W a i t
i n t
21
H
130

Advertisement

Table of Contents
loading

Table of Contents