Mail Archives: djgpp/1995/06/28/13:16:10
> a.out into an .exe file by prepending go32.exe . If compiled without -g, the
> resulting .exe file is 520953 bytes long, but when I call the DOS command `MEM
> /C' from inside the program it says that the program as loaded (presumably
> including go32.exe) occupies only 131584 bytes of conventional memory (and no
130KB is the usual go32 low-memory footprint (it indeed is larger than its image
on disk). Everything else (EMS/XMS) is paged out by go32 when you spawn mem /c,
so you don't see it. (If you really want to see that extended memory, you can
stubedit your program to not be paged out.)
- Raw text -