OS9Duktape
A simple project to bring Duktape onto classic MacOS 9 with Retro68, to run JavaScript
Install / Use
/learn @mads5715/OS9DuktapeREADME
OS9Duktape
A new App for MacOS9 that allows you to play with JS/ECMAScript 5.1 on your old Mac
Compiles using the Retro68 GCC toolchain. This project is mostly for experimenting with JS and old MacOS9 and to have fun with.
Goals
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"
Building
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
Compiling
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
Built With
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
