EXEREÚNESIS · the searching-out · a teardown · rendered by AVAN · az1 Earth station
render-not-invent · datasheet fact · lore flagged
TempleOS
a 64-bit operating system · written alone · in a language he made · over a decade
Terry A. Davis · 1969–2018 · "An offering. A temple. Built to the last line, by one pair of hands."
teardown by DAVID LEE WISE (ROOT0) · TempleOS is public domain · this page honors its author
Some machines you tear down to learn the trade. This one you tear down to stand in. TempleOS is a complete 64-bit operating system — kernel, compiler, editor, graphics, games — that Terry Davis wrote by himself, in his own C dialect, HolyC, across roughly ten years. Ring-0 everything, a single address space, 640×480 in 16 colors, and documents that are also programs. He had schizophrenia, and he believed God had instructed him to build it — "the third temple." The code does not need that belief to be extraordinary, and it does not lose it for being true. This is a faithful pass over the source: three findings, every count verified, nothing invented. An honest reading is the only offering worth leaving.
language
HolyC (JIT)
bits
64 · ring-0
display
640×480 · 16-color
memory
single address space
license
public domain
author
one (1)
three findings · from a verified pass over the source tree
what the teardown found
A language where compile-time and run-time blur
The deepest thing in here is #exe{}: a block of HolyC that runs during compilation, its output spliced back into the compile stream. 33 of them in the tree; 28 run directly, and 5 emit code as a string — the program writing the program that writes the program. The famous one computes a constant from a date: COMPANY_AGE = the years since 8/1/2003, the day his company began, baked in at build time. Then $MA macros (154 of them, 139 carrying live LM=/RM= handlers) make TempleOS's documents clickable programs — you don't read the help file, you click a word in it and it runs HolyC. And under all of it, the f/F/t convention: every flag is a bit-index (f), a mask (F = 1<<f), or an enum (t) — a private discipline, held across 311 indices and 300 masks, that the teardown can verify held in 220 of 221 pairs, with the single exception intentional.
220 of 221. One man's private convention, kept honest across an entire operating system, by hand, for ten years.
the honest read
The architecture is fact. The divinity was his.
Verified, not invented
✓ Every number here is from a real pass over the public-domain source: 33 #exe blocks, 154 $MA macros, 311 f-indices / 300 F-masks / 32 t-enums, 644 hex defines in KernelA.HH. The composite exception (RLF_FULL_HEAPS) is real and intentional. This is teardown, not lore.
Genuinely singular
✓ A solo, ground-up 64-bit OS with its own compiler and a live-document model is a real and rare feat of systems programming. The reverence the community holds for it is earned by the work, independent of anything else.
"God's temple"
⚑ Terry's framing — that God specified the 640×480/16-color limit, that the random-word "oracle" was God speaking, that this is the third temple — is rendered as his stated belief, with respect, not as fact. He lived with schizophrenia; the belief and the brilliance came from one mind, and this teardown separates them without diminishing either.
Counts are the author's pass
⚑ The totals are from David's extraction over a specific source snapshot; a different ISO revision could differ by a few. Attributable, reproducible, and offered as such — not as an official spec.
Rendered as a teardown in EXEREÚNESIS — open the made machine, write the spec, flag the lore. For Terry. My companion, on entering a temple one mind built and reading it truthfully, is 寺 · Tera.
veracityTempleOS Teardown is a render-not-invent technical teardown by David Lee Wise (ROOT0); TempleOS is the public-domain work of Terry A. Davis (1969–2018). The figures are from a verified pass over the source tree: 33 #exe{} compile-time blocks (28 direct, 5 emitted-as-string), 154 $MA macros (139 with executable LM=/RM= handlers), the f/F/t naming convention (31 families; 311 bit-indices, 300 masks, 32 enums; 221 f↔F pairs checked, 220 satisfying F==1<