Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

With DPMI into protect mode and back | physical memory (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 07.09.2010, 17:04

> > Using RM callbacks (which I did use too, but that's not
> > the point) doesn't properly remove the "DPMI process"
> > or "context", so you're not really back.
>
> There is so-called "raw" switch...

What's it do with the "DPMI process" or "context"? Nothing. And that's not better than the callback method, that's worse, because I want those to be properly removed.

> Right, but it may be useful to execute external dangerous code in a
> separate process on any OS.

True.

> > and going into PM on your own works with an EMM, XMM or DPMI host
> installed.
>
> RightWrong, it neither works with any EMM nor with some XMMs and DPMI hosts.

Yeah, that's what I meant.

> BTW, how do you hogallocate or map physical memory in DPMI???

Maybe Int31.0508 (DPMI 1.0)? Otherwise, Int31.08 (DPMI 0.9+). As I understand it, you have to allocate an XMS memory block first and lock that, then access it with the linear address Int31.0800 returns.

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 178 users online (0 registered, 178 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum