www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/15/12:49:25

Date: Fri, 15 Nov 1996 12:33:46 -0500
Message-Id: <199611151733.MAA21304@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: gminer AT Newbridge DOT COM
CC: djgpp AT delorie DOT com
In-reply-to: <Pine.SUN.3.90.961115121752.21366A-100000@coop10> (message from
Glen Miner on Fri, 15 Nov 1996 12:25:31 -0500 (EST))
Subject: Re: Memory Protection

> Ahh, this makes sense now. I suppose my next question is: how does the
> dosmem put/get  functions get around this? Do they resize before and 
> after? Wouldn't this be painfully inneffeicient?

They use a different segment, which overlaps the DOS memory instead of
the program's memory.

For further protection, you can create a segment that covers only the
video memory and use that instead.

- Raw text -


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