delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/02/02/22:15:03

Date: Thu, 2 Feb 95 18:50 MST
From: mat AT ardi DOT com (Mat Hostetter)
To: ld AT netrix DOT com
Cc: DJGPP AT sun DOT soe DOT clarkson DOT edu, CZIWKGA AT vmsfe DOT ulcc DOT ac DOT uk
Subject: Re: Request for advice with djgpp, ASPI manager and them _go32_dpmi*
functions
References: <9502022037 DOT AA02694 AT jasmine>

ld AT netrix DOT com writes:
>>   i = dosmem1.rm_segment*16;
>>   
>>   dosmemget(dosmem1.rm_segment*16,sizeof(int),&aspi);

>+++ dosmemget(dosmem1.rm_segment*16 + dosmem1.rm-offset, ...);

Your suggestion is in error.  _go32_dpmi_allocate_dos_memory() ignores
the rm_offset field; it only sets the rm_segment field to a useful
value.

-Mat

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019