Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

MPXplay under CWSDPMI (Users)

posted by Mpxplay, 28.10.2010, 15:01

> > I don't do anything with DPMI in my own source. I already have the
> 32-bit
> > dpmi environment at (before) the first line of my code.
>
> Who says it's using DPMI? It could be using raw, XMS, EMS/VCPI instead.
> DPMI is just an API, it's not the same as 32-bit pmode (esp. since DPMI can
> also be 16-bit, e.g. 286). VCPI existed for a while before DPMI (Win 3.0).
> Old "WIN.COM /S" (standard mode) was the only way to get VCPI in Windows,
> and that's long since been abandoned.

As I said, there's no any special switch-to-32bit-mode code in my own (Mpxplay) source, because of this I also don't know too much about that, how the dos4g.exe works.
Maybe somebody will correct me, but the DPMI (I mean the DPMI host) is not only an API, it also switches the CPU to 32-bit pmode (else the CPU runs in 16-bit real mode) before my code starts.
Maybe the selection of 16p or 32p depends on some compiler options, but I've never cared with the 16-bit pmode (and I don't think so that too many program use this mode).

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum