🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

what are the valid ranges for XMS EMB handles?

#7053
From: Shaun Case
Date: Thu, 13 Jun 1991 04:21
25 lines
1412 bytes
I need to search through all allocated XMS EMBs quickly.  If possible,
I would like to limit the search to valid (i.e., possilbe) XMS EMB
handles.  I already know how to tell if a given handle is valid,
but it takes too long to search through 2,000+ handles!

EMS handles seem to start at 0 and go up from there.  Do XMS handles
also start at 0?  

There seems to be a .375Kbytes allocated per handle relationship,
from my own crude testing.  Is this right?  If so, can I start
seeking at handle 239?

I read XMS.TXT from XMS20.ARC on simtel, which is supposedly the
XMS spec from microsoft.  I wasn't impressed.  It says that
"handles are a scarce resource" but doesn't say what range they
fall into.  

What are they, anyway?  Pointers to start blocks?  Tags that get
hashed into a table in the XMS driver with pointers to EMBs?

Any help would be greatly appreciated, either in email or post.

Help me out, I'm working on PD software!

Shaun.
Technical Details
Message-ID: <2516@gold.gvg.tek.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!zephyr.ens.tek.com!gvgpsa!gold.gvg.tek.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!zephyr.ens.tek.com!gvgpsa!gold.gvg.tek.com
From: shaunc@gold.gvg.tek.com (Shaun Case)
Newsgroups: comp.os.msdos.programmer
Subject: what are the valid ranges for XMS EMB handles?
Message-ID: <2516@gold.gvg.tek.com>
Date: 13 Jun 91 04:21:20 GMT
Sender: shaunc@gold.gvg.tek.com
Organization: Grass Valley Group, Grass Valley, CA
Lines: 25