From: "Stefan Viljoen" Newsgroups: comp.os.msdos.djgpp Subject: Re: Program too large? Date: Tue, 28 Sep 1999 07:22:25 +0300 Organization: The South African Internet Exchange Lines: 41 Message-ID: <7spk5n$3nv$4@ctb-nnrp2.saix.net> References: <7sovfd$fj4$1 AT news6 DOT svr DOT pol DOT co DOT uk> NNTP-Posting-Host: pc36-01-p15.nt.saix.net X-Trace: ctb-nnrp2.saix.net 938497015 3839 155.239.194.15 (28 Sep 1999 05:36:55 GMT) X-Complaints-To: abuse AT saix DOT net NNTP-Posting-Date: 28 Sep 1999 05:36:55 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Tom Morton wrote in message news:7sovfd$fj4$1 AT news6 DOT svr DOT pol DOT co DOT uk... > > Eli Zaretskii wrote in message > news:Pine DOT SUN DOT 3 DOT 91 DOT 990927190441 DOT 10981D-100000 AT is... > > > > On Mon, 27 Sep 1999, Tom Morton wrote: > > > > > I was happily writing my DJGPP/Allegro game, blissfully unaware > > > that it was approaching my computers maximum conventional memory. > > > The game's .exe file is now 560Kb and no longer runs, reporting: > > > > > > Program too big to fit in memory > > > > The size of the executable has nothing to do with how much conventional > > memory it uses up. DJGPP programs usually need about 70KB of > > conventional memory, the rest goes into extended memory. The error > > message you cite is printed by DOS, but DOS doesn't even know how much .snip . > > So your problem is NOT with the size of .exe, it is somewhere else. Most > > probably, you made some mistake when compiling your program. So > > describing how exactly did you compile and link the program, including > > the command line and any switches you used, would be a good beginning. > > The last thing I did before it stopped working was add an extra function > to main.c. I tried re-compiling it but it still didn't work so I moved it What exactly did you try to do in this function you refer to... -- This message courtesy of RylanNet rylan AT intekom DOT co DOT za http://home.intekom.com/rylan/ -- StarWars for ever!.