🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1873

What to do with an LDT descriptor

#1873
From: Axel Uhl
Date: Thu, 12 Nov 1992 18:57
14 lines
1214 bytes
The online documentation tells about getting an LDT descriptor by a call
to a category 3 function via DosIOCtl (don't know the function number at the
moment, something aroud 70H).
Now I have two questions. I know that this function yields the selector number.
But where can I use this selector number? Do I have to set DS to this number
in order to access the defined segment? And if so, how do I set DS from
within C ?
If I ask this function to create a descriptor for the video ram, and I'm running
a text mode application in an OS/2 window, is the video ram mapped to match
the window image, or will I modify the whole screen when touching the video
ram through this selector?

Axel (auhl@fzi.de)
Technical Details
Message-ID: <1992Nov12.185740.1829@fzi.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!gate.fzi.de!fzi.DE!auhl

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!gate.fzi.de!fzi.DE!auhl
From: auhl@fzi.DE (Axel Uhl)
Subject: What to do with an LDT descriptor
Message-ID: <1992Nov12.185740.1829@fzi.de>
Sender: news@fzi.de (FZI-news)
Reply-To: fzi.de
Organization: Forschungszentrum Informatik (FZI), Karlsruhe, Germany
Date: Thu, 12 Nov 1992 18:57:40 GMT
Lines: 14