code wiki / _hdl_build / nx_charlab_wasm_vet.nx

nx_charlab_wasm_vet.nx

buildroot/runtime/_hdl_build/nx_charlab_wasm_vet.nx

4455 B94 linesdepth 5pulls 13 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_charlab_wasm_vet.nx -- VET THE SHIPPED CHARLAB BYTES on nx_wasm_vm vs the native twin. Charlab is ALL-INTEGER (skeleton/IK/regions/render), so the ENTIRE composed surface vets byte-for-byte: 240 scripted ticks (mouse sweep + breathing toggle + a mid-script RESET) -> both region worlds AND the full rendered frame IDENTICAL. license_tier: ORIGINAL expect_exit: 0

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_wasm_charlab.nx nx_wasm_vm.nx nx_charlab_wasm_vet.nx

imports: nx_syscalls.nxnx_wasm_charlab.nxnx_wasm_vm.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 nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close hw sys_write ↻ pn sys_mmap ↻ sys_write ↻

structs

none

consts

8const K_MAGIC_803200: i64 = 803200
9const K_MAGIC_810112: i64 = 810112
10const K_MAGIC_6848: i64 = 6848
11const K_MAGIC_614400: i64 = 614400

functions

13func hw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
14func pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
27func main() -> i64