Xref: news-dnh.mv.net comp.os.msdos.djgpp:1003 rec.games.programmer:23579 Path: news-dnh.mv.net!mv!news.sprintlink.net!news.telalink.net!news From: potomacg AT nashville DOT net (Mike Jackson) Newsgroups: comp.os.msdos.djgpp,rec.games.programmer Subject: Re: Trapping access to memory... Date: 19 Jul 1995 20:48:58 GMT Organization: Telalink Lines: 26 References: <3uivoo$kql AT kannews DOT ca DOT newbridge DOT com> Reply-To: potomac2 AT nashville DOT net Nntp-Posting-Host: netblazer1-s17.telalink.net To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp In article <3uivoo$kql AT kannews DOT ca DOT newbridge DOT com>, woodward AT Newbridge DOT COM (Mark Woodward) says: > > >I was wondering if anyone can point me in the right direction on this.. >What I want to do is trap access to a small chunk of memory. I'm currently >doing it by a compare in the routine that writes to memory. About 90% of >the accesses are straight read or writes, the other 10% require a 'side >effect' after the read or write. I feel that doing the range check in the >routine when 90% of the time it doesn't need it is pretty inefficient. >So is it possible to set up an exception for the chunk I want the 'side affect' >to be executed ala djgpp's vga page handler. >I looked at the src to go32 but I'm hoping I don't have to change anything in >there. >The docs for djgpp don't really help much, any other sources of info? > >Thanks, >Mark > >-- > Mark C.R Woodward woodward AT newbridge DOT com > >Relax, Dont worry... Load up Linux Real computers dont run MS-DOS Depending if this is in 386 mode (either protected or dos extender), then you can use Soft-ice or Soft-ice for WIndows.