Mail Archives: djgpp/1997/08/08/00:24:15
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.
- Raw text -