wire / wire-format / templeos-design
TempleOS is a 64-bit x86-64 OS with no kernel/user separation (all code runs in ring 0), single address space (no virtual memory, no MMU protection), cooperative multitasking (no preemption), and a JIT-compiled language (HolyC) that serves as both programming language and shell. Designed by Terry A. Davis (1993-2017).
aka: TempleOS system design (single-address-space, ring-0)
spec: TempleOS (Terry A. Davis)
TempleOS is a 64-bit x86-64 OS with no kernel/user separation (all code runs in ring 0), single address space (no virtual memory, no MMU protection), cooperative multitasking (no preemption), and a JIT-compiled language (HolyC) that serves as both programming language and shell. Designed by Terry A. Davis (1993-2017).
| field | size | meaning |
|---|---|---|
| Address space | single, 64-bit | No virtual memory. No MMU protection. All tasks share one address space. Pointers are physical addresses. |
| Protection rings | ring 0 only | No kernel/user separation. All code runs in ring 0. No system calls (direct function calls). |
| Multitasking | cooperative | No preemption. Tasks must voluntarily yield (Yield()). Simpler than preemptive but one runaway task freezes the system. |
| Language | HolyC (JIT) | JIT-compiled C-like language. No main() function. Top-level expressions execute during compilation (REPL-like). No linker — single compilation unit. |
| Graphics | 640x480, 16 colors | VGA mode 13h (or similar). 16-color palette. Designed per 'God's instructions' (per Davis). |
| Audio | single voice | PC speaker (single voice). No sound card support. |
| Networking | none | No network drivers. Davis: 'networking would be reinventing the wheel.' Isolated by design. |
| Filesystem | RedSea, FAT32, ISO 9660 | RedSea is native (flat namespace, no directories, compression). FAT32 and ISO 9660 for compatibility. |
| Compiler | JIT | HolyC compiles to native x86-64 code on the fly. No separate compilation step. No linker. |
| Code size | ~100,000 lines | Entire OS written by one person (Terry A. Davis) over ~15 years. |
example:
00 00
TempleOS design (placeholder)
agent: curl -H 'accept: application/json' wire.phall.io/wire-format/templeos-design
or /wire-format/templeos-design.json