🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4505

Does default DTA in PSP automatically track a PSP switch?

#4505
From: Bob Davis
Date: Sun, 03 Feb 1991 14:35
18 lines
1417 bytes
	In an assembly language TSR, I switch from the interrupted 
foreground program's Program Segment Prefix (PSP) to the PSP of the TSR 
by calling DOS function 50h.

	Is the default Disk Transfer Area (DTA) *automatically*
switched by DOS to be in the new PSP of the TSR, OR do I have to
explicitly set the DTA address to offset 80h of the TSR's PSP by 
calling DOS function 1Ah?

	Thanks.

_____________________________________________________________________________
Bob Davis, UofALA alum \\ INTERNET: sonny@trantor.harris-atd.com  |  _   _  |
Harris Corporation, ESS \\    UUCP: ...!uunet!x102a!trantor!sonny |_| |_| | |
Advanced Technology Dept.\\ AETHER: K4VNO          |==============|_/\/\/\|_|
PO Box 37, MS 3A/1912     \\ VOICE: (407) 727-5886 | I SPEAK ONLY | |_| |_| |
Melbourne, FL 32902        \\  FAX: (407) 729-3363 | FOR MYSELF.  |_________|
Technical Details
Message-ID: <5408@trantor.harris-atd.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!soleil!mlb.semi.harris.com!trantor.harris-atd.com!charybdis!sonny

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!soleil!mlb.semi.harris.com!trantor.harris-atd.com!charybdis!sonny
From: sonny@charybdis.harris-atd.com (Bob Davis)
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer
Subject: Does default DTA in PSP automatically track a PSP switch?
Message-ID: <5408@trantor.harris-atd.com>
Date: 3 Feb 91 14:35:12 GMT
Sender: news@trantor.harris-atd.com
Reply-To: sonny@trantor.harris-atd.com (Bob Davis)
Organization: Advanced Technology Dept., Harris ESS, Melbourne, FL
Lines: 18