multiplayer arcade game for bare metal Raspberry Pi 3 B+
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
A work-in-progress multiplayer arcade game that runs directly on the Raspberry Pi 3 B+ hardware, written entirely in Zig.
"Hello World" OS using the MiniUART. ~Tested and working on real hardware.~ It has regressed on real hardware, and I haven't fixed it yet.
zig build qemu
zig build qemu -Dgdb
In another terminal:
gdb zig-cache/clashos-dbg -ex 'target remote localhost:1234'
While the Raspberry Pi is running, you can use
zig build upload -Dtty=/dev/ttyUSB0
If using QEMU, use
zig build qemu -Dptyand note the tty path. In another terminal window,
catthe tty path. In yet another terminal window, you can use the
zig build uploadcommand above, with the tty path provided by QEMU. This is compatible with using GDB with QEMU, just make sure to pass the
For further changes repeat steps 3 and 4.
/dev/ttyUSB0is the device that represents the serial-to-USB cable:
sudo screen /dev/ttyUSB0 115200 cs8
0x0000000 ( 0 MiB) - boot entry point 0x0001000 - shortExceptionHandlerAt0x1000 function 0x0001100 - kernelMainAt0x1100 function 0x8000000 (128 MiB) - top of kernel stack, and bootloader_main function 0x8800000 (136 MiB) - top of bootloader stack