From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: real mode & protected mode Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 51 X-Trace: +4MVL9b2+1T+D6CUg3AJJII2B62+TyLKT1HovAfFQb7mNL+owEdAA+IphYzDjbfu7kCYTOYr3o21!iLwResFGRK0lHn2y7uNJCZX62aG9qDLj1vVrkJd4gl/5VtjJV88tNzphY6ksEK8vZrS0zCET3xwq!KJ7L+no= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 22 Feb 2000 17:29:04 GMT Distribution: world Date: Tue, 22 Feb 2000 17:29:04 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 22 Feb 2000 20:47:40 +0600 (LKT), Kalum Somaratna aka Grendel wrote: >What I wanted to comment about was that the loadall insn is a very >powerful insn and that 32 bit real mode are posiible if loadall is used. >If needed I can provide the details on how to do this but it is a bit >lengthy and complex... There's another way: go protected, set all segments'limits to 4 GB, go real. This works on some x86 chips. >> The 286 and 386 have LMSW that can switch to real or protected mode. The >> switch took place by setting some flags in the CMOS and some >> manipulations which was d amn slow. > ^^^^^^ BTW I had to put a space between the >highlighted words since the DJ's email gateway rejected the reply saying >"offensive language not allowed". Thats the second time this hapenned to >me and through no fault of my own too. Sorry for mentioning this but this >mail filter is really annoying. You can: 1. say d4mn, $#!+, @$$, etc. 2. use net: http://www.deja.com/ then comp.os.msdos.djgpp Followups will be threaded properly if you use net news. >> > So to avoid this timeconsuming mode switch 286 programmers used the >> > 286 loadall insn to access >1MB memory. >> >> Not ordinary programs. The BIOSes manily used this. Since the BIOS has to > >Actually the BIOS of 386 and above were designed to emulate the 286 >loadall since the large number of programs that used it. AFAIK RAMDRIVE, >OS/2 all use/d loadall. Did they fail on 486 and up? >Grendel > >Hi, I'm a signature virus. plz set me as your signature and help me spread >:) My virus is sneakier. -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your .sig to prevent the spread of .sig viruses. http://www.mcafee.com/