Skip to content
/ Apple1JS Public

Apple1 Replica in Javascript (Node & Browser) - https://stid.me

License

Notifications You must be signed in to change notification settings

stid/Apple1JS

Repository files navigation

Apple 1 JS Emulator

Netlify Status CodeQL

The Apple 1 JS Emulator is a project written in TypeScript/JavaScript that emulates the Apple 1 computer. It is based on the Hybrid HW and Torlus' 6502.js project.

Demo

You can try out the emulator in your browser with the Interactive Demo.

Local Setup

To run the emulator locally on your computer, you'll need to install the required packages with the following command in the repo folder:

yarn install

Then, start the emulator in developer mode with:

yarn start

You can access the emulator in your browser at localhost:1234.

Test Programs

Once you have the emulator running, you can try out some test programs. To reset the emulator, press Tab in your browser. Then, you can enter a list of commands to execute the program.

Monitor Test

This program should print a continuous stream of ASCII characters:

0:A9 0 AA 20 EF FF E8 8A 4C 2 0
0
R

Anniversary

This program should print an image of WOZ:

280
R

Hello World

This program should continuously print "HELLO! FROM APPLE 1 JS":

E000
R
10 PRINT "HELLO! FROM APPLE 1 JS"
20 GOTO 10
RUN

Enjoy!