🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: 80286 protected mode programming

#1743
From: Naji Mouawad
Date: Tue, 31 Jul 1990 02:42
23 lines
1674 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.  

I don't get it. If you set the processor in protected mode, you kill
Dos (Are you using Dos ?) and unless you use fancy tricks as the ones used
by Windows and the like, any interrupt service will not be carried away 
by DOS. Thus, you're program won't be able to read a file or send a
character to the printer etc...

Unless you have an operating system that supports the protected mode,
you can't do much of it... but then again, I may be wrong.

-- 
         ---------------+-------------------------------------------
        | Naji Mouawad  |       nmouawad@water.uwaterloo.edu        |
        |  University   |-------------------------------------------|
        | Of Waterloo   | "Thanks God, we cannot prove He Exists."  |
Technical Details
Message-ID: <1990Jul31.024249.1328@water.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!psuvax1!rutgers!att!watmath!maytag!aftermath!water!nmouawad
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!cs.utexas.edu!uwm.edu!psuvax1!rutgers!att!watmath!maytag!aftermath!water!nmouawad
From: nmouawad@water.waterloo.edu (Naji Mouawad)
Newsgroups: comp.os.msdos.programmer
Subject: Re: 80286 protected mode programming
Message-ID: <1990Jul31.024249.1328@water.waterloo.edu>
Date: 31 Jul 90 02:42:49 GMT
References: <BIANCO.90Jul30163028@daffodil.cs.odu.edu>
Distribution: comp
Organization: University of Waterloo
Lines: 23