delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/12/01:16:03

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Weird locking bug
Date: Tue, 11 Jun 2002 23:56:26 CDT
Organization: Rice University, Houston TX
Lines: 6
Message-ID: <3d06d47a.sandmann@clio.rice.edu>
References: <3D067654 DOT 57A9B1B2 AT yahoo DOT com>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1023857878 23587 128.42.105.3 (12 Jun 2002 04:57:58 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: 12 Jun 2002 04:57:58 GMT
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> prints out 600 (the DPMI function code for locking). [snip]  Still,
> shouldn't it work? (According to System Monitor, I have 14.4MB of free 
> physical memory.)

You didn't add the selector base address to the memory, so you are
trying to lock the DOS memory area (a bug in the code).

- Raw text -


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