Zig64

Check-in [d5c698fc12]
Login

Check-in [d5c698fc12]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Put literally anything on the screen
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d5c698fc12d6f7036e81f3a6f96ed7e091134e03809fe0c7b3e0148ab1fe43c1
User & Date: ryno 2025-01-30 10:29:18.203
About

Video output works!

Right now it just outputs yellow (specifically: 320×240 16-bit pixels of 31,31,0,0). There are some elements about the VI that I ain't quite certain about, like good values for the X and Y scale/offset (the n64brew wiki doesn't document them all that well, and libdragon just handles them with convoluted bitshifting and no explanation; all I know is that they're fixed-point numbers, i.e. functionally integers). Also, I'm pretty sure it borks things because there are no interrupt handlers setup yet.

Context
2025-02-04
01:05
Add some memory-related helpers and make `print()` follow the same API as other Zig `print()`s check-in: b1f425d583 user: ryno tags: trunk
2025-01-30
10:29
Put literally anything on the screen check-in: d5c698fc12 user: ryno tags: trunk
04:35
Handle Zig panics check-in: 88241cf9c2 user: ryno tags: trunk
Changes
Unified Diff Side-by-Side Diff Patch
Added src/VI.zig.
Changes to src/main.zig.