🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Wanted: Example of starting up protected mode

#2879
From: Stuart_Jefferson_Adams
Date: Thu, 01 Nov 1990 03:59
17 lines
1169 bytes
I want to write a program which has direct access to all of the memory in
my 286. Can someone send me an example of how to jump into protected mode
(setting up the GDT entries for say 2 Megs worth of segments). I assume
that once this is done, I may have to do some fixing up of segment references
in my program ??? but other that this can I just execute as normal and upon
exit drop back into real-mode ???

Thanks,

Stuart Adams

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Stuart Adams                    stuart@cup.portal.com +
+ 1036 Fellsway                                         +
+ Medford MA 02139                                      +
+ 617-258-2257                                          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Technical Details
Message-ID: <35461@cup.portal.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!portal!cup.portal.com!Stuart_Jefferson_Adams

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!portal!cup.portal.com!Stuart_Jefferson_Adams
From: Stuart_Jefferson_Adams@cup.portal.com
Newsgroups: comp.os.msdos.programmer
Subject: Wanted: Example of starting up protected mode
Message-ID: <35461@cup.portal.com>
Date: 1 Nov 90 03:59:54 GMT
Organization: The Portal System (TM)
Lines: 17