Xref: utzoo comp.sys.ibm.pc.misc:8265 comp.sys.ibm.pc.programmer:2613 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!cf-cm!rhl From: rhl@computing-maths.cardiff.ac.uk (Robert Hartill) Newsgroups: comp.sys.ibm.pc.misc,comp.sys.ibm.pc.programmer Subject: Code to change from real mode to protected mode (386) Message-ID: <1991Apr4.140649.27253@cm.cf.ac.uk> Date: 4 Apr 91 14:06:49 GMT Sender: rhl@computing-maths.cardiff.ac.uk (Robert Hartill) Reply-To: rhl@computing-maths.cardiff.ac.uk (Robert Hartill) Followup-To: comp.sys.ibm.pc.programmer Organization: University of Wales College of Cardiff, Cardiff, WALES, UK. Lines: 29 Can someone send (e-mail) me some code to switch to protected mode on a '386 I'm not bothered about returning to real-mode, or returning to DOS, 'cos I don't intend doing so. Commented code would be appreciated. ------ While I'm here, has anyone had any success writing protected mode programs using Zortech DOS 386, that DON'T use the Phar Lap Dos Extender.. - I'm trying to do this, I won't make use of any library routines, or the memory management system. I'm writing an operating system. I can get 32-bit / '386 code, which needs the Extender, I've managed to *cut* my code out of the .EXP file, and make it into a .COM file, but then it runs in REAL-MODE. (Hence my request for switching code) Can anyone suggest a better method ? (No 'use another compiler' type replies please) Thanks in advance robert. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Robert Hartill, Dept Of Computing Mathematics, UWCC, Cardiff, UK. :: :: e-mail : rhl@cm.cf.ac.uk Fax : 0222 666182 :: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: A verbal contract isn't worth the paper it's written on. -Samuel Goldwyn. -------------------------------------------------------------------------------