Date: Fri, 08 Aug 1997 15:43:08 +1100 From: Bill Currie Subject: Re: Use of ALLEGRO and DJGPP on a 386sx? In-reply-to: <33ea3a69.684447@news.demon.co.uk> To: gary_cowell AT mickley DOT demon DOT co DOT uk, djgpp AT delorie DOT com Message-id: <199708080347.PAA09763@teleng1.tait.co.nz gatekeeper.tait.co.nz> Organization: Tait Electronics Limited MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Comments: Authenticated sender is Precedence: bulk On 7 Aug 97 at 21:22, Gary Cowell (QI'HoS wrote: > The thing is - I am developing on my (development :)) machine but > the target machine is a kindly donated 386sx-20 with 2mb of extended > memory. The question is this, will the executable run on this > configuration with a DPMI manager?? The screen is bog standard VGA > but im only using 640x480 16 colour anyhow. Do i need any special > compiler options (other than -i386) to compile this to run on the > 386?? Does the lack of a math chip matter - does this need > emulators/compile options to get round?? I wont be doing any > floating point in my code, but I dont know what allegro does > internally. Allegro works just fine on my 386dx33 with 12M. A bit over-specced compared to what you have, I know, but other than the memory, Allegro will work. It's just a matter of how much memory Allegro locks (Shawn, help!). Allegro 1.x wouln'd work when I had 4M, but 2.x is better designed, so it might work with 2M if all extended memory is free (no disk cache or ram disk etc). As the co-pro's etc, I believe Allegro doesn't use fp unless you tell it to (3d functions is one example). Oh, and -m386 is not really needed, as -m486 and -m386 only affect optimisations (and alignments). Code compiled with one switch will work on the other cpu. Hope this helps Bill -- Leave others their otherness.