It’s been a while since I played with Philip Pemberton’s excellent emulator, however the source code has been moved to github…
As a nice bonus it’s been updated to build against the newer source drops of Karl Stenerud’s Musashi.
The Makefile is so nice it chains in c files from sub-directories to build, which unfortunately it doesn’t work so well with the latest Musashi. Like a bull charging into the China shop I just smashed together a build script, and got a working exe:
And it’s so nice to see it actually boot up.
Things like the C compiler still break, apparently the 6100 had an actual physical memory buffer for IPC? It’s all so confusing.
Not that mine is all that great but my crap fork is here:
what about with very latest musashi?
https://github.com/kstenerud/Musashi/compare/3e0547b1aeee199580a1da37be092fa79f401d31…6f04ba062ef4344157b4e6ea918acff6190caf94
it should be the latest one, dec 15 2019
https://github.com/kstenerud/Musashi/commit/6f04ba062ef4344157b4e6ea918acff6190caf94
m68kcpu.c has “Version 4.60“.
So it’s the latest version.
musashi folder in https://github.com/philpem/freebee/tree/master/src links to https://github.com/kstenerud/Musashi/tree/3e0547b1aeee199580a1da37be092fa79f401d31
which is not the latest.
Oh, got ya!
When I pulled the source down, I manually put the latest Musashi in there. I totally forgot about that as I remember now wondering why it wasn’t pointing to HEAD. Probably as the refactored softfloat thing breaks the nice top level Makefile?
At any rate, I’m using the latest version. The C compiler still breaks…. I haven’t tried running each stage individually, I suspect that may work as there won’t be any ‘pipes’ or shared memory scenarios. I think.
I was able to get cc working after much investigation and wracking my head. Turns out the issue was a 32-bit write that was straddling two mem pages and proper pagefaulting wasn’t occurring. cc is working! But honestly I still can’t get the system to boot properly during the 12-disk install process — I get a hang after the “your screen will now be setup” after the “to use your telephone” popup… pretty frustrating. I had to use your hd.img, thanks for posting! otherwise I wouldn’t have ever been able to get into the system
Yeah it’s probing for hardware that doesn’t exist in the emulator but is built into the machine..
It’s exciting that you got the c compiler running, is there a patch somewhere??
Also, I don’t get any different results using newest musashi. Seems to not make a difference.
yeah that /dev/ph0 is pretty frustrating. i can’t tell exactly where it hangs in the install. .modeminit doesn’t seem to hang, but attempting to run .phclr seems to hang when I run it on your hd.img. So .phclr may be the problem during the install process.
The fix for cc has been integrated into the gitbhub (https://github.com/philpem/freebee.git)
Awesome I just re-built it, and yep the C compiler is running! Also you can vi bigger files, and whatnot, it’s overall so much more stable!
Now to copy over some ‘useful’ stuff like gzip, nethack, and f2c… !