Compiles using the Retro68 GCC toolchain. This project is mostly for experimenting with JS and old MacOS9 and to have fun with.
Here's a list of goals, not as such in order being needed, but mostly as notes for future development of the project
- Load large JS files and load dependencies in multiple files
- Write a wrapper for OpenTransportUNIX.h that works like most socket-based systems
- Write a wrapper for MacWindows.h Window Manager Interfaces
- Write a wrapper for Threads.h Thread Manager Interfaces
- Write a wrapper for OT SimpleHTTPDownload Sample
- Write a wrapper for other usefull Classic MacOS "Manager Interfaces"
For building this project you will need:
- Retro68
- An Old PPC Mac or an emulator(Sheepshaver/QEMU) with MacOS9
- A way to tranfer from your Modern machine to your old Mac
- I recommend using FTP, and transferring the .dsk from your build folder
There are plenty of ways to name your build folder, and structure your source code. I prefer to have my build folder inside my project folder, to keep my projects completely seperated on my drives.
mkdir OS9Duktape-build
cd OS9Duktape-build
cmake .. -DCMAKE_TOOLCHAIN_FILE=/YourPathTo/toolchain/powerpc-apple-macos/cmake/retroppc.toolchain.cmake
make