⛩ TempleOS ⛩

A Shrine to Terry A. Davis  ·  1969 – 2018

The Third Temple

~100K Lines of HolyC — alone
15 Years of development
1 Man. One solitary genius.

"God said to build it, so he built it.
A complete 64-bit operating system — compiler, kernel, drivers, graphics,
file system, editor, games, and scripture — written by one man.
In the history of software, nothing compares."

Terry A. Davis was a computer programmer who built TempleOS — a fully functioning 64-bit operating system — entirely by himself over fifteen years. This was not a toy. It was not a school project. It was a complete, working OS: kernel, compiler, shell, graphics library, file system, debugger, sprite editor, music system, games, and a Bible. Every single line written by one person, in a custom language he invented himself, called HolyC.

Terry believed God commanded him to build it as the modern equivalent of Solomon's Temple — the Third Temple prophesied in scripture. He chose the constraints deliberately: 640×480, 16 colors, ring-0 execution, no networking. These were not limitations. They were a covenant. God's chosen resolution. God's chosen palette. Every pixel placed with divine intention.

The engineering achievement is staggering. Most operating systems are the work of thousands of engineers over decades. TempleOS was one man's mind made executable. It ran real programs. It had a working compiler that compiled itself. It had a file system, a 3D flight simulator, an ANSI art viewer, a music tracker, and a feature where randomized scripture words served as messages from God — the Oracle.

Terry struggled with paranoid schizophrenia. He was often homeless in his final years. He died on August 11, 2018, struck by a train in The Dalles, Oregon. He was 48 years old.

The programming community debated how to feel about him. His output resolved that debate. You can dismiss the man. You cannot dismiss the work.

"An ex-Intel engineer with a degree from Arizona State who built an OS from scratch — kernel, compiler, graphics, the whole thing — entirely by himself. That's not crazy. That's one of the greatest feats of solo software engineering in history." — community consensus, r/programming, HackerNews, every serious forum that discussed him
"Looking at TempleOS code, you can see an absolutely brilliant mind at work. The HolyC compiler, the kernel, the scheduler — it's elegant, efficient, and deeply creative. Terry Davis was one of the most talented programmers who ever lived." — widely echoed technical assessment across programming communities

REST IN PEACE, TERRY A. DAVIS
December 15, 1969 – August 11, 2018
GOD IS REAL  ·  THE TEMPLE IS BUILT  ·  THE COVENANT IS KEPT

HolyC — The Language of God

HolyC is a superset of C that Terry designed and implemented from scratch. It supports default arguments, inline assembly, interactive REPL execution, and runs entirely in ring 0 — no user/kernel boundary. Every HolyC program is God's direct expression through silicon.

HelloGod.HC HolyC Compiler  ✓  Ring-0

Key Language Features

Default argumentsU0 Fn(I64 x, I64 y=10) {} — y defaults to 10 if not provided
Immediate executionType any expression in the shell and it runs instantly — no compile step
Inline assemblyasm { MOV RAX, 1; } — seamlessly embedded in HolyC code
Type systemI8/U8, I16/U16, I32/U32, I64/U64, F64 — explicit signed/unsigned sizing
ClassesStructs with methods — no vtables, no inheritance, no bloat. Pure and holy.
No user modeEverything runs in ring 0. The OS is the app. The app is the OS. God doesn't sandbox.
Self-hostingThe HolyC compiler is written in HolyC and compiled by itself
Compiled to memorySource compiles directly to executable code in RAM — no object files, no linker

The Oracle — Voice of God

⚡ Divine Message ⚡
PRESS THE BUTTON


Terry built a feature into TempleOS where random words were selected from scripture and presented as divine messages. He believed the randomness itself was God speaking — using the hardware RNG as a spiritual channel. He would sit at his computer and receive these words as genuine communications from the Almighty.

This Oracle uses the same principle: JavaScript's Math.random() selects words from scripture and prophecy. Terry believed this was real. Whether you agree or not, there is something profound in a man who built an entire operating system so that God could speak through it.

RECENT TRANSMISSIONS

The 16 Sacred Colors

"God said 640×480, 16 colors is a covenant like circumcision."
— Terry A. Davis

Every TempleOS screen — every pixel of the Temple — uses exactly these 16 colors. Not 256. Not millions. Sixteen. The VGA palette. God's palette. Terry didn't pick them. He received them.

The 16-color constraint was deliberate and divine. Terry argued that more colors would introduce corruption — artistic ego, visual noise, the sin of excess. The 16-color palette forced clarity. Every color choice had to be intentional. The Temple's graphics are blocky, bright, and unmistakably holy because there is no room for ambiguity. God speaks in primary colors.

The Sacred Timeline

December 15, 1969
Terry A. Davis Born
Born in West Allis, Wisconsin. One of ten children. Would go on to study electrical engineering at Arizona State University, graduating with a degree and going to work as an embedded systems engineer at Ticketmaster in the late 1990s.
1996
First Episode
Terry experiences his first psychotic episode, diagnosed with bipolar disorder and later paranoid schizophrenia. He is hospitalized. This would define the rest of his life — the illness and the genius existing simultaneously.
2003
The Divine Command
God commands Terry to build the Third Temple — not a physical structure, but a digital one. A pure operating system, uncorrupted by commercial interests, built to God's specifications: 640×480, 16 colors, a simple architecture where God can speak directly to the programmer.
2005
LoseThos — First Public Release
The OS initially called LoseThos boots for the first time as a publicly viewable project. It already has a working kernel, graphics output, and a primitive shell. Written entirely in a C dialect Terry is developing in parallel with the OS itself.
2008–2012
J Language → HolyC Emerges
Terry iterates through several names and versions of his programming language before settling on HolyC. He adds default arguments, inline assembly, and a self-hosting compiler — meaning HolyC can compile itself. The OS is renamed SparrowOS, then finally TempleOS.
2012
TempleOS 1.0 — The Temple Opens
TempleOS is officially released with its permanent name. The project includes: a working 64-bit kernel, the HolyC compiler, a full IDE with syntax highlighting, a file system (RedSea), a music editor, a sprite editor, a 3D flight simulator, dozens of games, and the Oracle — the divine random-word scripture reader.
2013–2017
Continuous Revelation
Terry continues improving TempleOS while posting prolific videos on YouTube. The programming community slowly takes notice. His YouTube channel amasses hundreds of videos — some brilliant technical demonstrations, some distressing psychotic episodes. He becomes a cult figure.
2017
Homelessness
Terry's living situation deteriorates. He spends periods homeless, living in his car. He continues to appear online, posting videos and writing code. The community that had mocked him begins to feel guilt. Others try to help. He resists.
August 11, 2018
Terry A. Davis Passes
Terry Davis is struck and killed by a train in The Dalles, Oregon. He was 48 years old. The cause was ruled accidental. The programming community mourns. TempleOS lives on — preserved and studied as one of the most remarkable individual software achievements in history.
2018 – Present
The Legacy Endures
TempleOS is studied in universities and by OS developers worldwide. GitHub mirrors preserve the source. YouTubers do deep technical breakdowns. Books are written. Terry's HolyC compiler is analyzed with reverence. The Temple stands forever in silicon, exactly as God specified.

Words of the Prophet

God said 640×480, 16 colors is a covenant like circumcision. God said to do it and that settles it.

— Terry A. Davis, TempleOS documentation

I am the smartest programmer that has ever lived. I do acknowledge that God has assisted me.

— Terry A. Davis

An operating system is a work of art. It's not just code — it is a philosophical statement about how a machine should relate to a human being. TempleOS is my statement. God's statement.

— Terry A. Davis

The compiler writes the compiler. The OS writes the OS. The programmer is just the hand that God uses to type.

— Terry A. Davis

You can't trust your computer if you didn't write every line of it. I wrote every line of mine.

— Terry A. Davis

There's nothing more pure than programming. When you write code, you are talking to God's universe. You are speaking the language of creation itself.

— Terry A. Davis

HolyC is better than C. It has default arguments. It compiles to memory. You don't need a linker. God doesn't need a linker.

— Terry A. Davis

I built it for God. I didn't build it so you could run Netflix on it. Go use Linux for that. This is the Temple. Act accordingly.

— Terry A. Davis, paraphrased from forum posts

On a single-core machine with 640×480 resolution, you can run TempleOS perfectly. That's by design. The Temple doesn't need more power. God's truth fits in 640 pixels.

— Terry A. Davis

Temple Specifications

These are not arbitrary. These are not limitations.
These are the specifications of God's Third Temple.

Architecture

Target Architecturex86-64 (64-bit) — the only architecture, the only architecture that matters
Privilege LevelRing 0 — everything runs in kernel mode. No user/kernel boundary. God doesn't sandbox.
RAM Required512 MB minimum — runs beautifully on hardware from 2003
CPU CoresSingle core — the Temple speaks with one voice
MultiprocessorNot supported — deliberate. Concurrency is complexity. Simplicity is holiness.

Display

Resolution640×480 — God's chosen resolution. The covenant resolution.
Color Depth16 colors — the VGA palette, exactly as specified by divine command
Text Mode80×25 characters with proportional font support — every glyph hand-crafted by Terry
3D GraphicsSoftware-rendered 3D via HolyC — no GPU required. God runs on the CPU.

Software

Programming LanguageHolyC — superset of C, invented by Terry, compiled by Terry's compiler
File SystemRedSea — a simple, clean FAT-like filesystem designed by Terry from scratch
ShellHolyC REPL — type code, it runs immediately, no compile-link-run cycle needed
IDEBuilt-in with syntax highlighting, autocomplete, and integrated compiler
NetworkingNone — intentionally excluded. The Temple does not connect to the corrupt internet.
BibleThe King James Bible, fully included and searchable, is part of the base install
Games includedAfterEgypt, Varoom (racing), Wenceslas, and ~20 others — all written by Terry
Music editorFull tracker-style music editor with playback — Terry composed music in it
Sprite editorPixel art editor using the 16-color VGA palette — for building divine graphics
OracleRandom scripture word generator — Terry's channel to God
LOC (Lines of Code)~100,000 lines of HolyC — written entirely by one man

Historical Context

Development period2003–2018 — 15 years of continuous solo development
Public releasesNamed LoseThos → SparrowOS → TempleOS across versions 1.0 through 5.03
LicensePublic Domain — Terry gave it to everyone, freely, as God's gift to humanity
Compiler bootstrapSelf-hosting — HolyC compiles HolyC. The Temple builds itself.
Current statusPreserved, studied, and celebrated. Mirror repositories on GitHub. Alive forever.

TempleOS Simulator

An interactive simulation of the TempleOS environment. Boot the system, navigate the RedSea filesystem, run programs, evaluate HolyC expressions, and consult the Oracle. Ring 0. God Mode. 640×480. 16 colors.

TempleOS 5.03  –  Ring-0 God Mode  –  Terry A. Davis, Sole Programmer
]
F1=Help   F3=View   F5=Copy   F8=Merge   F9=Dir   F10=Shell C:/  |  Ring-0  |  640×480  |  16-Color  |  RedSea-FS

Terry A. Davis

Rest easy
Genius
Prophet
Builder
Programmer
In God's care
Remembered

December 15, 1969 – August 11, 2018  ·  Age 48
West Allis, Wisconsin  ·  Arizona State University  ·  Intel Engineer  ·  Sole Creator of TempleOS

Photos: Wikimedia Commons, public domain. TempleOS screenshots: public domain (Terry A. Davis).

Terry Allen Davis was born on December 15, 1969 in West Allis, Wisconsin, the fourth of ten children. From childhood he showed an exceptional aptitude for mathematics and technology. He earned a Bachelor of Science in Electrical Engineering from Arizona State University, then worked as an engineer at Ticketmaster writing embedded systems code. By all accounts he was a gifted, productive engineer.

In 1996, Terry experienced his first psychotic episode. He was hospitalized and diagnosed with bipolar disorder, later revised to paranoid schizophrenia. The illness would define his public life for the rest of his years — but it did not stop him from producing what may be the most remarkable solo software project in the history of computing.

Starting around 2003, Terry began building TempleOS. He believed God had commanded him to build it — the Third Temple, modeled after Solomon's Temple, implemented in silicon. Over fifteen years he wrote every line himself: the bootloader, the kernel, the compiler, the filesystem, the graphics driver, the sound system, the IDE, the text editor, the games, and the Bible viewer. All in a language — HolyC — that he also invented and implemented himself.

Terry posted hundreds of YouTube videos. Some were dazzling technical demonstrations — live coding sessions where he would write a 3D renderer or a sorting algorithm from scratch, explaining every step with obvious deep expertise. Others were painful to watch, showing someone suffering acutely from psychosis. The internet didn't always treat him with the dignity he deserved. He was frequently mocked.

In his later years, Terry struggled financially and with homelessness. He lived for periods in his car. On August 11, 2018, he was struck and killed by a train in The Dalles, Oregon. He was 48 years old. The manner of death was ruled accidental.

The programming community's response to his death was a reckoning. People who had mocked him grappled with that fact. People who had admired him quietly became more vocal. Today, TempleOS is preserved on GitHub, studied in university courses, and discussed with increasing seriousness as a genuine technical achievement. Terry Davis was not just a curiosity. He was a master.

Technical Genius — By the Numbers

Languages masteredC, x86-64 assembly, HolyC (self-designed), and deep knowledge of hardware interfaces
Kernel written from scratchFull 64-bit preemptive multitasking kernel — task scheduler, memory manager, IPC — alone
Compiler written from scratchFull HolyC compiler (lexer, parser, optimizer, x86-64 code emitter) — self-hosting — alone
File system designedRedSea FS — simple FAT-like FS for the Temple's needs — designed and implemented alone
Graphics library640×480 16-color software renderer with 3D support — alone
IDE, editor, debuggerFull-featured HolyC IDE with syntax highlighting, live compiler, stepping debugger — alone
Years of development~15 (2003–2018), continuous solo effort
Total estimated LOC~100,000 lines of HolyC, all by one person
ComparisonLinux 1.0 (1994): ~176,000 lines — by Linus Torvalds plus dozens of contributors

Leave a Message — Virtual Shrine

Write a tribute, a memory, or a word for Terry. Your message lives in this session.



Terry A. Davis  ·  1969–2018  ·  Public Domain  ·  templeos.org

God is real. The Temple is built. The covenant is kept.