Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_4c

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_4c [2023/01/10 11:55] – supprimée - modification externe (Unknown date) 127.0.0.1back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_4c [2023/01/10 15:38] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +====== INT 0x21 - 0x4c - DOS 2+ - "EXIT" - Terminate with return Code ======
 +
 +===== Request/Call: =====
 +
 +{{tablelayout?rowsHeaderSource=Auto&colwidth=""}}
 +^  reg  ^  value  ^  descr  ^
 +|  AH    0x4c           |
 +|  AL    value   | return code |
 +
 +===== Return: =====
 +Nothing
 +
 +
 +===== Notes & Comments =====
 +
 +<WRAP round box>
 +  * unless the process is its own parent (see AH=26h, offset 16h in PSP), 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
 +  * restores the terminate, Ctrl-Break, and critical error exit addresses, flushes all buffers, frees memory and returns to DOS via the termination handler address
 +  * does not close FCBs
 +
 +this function is not supported in versions of DOS before 2.x, so use [[back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_00|Int 0x21,0x00]]  or [[back2root:ibm-pc-ms-dos:interrupts:int_20|Int 0x20]] to exit.
 +</WRAP>
 + 
 +[[start|Back]]