Function 00h Terminate Program
Ends program, updates, FAT, flushes buffers, restores registers
entry AH 00h
CS segment address of PSP
return none
note 1) Program must place the segment address of the PSP control block in CS
before calling this function.
2) The terminate, ctrl-break,and critical error exit addresses (0Ah, 0Eh,
12h) are restored to the values they had on entry to the terminating
program, from the values saved in the program segment prefix at
locations PSP:000Ah, PSP:000Eh, and PSP:0012h.
3) All file buffers are flushed and the handles opened by the process are
closed.
4) Any files that have changed in length and are not closed are not
recorded properly in the directory.
5) Control transfers to the terminate address.
6) This call performs exactly the same function as Int\20.
7) All memory used by the program is returned to DOS.
file: /Techref/int/21f/00.htm, 1KB, , updated: 1999/4/21 07:55, local time: 2024/12/26 22:50,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/int/21f/00.htm"> int 21f 00</A> |
Did you find what you needed?
|