[comp.sys.ibm.pc] Help on protect mode programming

ez004543@pollux (02/23/90)

Is anyone out there know how to switch interrupt table from real mode
to protected mode in a 386? Since interrupt table is in "relative" form
what can I do to make sure the "right" bios function is called by either
the hardware or software interrupt/

Thanx.
Alan
_________________
The Computer Scum Bag of the '90s
UC Davis 

kjeld@iesd.auc.dk (Kjeld Flarup) (02/25/90)

In article <6830@ucdavis.ucdavis.edu> ez004543@pollux () writes:
>Is anyone out there know how to switch interrupt table from real mode
>to protected mode in a 386? Since interrupt table is in "relative" form
>what can I do to make sure the "right" bios function is called by either
>the hardware or software interrupt/

No problem just adjust to 32bit adresses, remember the 4 bit overlap on 8086
segmentation.

But why bother. Your interrupt entry points is probably expection to be called
in real mode. Thus you just intercept all 256 interrupts, switch to real mode
and use the original table.
-- 
*     I am several thousand pages behind my reading schedule.    *
Kjeld Flarup Christensen                         kjeld@iesd.auc.dk