🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Does a Set S.D.A. function exist in DOS ?

#6134
From: Ralf Brown
Date: Mon, 13 May 1991 16:08
20 lines
1557 bytes
In article <17301.282b344c@ul.ie> 8807035@ul.ie writes:
} My problem is I've got the calling parameters for finding the SDA : Func 5dh 
}Subfunc 06 (quoted in the article).  However there are no function parameters
}stated for setting the fgnd_SDA to my_SDA, for example; although it's feasible
}to make a copy of the SDA in some alloc'ed memory and swap it back after 
}the spawned program has run.  


There is no such function, because the DOS kernel refers to absolute addresses
(going through a pointer would needlessly slow down DOS).  You have to
physically make a copy of the SDA and then physically overwrite it with a
previously saved copy.



--
{backbone}!cs.cmu.edu!ralf  ARPA: RALF@CS.CMU.EDU   FIDO: Ralf Brown 1:129/3.1
BITnet: RALF%CS.CMU.EDU@CARNEGIE   AT&Tnet: (412)268-3053 (school)   FAX: ask
DISCLAIMER?  Did  | It isn't what we don't know that gives us trouble, it's
I claim something?| what we know that ain't so.  --Will Rogers
Technical Details
Message-ID: <1991May13.160822.8281@cs.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!ralf
References: <17301.282b344c@ul.ie>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!ralf
From: ralf+@cs.cmu.edu (Ralf Brown)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Does a Set S.D.A. function exist in DOS ?
Keywords: TSR, SDA, Byte's March 'Zine.
Message-ID: <1991May13.160822.8281@cs.cmu.edu>
Date: 13 May 91 16:08:22 GMT
References: <17301.282b344c@ul.ie>
Sender: netnews@cs.cmu.edu (USENET News Group Software)
Organization: School of Computer Science, Carnegie Mellon
Lines: 20