Xref: news2.mv.net comp.os.msdos.djgpp:5912 From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams) Newsgroups: comp.os.msdos.djgpp Subject: Re: Catch protection violations? Date: Fri, 12 Jul 1996 12:39:33 GMT Lines: 26 Message-ID: <837175088.12151.1@abwillms.demon.co.uk> References: <4rvaqo$a9 AT news2 DOT delphi DOT com> NNTP-Posting-Host: abwillms.demon.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp jrubin AT bix DOT com (jrubin) wrote: >Third, a question about paging: >Does Djgpp remember the origin of read-only pages? Since they came from >the executable image file, they don't need to be allocated any >'backing store' in the page file. They don't need to be written out! DJGPP does not take care of paging; CWSDPMI or whatever you use does. CWSDPMI doesn't know about where your code came from (it shouldn't have to), so it just pages in and out, regardless. You can't easily page in from the binary file due to the fact that the binary file itself is not executable; it has to be relocated and all that. Regards, ABW -- I have become... Comfortably numb... Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk http://www.hardcafe.co.uk/Alaric/