code wiki / _hdl_build / nx_game_gallery.nx
nx_game_gallery.nx
buildroot/runtime/_hdl_build/nx_game_gallery.nx
about
nx_game_gallery.nx -- SOVEREIGN games-gallery emitter for nishifamily.com/games. Builds a SELF-CONTAINED
HTML page that SHOWS the ecosystem's game-genre coverage: each genre's REAL rendered frame inlined as a
base64 data: URI (no separate image files to serve), plus links to the wasm-playable titles. This is the
operator's "let me SEE the growth" page. Data-driven: add a frame()/play() call as genres land. Reuses our
own nx_base64 encoder + nx_png frames. Sovereign (no JS logic, the images are static data URIs).
usage: nx_game_gallery [out.html] (default knowledge/games.html) license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_base64.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
| none |
functions
| 10 | func w(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 } |
| 13 | func frame(fd: i64, title: *u8, png_path: *u8, blurb: *u8) -> i64 |
| 27 | func play(fd: i64, title: *u8, href: *u8, blurb: *u8, accent: *u8) -> i64 |
| 36 | func play_frame(fd: i64, title: *u8, href: *u8, png_path: *u8, blurb: *u8) -> i64 |
| 51 | func main(argc: i64, argv: *i64) -> i64 |