So I finally got B-em compiling with Visual Studio 2010
That was arduous!
It the end I had to compile it with these extra libraries:
allegro-4.2.3
freealut-1.1.0
openal 1.1
zlib 1.2.3
And the exe now runs although al_findfirst() failed and appeared to return garbage - I don't know why....
I hardwired the code in the meantime:
Code: Select all
void mem_loadswroms()
{
FILE *f;
int c = 15;
struct al_ffblk ffblk;
// memset(rom,0,16*16384);
f = fopen("BASIC.ROM", "rb");
fread(rom + (c * 16384), 16384, 1, f);
fclose(f);
romused[c] = 1;
c--;
f = fopen("DFS-0.9.ROM", "rb");
fread(rom + (c * 16384), 16384, 1, f);
fclose(f);
romused[c] = 1;
c--;
return;
Am I using the correct versions of the libraries?
Anyone else get it compiling?
Thanks for any help
-PJ