please dont rip this site
Function  62h	Get PSP Address

entry	AH	62h

return	BX	Segment address of the program segment prefix.

note 1) Before a program receives control from MS-DOS , its PSP is set up to
	contain certain vital infromation, such as:

	- the segment address of the program's environment block

	- the command line originally entered by the user

	- the original contents of the terminate, Ctrl-C, and critical-error
	  handler vectors

	- the top address of available RAM.

     2) The segment address of the PSP is normally passed to the program in
     registers DS and ES when it initially receives control from MS-DOS. Theis
     function allows a program to conveniently recover the PSP address at any
     point during its execution, without having to save it at program entry.

     3) (DOS 3.x, ?4-) Cannot be used by any memory resident routine to obtain
     its PSP address. This is because once the routine has executed a Keep
     Process or Terminate & Stay Resident function, MS-DOS no longer considers
     the routine active. The Get PSP function only applies to the program last
     loaded by MS-DOS, which MS-DOS considers to be the currently active
     program.











file: /Techref/INT/21f/62.htm, 1KB, , updated: 2001/5/16 10:45, local time: 2024/11/9 08:02,
TOP NEW HELP FIND: 
3.148.106.201:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/Techref/INT/21f/62.htm"> INT 21f 62</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?