code wiki / (root) / nx_browser_demo_hello.nx

nx_browser_demo_hello.nx

buildroot/runtime/nx_browser_demo_hello.nx

1966 B57 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind sketch/demotopic browser
docsdependenciesstructsconstsfunctions

about

nx_browser_demo_hello.nx -- visible demo program. Paints "HELLO WORLD" into a 96x16 framebuffer using the expanded 5x7 font (now supports H E L O W R D plus the digits/period/space from the prior subset). Dumps to stdout as ASCII art. Composes the same Phase 4 + 5 stack as nx_browser_demo_42 but renders English text instead of digits, proving the font expansion works end-to-end.

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_css_color_decode.nx nx_paint_solid_rect.nx nx_paint_text.nx nx_paint_fb_ascii_dump.nx nx_browser_demo_hello.nx

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

main sys_mmap nx_framebuffer_init nx_framebuffer_clear _put_byte nx_paint_text _paint_text_glyph nx_font_5x7_glyph_row _paint_text_pixel nx_paint_fb_ascii_dump _fb_ascii_char_for_pixel sys_write

structs

none

consts

15const K_MAGIC_2048: i64 = 2048

functions

17func _put_byte(buf: *u8, i: i64, v: i64) -> i64
called by 1: main
22func main() -> i64