With DPMI into protect mode and back | physical memory (Developers)
> > 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:
- With DPMI into protect mode and back - Laaca, 13.08.2010, 10:36 ![Open in board view [Board]](img/board_d.gif) ![Open in mix view [Mix]](img/mix_d.gif) - With DPMI into protect mode and back - EDIT: example - ecm, 13.08.2010, 14:30- With DPMI into protect mode and back - EDIT: example - DOS386, 26.08.2010, 09:18- With DPMI into protect mode and back - EDIT: example - ecm, 26.08.2010, 14:35- With DPMI into protect mode and back - EDIT: example - DOS386, 27.08.2010, 03:33- With DPMI into protect mode and back - EDIT: example - ecm, 30.08.2010, 21:51- With DPMI into protect mode and back | physical memory - DOS386, 06.09.2010, 20:08- With DPMI into protect mode and back | physical memory - ecm, 07.09.2010, 17:04- With DPMI into protect mode and back | physical memory - DOS386, 08.09.2010, 00:51- With DPMI into protect mode and back | physical memory - ecm, 08.09.2010, 20:53- With DPMI into protect mode and back | physical memory - DOS386, 11.09.2010, 01:02- With DPMI into protect mode and back | physical memory - ecm, 11.09.2010, 01:25
 
 
- With DPMI into protect mode and back | physical memory - DOS386, 11.09.2010, 01:02
 
- With DPMI into protect mode and back | physical memory - ecm, 08.09.2010, 20:53
 
- With DPMI into protect mode and back | physical memory - DOS386, 08.09.2010, 00:51
 
- With DPMI into protect mode and back | physical memory - ecm, 07.09.2010, 17:04
 
- With DPMI into protect mode and back | physical memory - DOS386, 06.09.2010, 20:08
 
- With DPMI into protect mode and back - EDIT: example - ecm, 30.08.2010, 21:51
 
- With DPMI into protect mode and back - EDIT: example - DOS386, 27.08.2010, 03:33
 
- With DPMI into protect mode and back - EDIT: example - ecm, 26.08.2010, 14:35
 
- With DPMI into protect mode and back - EDIT: example - DOS386, 26.08.2010, 09:18
- With DPMI into protect mode and back - Japheth, 18.08.2010, 08:04- With DPMI into protect mode and back - Japheth, 18.10.2010, 11:17- With DPMI into protect mode and back - Rugxulo, 18.10.2010, 23:07- With DPMI into protect mode and back - Japheth, 19.10.2010, 09:58- With DPMI into protect mode and back - Rugxulo, 19.10.2010, 10:09- With DPMI into protect mode and back - Japheth, 19.10.2010, 10:20
 
- Possible CWSDPMI design flaw - Japheth, 19.10.2010, 17:59
 
- With DPMI into protect mode and back - Rugxulo, 19.10.2010, 10:09
 
- With DPMI into protect mode and back - Japheth, 19.10.2010, 09:58
 
- With DPMI into protect mode and back - Rugxulo, 18.10.2010, 23:07
 
- With DPMI into protect mode and back - Japheth, 18.10.2010, 11:17
 
- With DPMI into protect mode and back - EDIT: example - ecm, 13.08.2010, 14:30
 Board view
Board view Mix view
Mix view

