Mail Archives: djgpp/1996/08/13/09:04:24
On Mon, 12 Aug 1996, John Luebs wrote:
>After you use the __dpmi_allocate_memory function, how do you use the
>memory?
You have to:
1. allocate a descriptor,
2. take its selector and
a) set its base segment to the value returned in __dpmi_meminfo.address
b) set its segment limit to the size of the allocated block (or better to
the value returned in __dpmi_meminfo.size)
3. use it with the far* family of functions.
Greetings, Mark
/************************************************************/
/** Maybe it was infatuation or the thrill of a chase? **/
/** Maybe you were always beyond my reach and my heart **/
/** was playing safe? ***********/
/** But was that love in your eyes I saw, **/
/** or the reflection of mine? **/
/** I'll never really know for sure, **/
/** You never really gave me time! **/
/** Won't you give me that time? **/
/** "Cindirella Search" **/
/********************************/
Visit my homepage: http://ananke.amu.edu.pl/~grendel
- Raw text -