en:docs:dos:api:int21:31

Differences

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

Link to this comparison view

en:docs:dos:api:int21:31 [2020/12/09 04:27] – created prokusheven:docs:dos:api:int21:31 [2024/05/02 04:49] (current) prokushev
Line 26: Line 26:
 ===== Notes ===== ===== Notes =====
  
-  the value in DX only affects the memory block containing the PSP; +the value in DX only affects the memory block containing the PSP; additional memory allocated via AH=48h is not affected 
-          additional memory allocated via AH=48h is not affected +           
-        the minimum number of paragraphs which will remain resident is 11h +the minimum number of paragraphs which will remain resident is 11h for DOS 2.x and 06h for DOS 3.0+ 
-          for DOS 2.x and 06h for DOS 3.0+ +           
-        most TSRs can save some memory by releasing their environment block +most TSRs can save some memory by releasing their environment block before terminating (see #01378 at AH=26h,AH=49h) 
-          before terminating (see #01378 at AH=26h,AH=49h) +           
-        any open files remain open, so one should close any files which will +any open files remain open, so one should close any files which will not be used before going resident; to access a file which is left open from the TSR, one must switch PSP segments first (see AH=50h)
-          not be used before going resident; to access a file which is left +
-          open from the TSR, one must switch PSP segments first (see AH=50h)+
  
 ===== See also ===== ===== See also =====
  
- AH=00h,AH=4Ch,AH=4Dh,INT 20,INT 22,INT 27+ AH=[[en:docs:dos:api:int21:00|00h]],AH=[[en:docs:dos:api:int21:4c|4Ch]],AH=[[en:docs:dos:api:int21:4d|4Dh]],INT 20,INT 22,INT 27
  
 ===== Note ===== ===== Note =====