[comp.os.msdos.programmer] Wanted: Example of starting up protected mode

Stuart_Jefferson_Adams@cup.portal.com (11/01/90)

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                                          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++