delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/23/22:05:48

Date: Mon, 23 Feb 1998 19:05:07 -0800 (PST)
Message-Id: <199802240305.TAA28148@adit.ap.net>
Mime-Version: 1.0
To: Anthony DOT Appleyard AT umist DOT ac DOT uk, DJGPP AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: overlaying

At 08:30  2/23/1998 GMT, Anthony.Appleyard wrote:
>How can I tell the DPMI server e.g. that "this program will not call function
>int* Han_Solo(int,FILE*,float(int,char)) again, swop that function out now if
>you need spare space."?

See the function `__dpmi_mark_page_as_demand_paging_candidate', and its
associated entry in the DPMI spec. I'm not sure what DPMI servers can be
expected to support it, nor the exact mechanism for using it, but it looks
like it has the functionality you're looking for.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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