code wiki / _hdl_build / nx_mineworld_wasm_vet.nx
nx_mineworld_wasm_vet.nx
buildroot/runtime/_hdl_build/nx_mineworld_wasm_vet.nx
about
nx_mineworld_wasm_vet.nx -- VET THE SHIPPED WASM BYTES (operator law: evidence before "it works"). Native
gates prove the x86 build; the browser runs the WAT-backend build -- a DIFFERENT compiler path. This organ
executes web_assets/nx_mineworld.wasm on the SOVEREIGN wasm VM (nx_wasm_vm) and compares, step for step,
against the native twin: the whole integer game path (start/tick camera state, terrain_at at negative coords,
aim-dig edits, net_push frame bytes). render() is f32 (outside the integer VM's opcode set -- noted, not
hidden). A trap or divergence here = the exact thing that ships as a silent light-blue box in the browser.
license_tier: ORIGINAL expect_exit: 0
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_f32_hw.nxnx_wasm_mineworld.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
structs
| none |
consts
| 12 | const K_MAGIC_9000: i64 = 9000 |
| 13 | const K_MAGIC_999999: i64 = 999999 |
| 14 | const K_MAGIC_895752: i64 = 895752 |
| 15 | const K_MAGIC_891160: i64 = 891160 |
| 16 | const K_MAGIC_891624: i64 = 891624 |
| 17 | const K_MAGIC_547560: i64 = 547560 |
| 18 | const K_MAGIC_786432: i64 = 786432 |
| 19 | const K_MAGIC_787136: i64 = 787136 |
| 20 | const K_MAGIC_393216: i64 = 393216 |
| 21 | const K_MAGIC_1073741824: i64 = 1073741824 |
| 22 | const K_MAGIC_896872: i64 = 896872 |
| 23 | const K_MAGIC_20000: i64 = 20000 |
functions
| 25 | func hw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 26 | func pn(v: i64) -> i64 |
| 39 | func main() -> i64 |