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 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 sys_write ↻ nxa_dump_sizes sys_write ↻ dg_setup dbw sys_write ↻ st w sys_write ↻ dbn sys_mmap ↻ sys_write ↻ dg_kc_for dg_prove_surface dg_blit sys_mmap ↻ dg_poll_in sys_poll dg_pump dg_poll_in ↻ dg_dispatch ia_key ia_keyboard_union sys_exit ↻ dg_blit ↻

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