Saved Bookmarks
| 1. |
Solve : how to develop a protected mode TSR under DPMI 0.9?? |
|
Answer» hello everyone , DOS protected mode interfaceSorry I can not help you. Why can you not use the 1.0 version? DPMI 1.0 Programming API Specfication http://www.delorie.com/djgpp/doc/dpmi/ I wish I could use DPMI 1.0,but there is some limit.I hate the limit.But thank you also the same.who can help me!!!!!If anybody wants to know more about this: http://en.wikipedia.org/wiki/DOS_Protected_Mode_Interface DPMI still works. But most modern programing with use DiretcX or something like that.Finally I found a way,but I can't quite UNDERSTAND it.First you should install the interrupt using function 0204h of int 31h,then keep the programe to stay resident using function 31h of int 21h.But I didn't know how to decide the size.The return code has been MADE to be zero. My question is that my TSR runs under protected mode .But the int 21h runs under real mode,can it read or wirte the memory of protected mode?Wish I knew the ANSWER. What little I have read seems to say you don't worry about it, that is what DPMI does. Here is a site that has a good but brief collection of tools for hard core low-level programming. The article does not directly cover you question, but maybe it sheds some LIGHT on what you can do with a DPMI program. http://www.thefreecountry.com/programming/dosextenders.shtml Scroll down the PAGE at take a look at CSDPMI DPMI Host. |
|