Re: Real mode int from protected mode and back
- From: pete <spamtrap@xxxxxxxxxx>
- Date: Wed, 27 Feb 2008 05:37:21 +0000 (UTC)
In article <8f8441cd-8088-4b51-b74e-23c421429a51@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
spamtrap@xxxxxxxxxx "gerotica " writes:
I made the int 61h call directly from the code, without DPMI 31h 300h.
Worked fine. I couldnt believe it. Even the file routines are ok. I
can log outs and ins and maniulate them as i want.
Now the only problem I have is to pass the in result to the main
application through ax. I think you all already know the problem...
pop ax before iret would destroy it.
[snip ISR code]
If you are the only guy invoking int 61h (which I suspect is the
case) simply _don't_ push/pop AX in your handler. You will be
expecting AX to have changed anyway.
Pete
--
"We have not inherited the earth from our ancestors,
we have borrowed it from our descendants."
.
- Follow-Ups:
- Re: Real mode int from protected mode and back
- From: gerotica
- Re: Real mode int from protected mode and back
- References:
- Real mode int from protected mode and back
- From: gerotica
- Re: Real mode int from protected mode and back
- From: gerotica
- Real mode int from protected mode and back
- Prev by Date: Re: Seg fault with hla 1.99 on Fedora 8 linux
- Next by Date: Re: Jumping into middle of instruction
- Previous by thread: Re: Real mode int from protected mode and back
- Next by thread: Re: Real mode int from protected mode and back
- Index(es):