Hi there @csilverman @root42 👋
In brief, the approach is:
1. Load the code and resources from the original module
2. Execute the original 68k module code using https://github.com/kstenerud/Musashi (Thank you kstenerud!)
3. Add handling for unhandled traps to draw to a Metal view, reimplementing the behaviors of QuickDraw one at a time (setting pixels, drawing rects, sprites, etc)
Huge thanks to the M.A.C.E project for demonstrating this approach might be viable.
@halcyon @root42 That's fascinating. Hadn't occurred to me that you could trace the operation of a classic Mac OS app by watching what illegal instructions it calls, but based on my admittedly slim understanding of how the APIs behind 68K Mac OS worked, it makes a lot of sense. Thank you.
Very much looking forward to seeing this in the world. I've been missing After Dark for nearly 20 years at this point.