delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/25/01:16:31

Date: Fri, 24 Oct 1997 22:13:06 -0700 (PDT)
Message-Id: <199710250513.WAA07720@adit.ap.net>
Mime-Version: 1.0
To: Les Duchemin <pentag AT microtec DOT net>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Need information !!!

At 11:30  10/23/1997 -0400, Les Duchemin wrote:
>I Had conpile prog. with just
>main()
>{
> return 0;
>}
>
>and the size of the EXE was 61 768 bytes.......
>It is normal ??
Yes. See FAQ 8.15 for reasons why and how to make it smaller.
>
>Also...
>Do the compiler is absolutely obligate to make protected mode program!!
Yes. You can't build your program without a compiler. (Unless it's written
entirely in assembly, or something...)
>if Yes please :
>- I want know the advantages..
Advantages of protected mode? Basically:
- Direct access to large amounts of memory and swap space (up to 256M with
current CWSDPMI version)
- Bugs in your program cannot damage the system, and will be caught by the
hardware and you can find out. (NULL pointer derefences, etc.)
>- And I need help on DPMI if it have bigs advantages...
DPMI is an interface into protected mode from DOS. It's a fairly standard
interface and doesn't need a DOS extender, so DJGPP uses it.

I hope I answered your questions. If not, sorry, maybe explain them in more
detail.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019