code wiki / (root) / nx_desktop_breeders.nx

nx_desktop_breeders.nx

buildroot/runtime/nx_desktop_breeders.nx

4974 B121 linesdepth 8pulls 14 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_desktop_breeders.nx -- F1105 platform-desktop-native rung 1: an INTERACTIVE WINDOWED SOVEREIGN CLIENT. NISHI BREEDERS in a real desktop window (WSLg/X11) with live keyboard play -- no browser, no JS, no libX11, no wasm. MIGRATED onto the shared nx_desktop_game surface the moment a second native client (craft) needed the same machinery; acceptance = this selftest's 5/5 held bit-for-bit (S4 zero-mismatch round trip, S5 synthetic-d px 176->206). license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_wasm_breeders.nx nx_desktop_game.nx nx_desktop_breeders.nx

imports: nx_syscalls.nxnx_wasm_breeders.nxnx_desktop_game.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap dg_setup nx_x11_connect_local sys_mmap ↻ _x11_build_path nx_unix_connect sys_socket sys_mmap ↻ sys_connect sys_close _x11_write_n sys_write sys_close ↻ _x11_read_n sys_read _x11_rd_u16 _x11_rd_u32 nx_x11_create_window nx_x11_alloc_id sys_mmap ↻ _x11_wr_u16 _x11_wr_u32 _x11_send sys_write ↻ nx_x11_set_wm_name sys_mmap ↻ _x11_wr_u16 ↻ _x11_wr_u32 ↻ _x11_send ↻ nx_x11_create_gc nx_x11_alloc_id ↻ sys_mmap ↻ _x11_wr_u16 ↻ _x11_wr_u32 ↻ _x11_send ↻ nx_x11_map_window sys_mmap ↻ _x11_wr_u16 ↻ _x11_wr_u32 ↻

structs

none

consts

10const K_MAGIC_20260727: i64 = 20260727
11const K_MAGIC_4096: i64 = 4096

functions

13func dbw(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 dbn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
27func main(argc: i64, argv: *i64) -> i64