Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:docs:dos:api:int20 [2018/09/04 16:53] – created prokushev | en:docs:dos:api:int20 [2020/12/08 05:47] (current) – [Macro] prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{logos:dos.gif? | + | {{page>en:templates: |
====== Int 20H ====== | ====== Int 20H ====== | ||
- | ===== AH=4C ===== | + | ===== Version ===== |
+ | |||
+ | 1 and higher | ||
+ | |||
+ | ===== Brief ===== | ||
+ | |||
+ | TERMINATE PROGRAM | ||
+ | |||
+ | ===== Family API ===== | ||
+ | |||
+ | [[en: | ||
+ | |||
+ | ===== Input ===== | ||
+ | |||
+ | CS = PSP segment | ||
+ | |||
+ | ===== Return ===== | ||
+ | |||
+ | Never return | ||
+ | |||
+ | ===== Macro ===== | ||
+ | |||
+ | <code asm> | ||
+ | INCLUDE DOS.INC | ||
+ | |||
+ | TERMINATE | ||
+ | </ | ||
+ | ===== Notes ===== | ||
+ | |||
+ | Function is obsolete. Use [[en: | ||
+ | |||
+ | This function sets the program' | ||
+ | |||
+ | ===== See Also ===== | ||
+ | |||
+ | [[en: | ||
+ | |||
+ | ===== Note ===== | ||
+ | |||
+ | Text based on [[http:// | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | {{page> | ||
- | INT 21 - DOS 2+ - " | ||
- | AH = 4Ch | ||
- | AL = return code | ||
- | Return: never returns | ||
- | Notes: | ||
- | (see #01378 [offset 16h] at AH=26h), all open files are closed and | ||
- | all memory belonging to the process is freed | ||
- | all network file locks should be removed before calling this function | ||
- | SeeAlso: AH=00h, | ||
- | SeeAlso: INT 60/DI=0601h | ||