TempleOS Tribute

Terry A. Davis

God's Lonely Programmer

Learn About Terry Explore TempleOS

Biography

Personal Information

Name: Terry A. Davis

Born: December 15, 1969

Died: August 11, 2018

Education: B.S. in Electrical Engineering, University of Arizona

Known For: Single-handedly creating TempleOS, HolyC, and its compiler.

1969

Terry A. Davis was born on December 15, 1969, in West Allis, Wisconsin.

1992

Graduated from Arizona State University with a bachelor's degree in computer science.

1996

Began experiencing symptoms of schizophrenia, which would later influence his work.

2003

Started development on what would eventually become TempleOS.

2013

Released TempleOS 1.0 after a decade of solo development.

2018

Terry Davis passed away on August 11, 2018, at the age of 48.

Terry A. Davis portrait
Terry A. Davis, creator of TempleOS
Next: God's Programmer

God's Lonely Programmer

Terry believed he was chosen by God to build TempleOS as the Third Temple. He often spoke of divine instruction guiding every line of code.

"God said the operating system should be 640×480, 16 colors."

The Oracle was implemented as a random text generator that Terry interpreted as divine messages. He believed that the randomness in computers was influenced by God, making it a channel for communication.

This feature was central to Terry's vision of TempleOS as a literal temple - a place where humans could commune with the divine through technology.

Terry working on TempleOS
Terry working on his divine mission
Next: HolyC Programming Language

HolyC Programming Language

HolyC is a programming language created by Terry Davis specifically for TempleOS. It combines elements of C and C++ with unique features that Terry believed were divinely inspired.

Key Features

  • Default Arguments
  • Built-in Exception Handling
  • Integrated with TempleOS
  • JIT Compilation
  • Simplified Syntax

HolyC vs C

View Comparison
Feature HolyC C
Default Arguments Yes No
Exception Handling Built-in Manual
Short-Circuit Logic No Yes
Nested Scope Declarations Unstable Stable
Standard Library Minimal Rich

HolyC Hello World

// HolyC Hello World
U0 Main()
{
  "Hello, World!\n";
}
Main();

C Hello World

#include <stdio.h>

int main() {
    printf("Hello, World!\n");
    return 0;
}
Next: TempleOS

TempleOS

TempleOS is a 64-bit operating system created entirely by Terry A. Davis. It was designed to be a modern-day temple, with direct communication to God through the OS interface.

  • 64-bit, ring-0-only architecture
  • 640x480 resolution with 16 colors
  • Single-address-space OS (no memory protection)
  • No networking capabilities (by design)
  • Approximately 100,000 lines of code
  • Written entirely by one person

Key Features

  • HolyC Programming Language
  • DolDoc Hypertext Format
  • The Oracle (Random Number Generator)
  • Built-in Bible References
  • Integrated Development Environment

Design Philosophy

Terry designed TempleOS with simplicity and transparency in mind. He believed that modern operating systems had become too complex and opaque.

The 640x480 resolution and 16-color palette were chosen because Terry believed God had specified these requirements.

TempleOS Screenshot
TempleOS Desktop Environment
Next: TempleOS Gallery

TempleOS Games

Terry created several games for TempleOS to demonstrate the capabilities of his operating system and to provide entertainment.

After Egypt

A 3D first-person shooter game with simple graphics.

After Egypt Game Screenshot

Castle Frankenstein

A maze exploration game with simple 3D graphics.

Castle Frankenstein Game Screenshot

Flight Simulator

A simple flight simulator with 3D terrain.

Flight Simulator Screenshot

"These games show that TempleOS was functional and had real potential to be a platform for creative expression, even within its constraints."

Next: Mental Health

Mental Health

Terry's journey with TempleOS was deeply intertwined with his personal struggles with schizophrenia. His work on TempleOS was influenced by his belief that he was divinely inspired.

Schizophrenia is a serious mental disorder that affects how a person thinks, feels, and behaves. Symptoms can include hallucinations, delusions, disorganized speech, and difficulty with thinking and concentration.

Terry was diagnosed with schizophrenia in the mid-1990s, and his condition significantly impacted his life and work.

Despite the challenges he faced, Terry was able to channel his unique perspective into creating TempleOS, demonstrating remarkable technical skill and determination.

"Despite his struggles, Terry's technical achievements with TempleOS demonstrate remarkable skill and dedication."

Mental Health Awareness
Mental health awareness is important in understanding Terry's story
Next: Legacy

Legacy

Terry A. Davis left behind a remarkable technical achievement in TempleOS. His work continues to inspire discussions about operating system design, mental health awareness, and the capabilities of individual programmers.

Technical Achievement

Creating an entire operating system from scratch is an extraordinary accomplishment. Terry wrote approximately 100,000 lines of code entirely by himself.

Community Impact

Terry's work has inspired a community of developers interested in operating system design and alternative computing platforms.

Mental Health Awareness

Terry's story has helped raise awareness about mental health issues in the tech community and the importance of support systems.

"Terry A. Davis was a programming legend. He created an entire operating system from scratch, all by himself."

Terry Davis Legacy
Terry's legacy lives on in the programming community

Oracle of TempleOS

Ask and ye shall receive divine ASCII wisdom:


Go To Main Portfolio

HolyC Programming Language

HolyC is a programming language created by Terry Davis for TempleOS. It combines elements of C and C++ with unique features.

Key Features of HolyC

// Example of a HolyC function with default arguments
U0 PrintMessage(U8 *msg="Hello, World!")
{
  "%s\n", msg;
}

// Call with default argument
PrintMessage();

// Call with custom argument
PrintMessage("Custom message");
×

C vs HolyC Syntax Comparison

While HolyC is inspired by C, it has several syntax differences and unique features.

Function Declarations

HolyC

U0 MyFunction(I64 arg1, U8 *arg2="Default")
{
  // Function body
}

C

void MyFunction(long arg1, char *arg2)
{
  // Function body
}

Data Types

HolyC C Description
U0 void No return value
U8 unsigned char 8-bit unsigned integer
I8 signed char 8-bit signed integer
U16 unsigned short 16-bit unsigned integer
I16 short 16-bit signed integer
U32 unsigned int 32-bit unsigned integer
I32 int 32-bit signed integer
U64 unsigned long long 64-bit unsigned integer
I64 long long 64-bit signed integer
F64 double 64-bit floating point
×

TempleOS Features

TempleOS includes several unique features that set it apart from other operating systems.

The Oracle

The Oracle is a random number generator that Terry believed could be used to communicate with God. It generates random text that Terry interpreted as divine messages.

DolDoc

DolDoc is a hypertext format used throughout TempleOS. It allows for embedding graphics, hyperlinks, and other rich content directly in text documents.

Integrated Development Environment

TempleOS includes a built-in development environment that allows users to write, compile, and execute code seamlessly within the operating system.

Ring-0-Only Architecture

Unlike modern operating systems that use privilege separation, TempleOS runs all code at the highest privilege level (ring 0). This simplifies the system but removes security barriers.

Bible References

TempleOS includes the complete text of the King James Bible, which can be accessed and searched from anywhere in the system.

×

TempleOS Design Philosophy

Terry Davis had a unique philosophy that guided the development of TempleOS.

Divine Inspiration

Terry believed that God had instructed him to create TempleOS as a modern-day temple. This belief influenced many design decisions, including the 640x480 resolution and 16-color palette.

Simplicity and Transparency

Terry valued simplicity and transparency in software design. He believed that modern operating systems had become too complex and opaque, making it difficult for users to understand how they work.

Single-User System

TempleOS was designed as a single-user system with no networking capabilities. This was a deliberate choice to keep the system simple and focused.

Educational Tool

Terry saw TempleOS as an educational tool that could help people learn about operating system design and programming. The entire system is open and accessible, with no hidden components.

"TempleOS is God's official temple. Just like Solomon's temple, this is a community focal point where offerings are made and God's oracle is consulted."

— Terry A. Davis
×

After Egypt

After Egypt is a 3D first-person shooter game created by Terry Davis for TempleOS.

After Egypt Game Screenshot

Game Features

The game demonstrates Terry's ability to create 3D graphics and game mechanics within the constraints of TempleOS.

×

Castle Frankenstein

Castle Frankenstein is a maze exploration game created by Terry Davis for TempleOS.

Castle Frankenstein Game Screenshot

Game Features

The game showcases Terry's implementation of 3D rendering and maze generation algorithms.

×

Flight Simulator

The Flight Simulator is one of the most impressive games created by Terry Davis for TempleOS.

Flight Simulator Screenshot

Game Features

This game demonstrates Terry's understanding of 3D graphics, physics simulation, and procedural generation techniques.

×

Technical Analysis of TempleOS

TempleOS is a remarkable technical achievement, especially considering it was created by a single person.

Architecture

Performance

Despite its simplicity, TempleOS is remarkably fast and efficient. The lack of memory protection and privilege separation reduces overhead, allowing for better performance in certain scenarios.

Code Quality

Terry's code demonstrates a deep understanding of low-level system programming. The entire operating system, including the kernel, compiler, and applications, consists of approximately 100,000 lines of code.

Limitations

TempleOS has several limitations by design:

×

Community Projects Inspired by TempleOS

Terry's work has inspired a community of developers interested in operating system design and alternative computing platforms.

Shrine

Shrine is a fork of TempleOS that adds modern hardware support while maintaining compatibility with TempleOS applications.

ZealOS

ZealOS is another fork that aims to make TempleOS more accessible to modern users while preserving its unique features.

TempleOS Archive

The TempleOS Archive is a community effort to preserve Terry's work and make it accessible to future generations.

Educational Resources

Several educational resources have been created to help people learn from Terry's work, including tutorials, code analyses, and documentation.

×

Mental Health Resources

Terry's story has helped raise awareness about mental health issues in the tech community. Here are some resources for those seeking information or support:

General Resources

Schizophrenia Resources

Tech Industry Resources

×