Skip to content
Bare metal raspberry pi program written in zig
Zig
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows qemu vt100 font icon Oct 15, 2019
assets qemu vt100 font icon Oct 15, 2019
boot 0.1 Sep 20, 2019
src qemu vt100 font icon Oct 15, 2019
.gitignore 0.1 Sep 20, 2019
README.md Update README.md Oct 15, 2019
build.zig qemu vt100 font icon Oct 15, 2019
release-message.md move frame buffer cursor using tv remote controller Oct 8, 2019

README.md

zig logo is displayed

The frame buffer cursor moves around the screen in response to the tv remote controller buttons. This requires the Consumer Electronics Control (CEC) feature on the tv.

Successfully tested on rpi3b, rpi3b+

Not yet working on armv6 raspberry pi models

Not yet tested on rpi4b

Building

Requires the following patch to lib/zig/std/fmt.zig:

replace

const digit = a % base;

with

const digit = a - base * (a / base);

Testing

zig build qemu -Dqemu

(yes, the -Dqemu is needed at this time)

or

zig build qemu -Dqemu -Dnodisplay

to omit the frame buffer display

You can’t perform that action at this time.