nx_urf_make.nx
buildroot/runtime/nx_urf_make.nx
about
nx_urf_make.nx -- generate a real test-pattern page and write a sovereign .urf artifact to disk.
Validates the encoder at full-page scale (US Letter @300dpi grayscale) and yields a concrete file
ready to print. Writes only a LOCAL file -- no network, no printing. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_pwg_rle.nxnx_urf.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
| 8 | const K_MAGIC_2550: i64 = 2550 |
| 9 | const K_MAGIC_3300: i64 = 3300 |
| 10 | const K_MAGIC_1200: i64 = 1200 |
| 11 | const K_MAGIC_1212: i64 = 1212 |
| 12 | const K_MAGIC_1850: i64 = 1850 |
| 13 | const K_MAGIC_2088: i64 = 2088 |
| 14 | const K_MAGIC_2100: i64 = 2100 |
| 15 | const K_MAGIC_1838: i64 = 1838 |
| 16 | const K_MAGIC_65536: i64 = 65536 |
functions
| 18 | func p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 19 | func pn(v: i64) -> i64 |
| 30 | func fill_rect(bm: *u8, W: i64, y0: i64, y1: i64, x0: i64, x1: i64, val: i64) -> i64 called by 1: main |
| 41 | func write_all(fd: i64, buf: *u8, len: i64) -> i64 |
| 51 | func main() -> i64 |