Outils pour utilisateurs

Outils du site


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

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_50 [2023/01/10 11:55] – supprimée - modification externe (Unknown date) 127.0.0.1back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_50 [2024/04/08 08:23] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. 23.22.35.162
Ligne 1: Ligne 1:
 +====== INT 0x21 - 0x50 - Set Current Process ID ======
 +
 +<WRAP round info >
 +Undocumented DOS 2.x
 +</WRAP>
 +
 +===== Request/Call: =====
 +
 +{{tablelayout?rowsHeaderSource=Auto&colwidth=""}}
 +^  reg  ^  value  ^  descr  ^
 +|  AH    0x50           |
 +|  BX       | process ID number (process [[back2root:ibm-pc-ms-dos:hardware:informations:program_segment_prefix|PSP]] segment Address)  |
 +
 +===== Return: =====
 +Nothing
 +
 +===== Notes & Comments =====
 +
 +<WRAP round box>
 +  * the process ID number is actually the segment address of a program's PSP. This is useful for TSR's to access their own file handle table inside their PSP.
 +  * this function cannot be called while in an INT 28 handler in DOS 2.x unless the critical error flag is set or stack corruption will occur
 +  * safe in DOS 3.x [[back2root:ibm-pc-ms-dos:interrupts:int_28:start|INT 28]] handlers since they use a different stack by default
 +  * available in OS/2 compatibility box
 +
 + see  [[back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_51|INT 21,51]], [[back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_62|INT 21,62]]
 +</WRAP>
 + 
 +[[start|Back]]