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 ssc_sig_of ss_cat sys_fstatat ssc_streq ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss_cat ↻ ss_loadfile sys_map_file ss_readall ss_load_aux2 sys_mmap ↻ ss_cat ↻ ss_loadfile ↻ ss_r32 sys_munmap ssl_total_keys ss_r32 ↻ ssl_pow2 ssl_build ss_r32 ↻ ssl_hash_entry ssl_key_eq ss_r32 ↻ ssl_lookup ssl_hash_entry ↻ ssl_key_eq ↻ ss_manifest_free sys_munmap ↻ sys_munmap ↻ ssc_retire_handle gp_w

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