🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1745

Re: Allocating Fixed Memory

#1745
From: PETE YOXALL
Date: Tue, 19 Mar 1991 17:08
13 lines
1298 bytes
In article <1991Mar12.183751.26640@sunee.waterloo.edu> gpsteffl@sunee.waterloo.edu (Glenn Patrick Steffler) writes:
>
>GlobalDOSAlloc () is to be used to pass data to DOS TSR's or provide
>buffers for real mode device drivers.  Please use this sparingly.
>
It may be worth adding that this type of buffer only exists in the Windows
virtual machine. If a VM switch occurs (e.g a DOS shell gets a timeslice),
a TSR that had remembered the buffer address and tried to use it (maybe because
a h/w interrupt occurs) would scribble where it shouldn't or read garbage.

-- 
Peter Yoxall                      : email   : petey@boldon-james-limited.co.uk
Boldon James Ltd, Congleton, UK   : phone   : +44 260 280465
Technical Details
Message-ID: <1163@bjcong.bj.co.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!pyrltd!bjcong!petey
References: <23883@hydra.gatech.EDU> <1991Mar12.183751.26640@sunee.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!pyrltd!bjcong!petey
From: petey@bjcong.bj.co.uk (PETE YOXALL)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Allocating Fixed Memory
Keywords: Fixed Memory Locking
Message-ID: <1163@bjcong.bj.co.uk>
Date: 19 Mar 91 17:08:34 GMT
References: <23883@hydra.gatech.EDU> <1991Mar12.183751.26640@sunee.waterloo.edu>
Reply-To: petey@bjcong.UUCP (PETE YOXALL)
Organization: Boldon James Limited (Congleton, UK)
Lines: 13