This is a command line tool that acts as a companion to my uw8 module for Zig ⚡
uw8-init is used to create a directory containing code that
allows you to promptly get started coding on a cart for the
lovely little fantasy console MicroW8.
The Zig build .target is declared as .{ .cpu_arch = .wasm32, .os_tag = .freestanding }
and .optimize is set to .ReleaseSmall
Important
No need to specify -Doptimize=ReleaseSmall
(Requires you to have Go installed)
go install github.com/peterhellberg/w4-init@latest(Requires you to have an up to date (nightly) version of Zig installed.
uw8-init mycart
cd mycart
zig build run🌱