Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

INT 15.87 in protected mode (Developers)

posted by Japheth Homepage, Germany (South), 31.08.2011, 10:11

> Okay, it's just confusing, esp. as (obviously) I have little to no
> experience with the innards of pmode.

Why are you making guesses if you have no experience in the matter? To show the OP that somebody cares about his/her issues? I'm aware that Americans have a strong believe in the power of words, but it shouldn't be exaggerated THAT much, IMO. :-D

> int 31h, 300h -> CWSDPMI switches back to real mode
> int 31h, 300h -> HDPMI32 switches to V86 mode
> int 31h, 300h -> Windows (which?) switches to V86 mode

If the DPMI host runs as VCPI client, it will switch "back" to v86-mode ( hopefully using the VCPI API ), because anything else will cause disaster. I don't think that cwsdpmi or hdpmi differ in this regard.

> But does Windows even truly call int 15h? I doubt it. I'm pretty sure it
> doesn't call the "real" BIOS.

A v86-monitor program - and NTVDM is such a type of program, although it runs in non-privileged mode and hence needs the help of the OS for a few tasks - will always emulate int 15h.87h. The memory functions ( int 15h.88h, ... ) are sometimes also intercepted. However, the rest of Int 15h may be called "really".

---
MS-DOS forever!

 

Complete thread:

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