Comment by statico

2 days ago

This is awesome. We can now run classic Mac applications as single page apps by emulating the Toolbox instead of the entire OS and emulating 68K & PowerPC with Wasm.

I started to do this with https://github.com/jpivarski/executor-mac68k-emulator and Emscripten (with Claude driving) and got SimCity 2000 running as a single-page app with sound.

Then I found https://systemless.org/ which is a similar project.

Still, super cool.

Thank you.

That's an interesting fork. If it runs SimCity 2000 already, you could set up a page that lets one try it (with user-supplied game files). You can do the same thing as my project: set the GitHub Pages source to GitHub Actions and create a workflow for Pages (https://github.com/dbohdan/glider/blob/b4d14cfd52873c0378995...).

I didn't know about Systemless. I know Classic Mac fans to share it with.

  • I dug up the project and posted it: https://mac.statico.io/ - click the "How it Works" header to read how Claude decided to make it work. Everything is on GitHub.

    Still getting sound working, but I hope to have that done shortly.

    • Neat. Shufflepuck Café has sound and seems to be fully playable. Its one problem is that Executor doesn't capture the cursor, so a rapid mouse movement causes the cursor to leave the screen and stop moving the paddle.

      If you want to add more games, consider The Yukon Trail. Thanks to the magic of bootleg CD-ROMs, it's the Trail game I had as a child in Europe. It is probably weaker than Oregon, but it's worth a playthrough. Collections generally ignore it in favor of the more famous sibling.