code wiki / _hdl_build / nx_cyrillic_render_gate.nx
nx_cyrillic_render_gate.nx
buildroot/runtime/_hdl_build/nx_cyrillic_render_gate.nx
about
nx_cyrillic_render_gate.nx -- proves NATIVE Cyrillic + Latin caption rendering, NO fake green. Renders the
Russian caption "привет друг" (uppercase-folded -> ПРИВЕТ ДРУГ) and the Latin caption "HELLO FRIEND" onto two
video frames; asserts each sets glyph pixels, asserts the bar is drawn, and a neg-control (empty caption sets
0 pixels). Eyeball -> knowledge/nx_cyrillic_render.png (Cyrillic top, Latin bottom). expect_exit: 0 license_tier: ORIGINAL
dependencies 8 imports · 0 importers
imports: nx_syscalls.nxnx_css_color_decode.nxnx_paint_solid_rect.nxnx_font8x8.nxnx_font_cyrillic8.nxnx_utf8.nxnx_caption_render_uni.nxnx_png_write.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
| 14 | func rg(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 15 | func rgn(v: i64) -> i64 |
| 24 | func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: main |
| 25 | func mkfb(w: i64, h: i64) -> *Framebuffer |
| 33 | func main() -> i64 |