mads5715 / OS9Duktape

A simple project to bring Duktape onto classic MacOS 9 with Retro68, to run JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A simple project to bring Duktape onto classic MacOS 9 with Retro68, to run JavaScript

License:GNU General Public License v3.0


Languages

Language:C 99.9%Language:C++ 0.1%Language:CMake 0.0%