/craftos-pico

ComputerCraft emulator for the Raspberry Pi Pico

Primary LanguageC++

craftos-pico

A ComputerCraft 1.8 emulator built for the Raspberry Pi Pico. Uses VGA or serial for screen output. Based on craftos-native.

Requirements

  • Raspberry Pi Pico
  • USB OTG adapter for keyboard and/or storage
  • One of:
  • If not using a demo board or USB storage, an SD card breakout connected over SPI

Building

To build, you must have the Raspberry Pi Pico SDK, including cmake.

TODO: Figure out configuration options for VGA/Serial, USB/SD, etc.

patch -p1 craftos2-lua < craftos2-lua.patch
mkdir build
cd build
cmake -DPICO_SDK_PATH=<path to pico-sdk> ..
cmake --build .

Running

Simply plug in the Pico while holding BOOTSEL, drop the built UF2 file onto the new USB drive, and the Pico will reboot into CraftOS automatically.