diff options
Diffstat (limited to 'docs/history/13-gap-fixes/code/tools/build.zc')
| -rw-r--r-- | docs/history/13-gap-fixes/code/tools/build.zc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/docs/history/13-gap-fixes/code/tools/build.zc b/docs/history/13-gap-fixes/code/tools/build.zc deleted file mode 100644 index a38e97f..0000000 --- a/docs/history/13-gap-fixes/code/tools/build.zc +++ /dev/null @@ -1,13 +0,0 @@ -// compiles the rest of stdin (after the backtick) as a genome image at GORG -// and writes it to stdout as little-endian 32-bit words. -const OUT = 0x10000; -fn main() -{ - let n = build_image(GORG, OUT), i = 0, w; - while (i < n) { - w = OUT[i]; - putc(w); putc(w >> 8); putc(w >> 16); putc(w >> 24); - i++; - } - return 0; -} |
