nx_browser_demo_42.nx
buildroot/runtime/nx_browser_demo_42.nx
about
nx_browser_demo_42.nx -- visible end-to-end demo program. Paints
"42" into a 24x10 framebuffer, dumps it to stdout as ASCII art,
returns 0 on success. Run via qemu-riscv64 to SEE the bits-up
substrate's first text-rendering output.
Pipeline used:
nx_framebuffer_init -- caller-supplied pixel buffer wrap
nx_framebuffer_clear -- zero
nx_paint_text -- 5x7 glyph rasterizer
nx_paint_fb_ascii_dump -- pixel -> char bucket dump
sys_write (fd 1) -- to stdout
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_css_color_decode.nxnx_paint_solid_rect.nxnx_paint_text.nxnx_paint_fb_ascii_dump.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 19 | func _put_byte(buf: *u8, i: i64, v: i64) -> i64 called by 1: main |
| 24 | func main() -> i64 |