code wiki / _hdl_build / nx_ciq_field_games.nx

nx_ciq_field_games.nx

buildroot/runtime/_hdl_build/nx_ciq_field_games.nx

6729 B111 linesdepth 7pulls 8 transitivereach 0 importersview sourcekind tooltopic ciq
docsdependenciesstructsconstsfunctions

about

nx_ciq_field_games.nx -- CIQ field INGEST for the GAME-ENGINE market (3rd market; "against all the market"). Sovereign seg_store, market namespace "games", markets read-append. HONEST cells: Nishi's game ecosystem is a generative EMITTER (nx_game_ingest + nx_arcade_render, pure-Nishi no-float, LLM-free runtime) -- a RADICAL vision (no incumbent generates games from spec) but EARLY execution (arcade-level, not AAA). So Nishi should land as a pure VISIONARY: maxed on the sovereignty/generative vision axis, low on the maturity/execute axis -- the honest truth, opposite of its image-gen co-Leader and Connect Visionary placements. Incumbent levels = publicly-established engine facts (ev="public"). license_tier: ORIGINAL expect_exit: 0

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_canon_cid.nx nx_seg_store.nx nx_uxf_decode.nx nx_ciq_field_games.nx

imports: nx_syscalls.nxnx_canon_cid.nxnx_seg_store.nxnx_uxf_decode.nx

imported by: nobody (leaf or entry point)

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

main ss_begin ss_begin_cap sys_mmap sys_mmap ↻ fg_row sys_mmap ↻ canon_encode sys_mmap ↻ cc_cmp cc_w32 cc_len sys_munmap ss_cat ss_add ss_add2 ss_w32 ss_len canon_encode ↻ ss_add ↻ ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ↻ ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_munmap ↻ ss_scan_seglist ss_len ↻ sys_mmap ↻ ss_cat ↻ ss_readall ↻

structs

none

consts

12const FG_MAGIC_2048: i64 = 2048
13const FG_MAGIC_8192: i64 = 8192
14const FG_MAGIC_1024: i64 = 1024
16const FG_STORE: *u8 = "knowledge/store/ciq-"

functions

18func gfw(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 }
called by 1: main calls 1: sys_write
19func fg_streq(a: *u8, b: *u8) -> i64 { var i: i64=0; while a[i]!=(0 as u8){ if a[i]!=b[i]{return 0} i=i+1 } if b[i]!=(0 as u8){return 0} return 1 }
called by 1: main
20func fg_copy(src: *u8, dst: *u8) -> i64 { var i: i64=0; while src[i]!=(0 as u8){ dst[i]=src[i]; i=i+1 } dst[i]=0 as u8; return i }
called by 1: main
21func fg_contains(hay: *u8, needle: *u8) -> i64 { var i: i64=0; while hay[i]!=(0 as u8){ var j: i64=0; var ok: i64=1; while needle[j]!=(0 as u8){ if hay[i+j]!=needle[j]{ ok=0; j=0; while needle[j]!=(0 as u8){j=j+1} } else { j=j+1 } } if ok==1 { return 1 } i=i+1 } return 0 }
called by 1: main
23func fg_row(w: *i64, caps: *u8, coff: *i64, nm: *u8, axs: *u8, wts: *u8, cells: *u8) -> i64
39func main() -> i64