Mail Archives: djgpp/2000/06/15/20:14:33.1
On Thu, 15 Jun 2000, Prashant TR wrote:
> The DPMI spec., AFAIK, never tells you that calls like "INT 10h" are
> passed to real mode. That's what the function "simulate real-mode
> interrupt vector" is for.
But Eli clarified and said that *all* interrupts are passed to real
mode..
IIRC the simulate real mode is really needed when you want to pass the
address of a buffer, ie to specify value for the segment registers...IMHO
it is no use if all one wants to do is to chage the screen resolution..ie
a simple int 10 in aassembly would do the trick...
> You also can't blame an extender for not passing INT 10h since you
> ought to be using the "right thing" to get the right results ;-).
Well a extender as it's name implies makes such operations *transparent*
to the user...all the extenders I know do a extrememly good job of
handling the segment registers etc during the DOS and BIOS function calls
it knows...for example it is possible to send a create directory request
under certain extenders with the buffer containing the text residing
completely in > 1mb memory...the extender copies the buffer to <1mb
changes the segment registers to appropriate values and executes the DOS
call..all tranparent to the user...magic indeed
Grendel
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)
- Raw text -