| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| Message-ID: | <434f63a6$0$180$cc7c7865@news.luth.se> |
| From: | Martin Str|mberg <ams AT speedy DOT ludd DOT ltu DOT se> |
| Subject: | Re: Need to hook INT 21h from a DJGPP TSR |
| Newsgroups: | comp.os.msdos.djgpp |
| References: | <cone DOT 1128591471 DOT 368325 DOT 13774 DOT 0 AT digisoft> <di47pc$lfa$1 AT sadr DOT dfn DOT de> <cone DOT 1128678305 DOT 262815 DOT 30667 DOT 0 AT digisoft> <di6nfr$8bl$1 AT sadr DOT dfn DOT de> <di6ouv$8to$1 AT sadr DOT dfn DOT de> <di72gs$clu$1 AT sadr DOT dfn DOT de> <1128790995 DOT 160422 DOT 143560 AT g44g2000cwa DOT googlegroups DOT com> <di97nk$5nc$1 AT sadr DOT dfn DOT de> |
| User-Agent: | tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha)) |
| Date: | 14 Oct 2005 07:52:06 GMT |
| Lines: | 22 |
| NNTP-Posting-Host: | speedy.ludd.ltu.se |
| X-Trace: | 1129276326 news.luth.se 180 130.240.16.13 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Rod Pemberton <donthave AT noreply DOT bit> wrote: > That's probably the problem. The following code shows how to work > around it for int 0x21,ax=0x4b00 to ax=0x4b05. Like I stated > before it works for PMODE/DJ w/RM and PM apps. For CWSDPMI, it > only works for RM apps, giving the "Page Fault ... in RMCB" for PM > apps. I don't know exactly what memory needs to be locked for > CWSDPMI. 1. It's a good idea to post the whole error message. 2. As you're setting _CRT0_FLAG_LOCK_MEMORY in _crt0_startup_flags, that can't happen. I. e. getting a page fault while you have all your process' memory locked. So something is wrong. (But where?) 3. Does you program work with CWSDPMR0? 4. Which version of CWSDPMI? Right, MartinS
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |