en:docs:dos:api:int22

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:docs:dos:api:int22 [2021/08/06 07:13] – created prokusheven:docs:dos:api:int22 [2026/03/16 03:12] (current) – [PROGRAM TERMINATION ADDRESS] prokushev
Line 1: Line 1:
-PROGRAM TERMINATION ADDRESS +{{page>en:templates:dosint}} 
-DescThis vector specifies the address of the routine which is to be given control after a program is terminated; it should never be called directly, since it does not point at an interrupt handler+ 
 +====== PROGRAM TERMINATION ADDRESS ====== 
 + 
 +===== Desc ===== 
 + 
 + 
 +This vector specifies the address of the routine which is to be given control after a program is terminated; it should never be called directly, since it does not point at an interrupt handler 
 + 
 +===== Notes ===== 
 + 
 +This vector is restored from the DWORD at offset 0Ah in the PSP during termination, and then a FAR JMP is performed to the address in INT 22. Normally points at the instruction immediately following INT 21/AH=4Bh call which loaded the current program 
 + 
 + 
 +{{page>en:templates:int}} 
  
-Notes: This vector is restored from the DWORD at offset 0Ah in the PSP during termination, and then a FAR JMP is performed to the address in INT 22. Normally points at the instruction immediately following INT 21/AH=4Bh call which loaded the current program