🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #8636

BIOS & 80286 Protected Mode

#8636
From: Kenneth R. Ballou
Date: Fri, 31 Oct 1986 03:42
33 lines
2131 bytes
In article <277@puff.wisc.edu> plocher@puff.WISC.EDU (John Plocher) writes:
>Notes from other messages:
>>And, as I type this, my keystrokes are being processed by those very same
>>BIOS ROMs, although my machine is running multiuser Xenix, not PC-DOS.
>
>    WRONG!
>
>      If you are using XENIX, your keystrokes are NOT going through
>      any ROM routines - in fact, the ROMs are ONLY used at boot time
>      to determine HARD DISK parameters.
>
>      The Xenix device drivers are totally seperate from any of the
>      ROM BIOS routines!
>
>      (this info relates to MicroSoft/IBM Xenix 2.0 (SVR2ish) only)

In fact, there is just no way one could use BIOS in 80286 protected mode.
The point is that the contents of segment registers meansquite different
things in protected and in real mode.  The BIOS assumptions about how it
can use segment registers would almost certainly cause protection violations
in protected mode.

For example, a common technique used to avoid changing the DS and ES registers
is to put data in the code segment (obviously, this is not true in ROM, but
is used in device drivers, for example) and to use a CS segment override.
This will cause an exception in protected mode, since the processor makes
a distinction between code segments and data segments.

---
Kenneth R. Ballou		...!ucbvax!cartan!brahms!ballou
Dept. of Mathematics
University of California
Berkeley, California  94720
Technical Details
Message-ID: <154@cartanBerkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!cartan!brahms!ballou
References: <985@husc2.UUCP> <394@catnip.UUCP> <4058@amdahl.UUCP> <404@catnip.UUCP> <277@puff.wisc.edu>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!cartan!brahms!ballou
From: ballou@brahms (Kenneth R. Ballou)
Newsgroups: net.micro.pc
Subject: BIOS & 80286 Protected Mode
Message-ID: <154@cartanBerkeley.EDU>
Date: Thu, 30-Oct-86 22:42:46 EST
Article-I.D.: cartanBe.154
Posted: Thu Oct 30 22:42:46 1986
Date-Received: Fri, 31-Oct-86 14:12:22 EST
References: <985@husc2.UUCP> <394@catnip.UUCP> <4058@amdahl.UUCP> <404@catnip.UUCP> <277@puff.wisc.edu>
Sender: daemon@cartanBerkeley.EDU
Reply-To: ballou@brahms (Kenneth R. Ballou)
Organization: Math Dept. UC Berkeley
Lines: 33
Keywords: 80286, BIOS