Skip to content

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

License

Notifications You must be signed in to change notification settings

mads5715/OS9Duktape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages