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 Rugxulo Homepage, Usono, 31.08.2011, 01:30

> > Hm, I tried it with cwsdpmi. Most probably with last version - r7.
> > I will try it with HDPMI32 too.
>
> cwsdpmi works as well. Why I know this? Because DEBUGX's DX command does
> exactly what you're trying to do - it calls Int 15h, ah=87h directly in
> real-mode and indirectly via int 31h, ax=300h in protected-mode. And the DX
> command works with cwsdpmi, hdpmi, Windows, ...

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

It's just hard to understand, esp. when you know CWSDPMI and HDPMI do things differently. And certainly Windows is a whole other ball of wax.

Corrections welcome, this is a guess (not looking it up right now, too busy) ...

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

But does Windows even truly call int 15h? I doubt it. I'm pretty sure it doesn't call the "real" BIOS. I'm pretty sure that most memory managers hide / "eat" int 15h anyways unless you're running raw (which isn't really the best choice, IMHO, to use DPMI).

 

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