8bitworkshop/README.md

3.6 KiB

8bitworkshop

Build Status

Use Online

Install Locally

To clone just the main branch:

git clone -b master --single-branch git@github.com:sehugg/8bitworkshop.git

To build the 8bitworkshop IDE:

git submodule init
git submodule update
npm i
npm run build

To use GitHub integration locally, download the Firebase config file, e.g. https://8bitworkshop.com/v[version]/config.js

Start Local Web Server

Start a web server on http://localhost:8000/ while TypeScript compiles in the background:

make tsweb

Run Tests

npm test

Note: Github tests may fail due to lack of API key.

License

Copyright © 2016-2022 Steven Hugg.

This project is GPL-3.0 licensed.

Dependencies retain their original licenses.

All included code samples (all files under the presets/ directory) are licensed under CC0 unless otherwise licensed.

Dependencies

The IDE uses custom forks for many of these, found at https://github.com/sehugg?tab=repositories

Emulators

Compilers

Assemblers/Linkers

Dev Kits / Libraries

Firmware

Tool Server (experimental)

This is an experimental feature that relies on a Docker container to provide compiler tools like llvm-mos. Right now, you have to run locally and build your own docker container.

docker build -t 8bitws-server-debian scripts/docker
docker run -p 3009:3009 8bitws-server-debian
echo '{"REMOTE_URL":"http://localhost:3009/build"}' > remote.json

Then add "&tool=llvm-mos" to your URL, like this. You can also rename your C files to have the suffix "-llvm.c". Right now only the platforms c64, atari8, nes (NROM), and pce are supported. Not very many of the current examples work with the new toolchain.