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 12 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 sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close hw sys_write wm_new sys_mmap ↻ wm_parse sys_mmap ↻ wv_u8 wv_uleb pn sys_mmap ↻ sys_write ↻ wm_find_export wm_name_eq mem_bytes start_at st_ptr world_init sk_init sk_hdr sk_add_bone sk_hdr ↻ sk_bone chr_ptr chr_preset chr_set chr_preset ↻ st_ptr ↻ sr_init sr_hdr sr_ring sys_mmap ↻ sr_add_node

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