en:docs:dos:api:int22

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:docs:dos:api:int22 [2021/08/06 07:14] prokusheven:docs:dos:api:int22 [2026/03/16 03:12] (current) – [PROGRAM TERMINATION ADDRESS] prokushev
Line 3: Line 3:
 ====== PROGRAM TERMINATION ADDRESS ====== ====== 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+===== Desc =====
  
-  NotesThis 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+ 
 +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