Re: Switch from protected mode to real mode
- From: Herbert Kleebauer <klee@xxxxxxxxx>
- Date: Sun, 24 Feb 2008 10:53:11 +0100
gerotica wrote:
Ok... let´s keep it simple...
How can I call my int 61h from a protected mode 32-bit program, and
inside the isr go to real mode again, do file ops and return to
protected mode before returning to the program?
Why do you multi-post to so many groups? Better cross-post
so the reader of one group can also see the replies made in
other groups.
Are you sure you asking the correct questions?
Why do you want to call your subroutine by an INT
instruction instead of an "CALL" instruction? When you
use the call, you don't have to modify the interrupt
table.
Why do you want to switch to real mode? Write your
subroutine as protected mode routine and "call" it.
Why do you want to do file io? Write your data to the
serial or parallel port (only a few io instruction, no
support of an OS needed) and use a second PC to store
the sent data stream.
.
- Follow-Ups:
- Re: Switch from protected mode to real mode
- From: gerotica
- Re: Switch from protected mode to real mode
- References:
- Switch from protected mode to real mode
- From: gerotica
- Switch from protected mode to real mode
- Prev by Date: Re: Encrption Challenge
- Next by Date: Re: Switch from protected mode to real mode
- Previous by thread: Switch from protected mode to real mode
- Next by thread: Re: Switch from protected mode to real mode
- Index(es):
Relevant Pages
|