🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #43034

Re: Help on protect mode programming

#43034
From: Kjeld Flarup
Date: Sun, 25 Feb 1990 14:44
15 lines
1240 bytes
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
Technical Details
Message-ID: <1990Feb25.144447.12774@iesd.auc.dk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!dkuug!iesd!kjeld
References: <6830@ucdavis.ucdavis.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!dkuug!iesd!kjeld
From: kjeld@iesd.auc.dk (Kjeld Flarup)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Help on protect mode programming
Keywords: protected mode, 386, os
Message-ID: <1990Feb25.144447.12774@iesd.auc.dk>
Date: 25 Feb 90 14:44:47 GMT
References: <6830@ucdavis.ucdavis.edu>
Reply-To: kjeld@iesd.auc.dk (Kjeld Flarup)
Organization: Mathematics & Computer Science, University of Aalborg
Lines: 15