I'm delighted that you've noticed and appreciate this. :-)
83 karma · joined January 22, 2019
[ my public key: https://keybase.io/jjuran; my proof: https://keybase.io/jjuran/sigs/SpelchyEwQs8UYO_D3lI-RoiICqatIVK3Dk_mHJfmLk ]
I'm delighted that you've noticed and appreciate this. :-)
https://www.metamage.com/text/relix/origins.html
I still use MPW's ToolServer for running the Metrowerks build tools, but sadly it's no longer available as an official download from Apple.
I wrote about this at length in part two of this article on MacRelix:
In the meantime, you could run the Linux framebuffer front end, which, strictly speaking, doesn't have Carbon dependencies. :-D
But Apple has demonstrated zero interest even in going after ROM bootlegging — I don't expect them to build a case against API reimplementation.
However, ROMLib looks like a good source of unofficial system documentation, which I expect I'll be consulting in the future as I work on parts where Apple's docs become less detailed.
Long answer: Advanced Mac Substitute is factored into back end (the emulator itself) and front end (graphics and user input terminal). Writing a new front end from scratch is actually not that much work, and the OS X front end is due for a full rewrite anyway.
This would be an excellent opportunity to contribute that doesn't require any 68K or classic Mac knowledge.
I was able to just skip over the trap calls in the Metrowerks runtime code for very the simplest programs, but in 2012 I added a real trap dispatcher and NewPtr/DisposePtr to implement malloc(). Virtual screen hardware and basic rectangle drawing appeared in 2013. But yeah, 2014 is when things started to get interesting.
Virtually all of my major projects are involved somehow: the Mac frontends are MacRelix. Freemount is used to serve files over a socket pair (since emulated code can't access the native file system). And the launch script is V code.
My plan for Advanced Mac Substitute is roughly to start at 1984 and move forward, with a focus on getting individual applications running. What you're seeking isn't out of scope in the long run, but it is off the horizon for now.
I have a build of SheepShaver I made years ago that's pretty stable, which I rely on for developing AMS' 68K components.
It's nice to see such interest in my humble project. :-)