🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1789

Re: 80286 protected mode programming

#1789
From: ganter
Date: Sun, 05 Aug 1990 02:16
16 lines
1300 bytes
In article <BIANCO.90Jul30163028@daffodil.cs.odu.edu>, bianco@cs.odu.edu (David J. Bianco) writes:
> How does one kick the 286 chip into protected mode? I'm using TC++ (but
> only, as of yet, in TC mode, not TC++ mode), and was hoping to get out
> of this segmented architecture via the protected mode. Since I dont
> really care if my program will run in the background of a multitasker
> or anything, I thought this would be a good solution.  

quite complicated without any BIOS-listing. Try to get a IBM-AT Technical
Reference Manual Vol.1, there You find the complete BIOS-listing, useful 
anyway. 
You have to prepare some tables (GDT,IDT,etc.) to switch to protected
mode. And then you have to care about protection violation caused by improper
linking, and so on ... 
Use the technical reference and a good book on the 286.

Robert
Technical Details
Message-ID: <1990Aug5.031650.860@urz.unibas.ch>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uunet!mcsun!cernvax!chx400!urz.unibas.ch!ganter
References: <BIANCO.90Jul30163028@daffodil.cs.odu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uunet!mcsun!cernvax!chx400!urz.unibas.ch!ganter
From: ganter@urz.unibas.ch
Newsgroups: comp.os.msdos.programmer
Subject: Re: 80286 protected mode programming
Message-ID: <1990Aug5.031650.860@urz.unibas.ch>
Date: 5 Aug 90 02:16:50 GMT
References: <BIANCO.90Jul30163028@daffodil.cs.odu.edu>
Distribution: comp
Organization: University of Basel, Switzerland
Lines: 16