Re: Real mode int from protected mode and back Opções
- From: japheth <mail@xxxxxxxxxx>
- Date: Thu, 21 Feb 2008 23:08:20 -0800 (PST)
.text:000CF2B9 mov bp, ax ; I
need the save ax
as argument to the int...
I
really don´t know if I could do this
it's useless because ...
.text:000CF2C8 mov ebx, 61h
.text:000CF2CD mov ecx, 0
.text:000CF2D2 mov edi, offset word_118F10 ;
also
taken from the code
.text:000CF2D7 mov ax, 300h
.text:000CF2DB int 31h ; DPMI
the int 31h, ax=300h will load the registers from a structure which
ES:EDI point to.
Since your real-mode int 61h handler apparently just needs e/ax and e/
dx and no segment registers, there's no need at all to use the DPMI
int 31h to execute an int 61h. Just fill eax and edx and call the int
61h directly in protected-mode. The DPMI host will automatically route
it to real-mode.
.
- Follow-Ups:
- Re: Real mode int from protected mode and back Opções
- From: gerotica
- Re: Real mode int from protected mode and back Opções
- References:
- Real mode int from protected mode and back Opções
- From: gerotica
- Real mode int from protected mode and back Opções
- Prev by Date: Re: for the close of all fission nuclear reactor in the world
- Next by Date: Re: for the close of all fission nuclear reactor in the world
- Previous by thread: Real mode int from protected mode and back Opções
- Next by thread: Re: Real mode int from protected mode and back Opções
- Index(es):
Relevant Pages
|