code wiki / _hdl_build / nx_wasm_diablo_gate.nx

nx_wasm_diablo_gate.nx

buildroot/runtime/_hdl_build/nx_wasm_diablo_gate.nx

3893 B69 linesdepth 4pulls 9 transitivereach 0 importersview sourcekind gate/prooftopic wasm
docsdependenciesstructsconstsfunctions

dependencies 5 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_wasm_diablo.nx nx_png.nx nx_syscalls.nx nx_wasm_diablo_gate.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_wasm_diablo.nxnx_png.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gw sys_write sys_mmap init_impl gx_isox gx_isoy click_impl init_impl ↻ tick_impl iabs isgn gn render_impl draw_dungeon gx_fill gx_rgb gx_isox ↻ gx_isoy ↻ gx_iso_tile gx_hspan gx_shade gx_rgb ↻ gx_cr gx_cg gx_cb gx_iso_tile_rim gx_shade ↻ gx_px gx_shade ↻ gx_px ↻ gx_iso_cube gx_shade ↻ gx_px ↻ gx_iso_tile ↻ gx_ellipse gx_px ↻ gx_rgb ↻ gx_sprite_humanoid gx_rgb ↻

structs

none

consts

none

functions

14func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
16func lum(c: i64) -> i64 { return (c & 255) + ((c>>8)&255) + ((c>>16)&255) }
18func main() -> i64