Mail Archives: djgpp/1999/05/18/19:35:25
El día 17 May 1999 23:29:30 GMT, rakz007 AT aol DOT com (Rakz007) escribió:
>Iam currently programming my first game in c using DJGPP and RHIDE.
>
>The graphics library iam using is Allegro.
>
>The problem is my exe size for the game is now 790k and its about 400k when i
>use the -s ( i think its -s!! :- )) . BUT when i run the game it has trouble
>loading in some of the bitmaps! And then crashes as well sometimes.
This has nothing to do with the file size: there are prabably bugs in
your code.
>Is there a limit to the exe size - i heard its 640k but can i go other that
>limit and could someone please explain to me how to do that - some one told me
>to use real/protected dos mode but i know nothing about that !
That exe size limit was for old real mode compilers (like earlier
versions of Turbo C / Borland C and the like). With DJGPP, you are
already working in protected mode, and thus, there is no limit to the
exe size (well, there is a limit, but I doubt your program will hit
it).
Regards,
GUILLE
----
Guillermo Rodriguez Garcia
XXguille AT XXiies DOT XXes (ya sabes :-)
- Raw text -