Tuesday, Debtember 06, 2011
It didn't take me quite as long this time
I decided to give Basilisk II another try, given the proper files
for Mac System 8 were available. The problem I had last time appeared to be a
simple compiler problem, and forcing the Makefile
to use
g++
got past that issue.
I then had to make a bazillion casts in one of the files, since
g++
didn't like the code:
../uae_cpu/gencpu.c:2422: error: invalid conversion from `unsigned int' to `amodes' ../uae_cpu/gencpu.c:2422: error: initializing argument 1 of `void genamode(amodes, char*, wordsizes, char*, int, int)' ../uae_cpu/gencpu.c:2422: error: invalid conversion from `unsigned int' to `wordsizes' ../uae_cpu/gencpu.c:2422: error: initializing argument 3 of `void genamode(amodes, char*, wordsizes, char*, int, int)'
It seems one cannot cast an unsigned bitfield to an enum in
g++
without a cast. There were only a bazillion locations to
change in that one file, but once done, I had Basilisk II running on my
Linux system.
A nice feature of Basilisk II is that it can mount a Unix directory as a
Mac “drive” so transferring files in and out of the virtual Macintosh is
very easy and I no longer need to use hfsutils
on disk
images.