🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #8713

Re: High Memory in DOS??

#8713
From: Doug Dougherty
Date: Thu, 28 Mar 1991 21:06
21 lines
1539 bytes
nksehgal@rodan.acs.syr.edu writes:


>I have a TSR which is loaded high in memory(above 640K) using 386max,
>This TSR write a string in memory to indicate that it is loaded as
>a subsequent attempt to execute it first looks for the string.  The problem is
>that it looks only in first 640K,  causing two copies to exist at the same time.

>Can some DOS guru suggest if there is an internal list of memory blocks in
>DOS that I can search for the string written out by first TSR. Or maybe 
>anyother efficient way to check other than scan the entire address space of
>386?

Actually, this is a good question, for two reasons.  First, how should TSRs
detect their presence (installation status) when the copy may be loaded
high?  (Answer, of course, is to have the installed copy hook an interrupt,
rather than having subsequent runs look through memory)  Second, how *do*
you walk the MCB chain and get all allocated memory, given that the MCB
chain ends (with a 'Z') at the bottom of the DOS "free" memory?

Good questions, these...
Technical Details
Message-ID: <valley.670194414@gsbsun>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!ncar!midway!valley
References: <1991Mar28.184311.28677@rodan.acs.syr.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!ncar!midway!valley
From: valley@uchicago (Doug Dougherty)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: High Memory in DOS??
Message-ID: <valley.670194414@gsbsun>
Date: 28 Mar 91 21:06:54 GMT
References: <1991Mar28.184311.28677@rodan.acs.syr.edu>
Sender: news@midway.uchicago.edu (News Administrator)
Distribution: usa
Organization: University of Chicago
Lines: 21