Compiling Atomulator on windows....

discussion of games, software, hardware & emulators relating to the Acorn Atom and Acorn System machines.
Post Reply
Prime
Posts: 2717
Joined: Sun May 31, 2009 11:52 pm
Contact:

Compiling Atomulator on windows....

Post by Prime » Thu May 31, 2012 9:37 am

What do I need to be able to build Atomulator on windows ?

I'm guessing MinGW and Allegro, but what specific versions ? and do I need anything else ?

Cheers.

Phill.

User avatar
SarahWalker
Posts: 1170
Joined: Fri Jan 14, 2005 3:56 pm
Contact:

Re: Compiling Atomulator on windows....

Post by SarahWalker » Thu May 31, 2012 11:28 am

You need MingW, Allegro 4.x, Zlib, OpenAL and ALut.

Prime
Posts: 2717
Joined: Sun May 31, 2009 11:52 pm
Contact:

Re: Compiling Atomulator on windows....

Post by Prime » Thu May 31, 2012 1:57 pm

It also specifically seems to need version 1.2.5 of zlib, apparently some of the zlib interfaces changed after that which has broken compatibility with Atomulator (and prolly b-em too), uef.c seems to be the file affected.

Having installed everything I can get all the c files to compile, but it fails on linking :-

Code: Select all

$ make
gcc.exe 6502.o 6522via.o 8255.o 8271.o atom.o config.o csw.o ddnoise.o debugger.
o disc.o fdi.o fdi2raw.o soundopenal.o ssd.o uef.o video.o win.o win-keydefine.o
 atom.res -o "Atomulator.exe" -mwindows -lalleg -lz -lalut -lopenal32 -lwinmm
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -lalleg
collect2: ld returned 1 exit status
make: *** [Atomulator.exe] Error 1
I used a pre-compiled version of allegro from here :

http://www.allegro.cc/files/?v=4.4

specifically : http://static.allegro.cc/file/library/a ... -4.5.2.zip

Cheers.

Phill.

User avatar
SarahWalker
Posts: 1170
Joined: Fri Jan 14, 2005 3:56 pm
Contact:

Re: Compiling Atomulator on windows....

Post by SarahWalker » Thu May 31, 2012 2:30 pm

Rename the liballegro-*.a file of your choice to liballeg.a.

Prime
Posts: 2717
Joined: Sun May 31, 2009 11:52 pm
Contact:

Re: Compiling Atomulator on windows....

Post by Prime » Thu May 31, 2012 2:38 pm

TomWalker wrote:Rename the liballegro-*.a file of your choice to liballeg.a.
Bingo that did it. thanks for the speedy responses Tom.

do you have any problem with me hacking support for my rombox (and Charlie's MMC) into Atomulator ?

Cheers.

Phill.

User avatar
SarahWalker
Posts: 1170
Joined: Fri Jan 14, 2005 3:56 pm
Contact:

Re: Compiling Atomulator on windows....

Post by SarahWalker » Thu May 31, 2012 5:34 pm

No problem, it's not an emulator I'm interested in anymore.

Post Reply