code wiki / _hdl_build / nx_games_portal.nx

nx_games_portal.nx

buildroot/runtime/_hdl_build/nx_games_portal.nx

6296 B64 linesdepth 8pulls 9 transitivereach 0 importersview sourcekind tooltopic games
docsdependenciesstructsconstsfunctions

about

nx_games_portal.nx -- sovereign UNIFIED games-portal emitter. Reads the ONE games registry (nx_native_config games-reg-, no tsv) and emits knowledge/sovereign-games.html = the /games portal that lists ALL our games in one place (operator: "consolidate all games under /games, get them unified and working"). deployed=1 -> a live Play card linking the game (href=path); deployed=0 -> a "coming soon" card showing engine + location. Data-driven: edit the registry -> re-run -> the portal reflects it. Replaces the hand-authored board-games portal so /games is the single games space. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_native_config.nx nx_games_portal.nx

imports: nx_syscalls.nxnx_native_config.nx

imported by: nobody (leaf or entry point)

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

main ncfg_open ss_open_cached ssc_init 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 nxa_dump_sizes ssc_sig_of ss_cat sys_fstatat ssc_streq ss_open ss_open2 ss_open3 sys_now_us sys_mmap ↻ ss_manifest_dyn ss3_admit ss3_load_range ssl_total_keys_mask ss3_ann ss_close_seg ss3_move ss3_remap_table sys_madvise ss_tr ss3_insert_new sys_munmap ss3_tomb_count ssl_total_keys

structs

none

consts

9const K_MAGIC_262144: i64 = 262144

functions

11func gp_puts(buf: *u8, off: i64, s: *u8) -> i64 { var o: i64=off; var i: i64=0; while s[i]!=(0 as u8){buf[o]=s[i];o=o+1;i=i+1} return o }
called by 1: main
12func gp_w(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 main() -> i64