* * * * *
It didn't take me quite as long this time
I decided to give Basilisk II [1] another try, given the proper files [2] for
Mac System 8 were available. The problem I had last time [3] appeared to be a
simple compiler problem [4], 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 HyperCard calculator and the System 7 calculator on System 8] [5]
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.
[1]
http://basilisk.cebix.net/
[2]
http://www.loper-os.org/?p=658
[3]
gopher://gopher.conman.org/0Phlog:2011/12/01.1
[4]
http://stackoverflow.com/questions/329059/what-is-gxx-personality-v0-for
[5]
gopher://gopher.conman.org/gPhlog:2011/12/06/color-mac.gif
Email author at
[email protected]