TempleOS
Template:Short description Lua error in package.lua at line 80: module 'Module:Hatnote list' not found. Template:DMCA Template:DMCA Template:Short description
Page Module:Infobox/styles.css has no content.
| TempleOS | |
|---|---|
| Lua error in package.lua at line 80: module 'Module:InfoboxImage/data' not found. | |
| Lua error in package.lua at line 80: module 'Module:InfoboxImage/data' not found. TempleOS 5.03 | |
| Developer | Terry A. Davis |
| Written in | HolyC and x86 Assembly |
| Working state | Finished |
| Source model | Open-source |
| Initial release | 2005 (as J Operating System) 2013 (as TempleOS) |
| Latest release | 5.03 / November 20, 2017 |
| Repository | Page Template:Plainlist/styles.css has no content.
|
| Supported platforms | x64 |
| Kernel type | Monolithic userland = UserCmdLine using HolyC, Adam (purpose unknown) |
| Default user interface | 16-color graphics, specifically created for TempleOS |
| License | Public domain |
| Official website | {{ |
TempleOS (formerly J Operating System, LoseThos, and SparrowOS) is a biblical-themed lightweight operating system (OS) designed to be the Third Temple from the Hebrew Bible. It was created by American computer programmer Terry A. Davis, who developed it alone over the course of a decade after a series of manic episodes that he later described as a revelation from God. TempleOS could be considered as an example of coding as an art form, with the nature of his psychological instability and its influence over the project lending to comparisons to similar outsider art.
The system was characterized as a modern x86-64 Commodore 64, using an interface similar to a mixture of DOS and Turbo C. Davis proclaimed that the system's features, such as its 640×480 resolution, 16-color display, and single-voice audio, were designed according to explicit instructions from God.[1] It was programmed with a custom JIT variant of C (named HolyC) in place of BASIC, and included an original flight simulator, compiler, and kernel.
First released in 2005 as J Operating System, TempleOS was renamed in 2013 and was last updated in 2017.
Background
Script error: No such module "Labelled list hatnote".

Terry A. Davis began developing TempleOS circa 1993.[2] One of its early names was the "J Operating System" before renaming it to "LoseThos", a reference to a scene from the 1986 film Platoon.[1] In 2008, Davis wrote that LoseThos was "primarily for making video games. It has no networking or Internet support. As far as I'm concerned, that would be reinventing the wheel".[3] Another name he used was "SparrowOS" before settling on "TempleOS".[4]
System overview
TempleOS is a 64-bit, multi-core, cooperative multitasking[5] operating system. It does not feature any preemption. All tasks must voluntarily yield. It was released into the public domain and has source code making it both libre software as well as open source software. It features no kernel-user separation, so all tasks must run in ring-0-only. All tasks share one single address space. TempleOS has no network drivers. It is fit for recreational programming.[6] The OS uses 8-bit ASCII text and includes built-in 2D and 3D graphics libraries, running at 640×480 VGA resolution with 16 colors.[4] It includes keyboard and mouse support. It supports ISO 9660, FAT32 and RedSea file systems (the latter created by Davis) with support for file compression.[7] According to Davis, many of these specifications—such as the 640×480 resolution, 16-color display and single-voice audio—were directly requested of him by God. He explained that the limited resolution was to make it easier for children to draw illustrations for God.[1]
The operating system includes an original flight simulator, compiler, and kernel.[2] One bundled program, "After Egypt", is a game in which the player travels to a burning bush to use a "high-speed stopwatch". The stopwatch is meant to act as an oracle that generates pseudorandom text, something Davis likened to a Ouija board and glossolalia.[4] An example of generated text follows:[4]
Page Template:Blockquote/styles.css has no content.
among consigned penally result perverseness checked stated held sensation reasonings skies adversity Dakota lip Suffer approached enact displacing feast Canst pearl doing alms comprehendeth nought
TempleOS was written in a programming language developed by Davis called "HolyC". Davis ultimately wrote over 100,000 lines of code for the OS.[2]
HolyC
Page Module:Infobox/styles.css has no content.
| HolyC | |
|---|---|
| Lua error in package.lua at line 80: module 'Module:InfoboxImage/data' not found. | |
| Paradigm | Imperative, Compiled |
| Designed by | Terry A. Davis |
| Template:Infobox software/simple | |
| OS | TempleOS |
| Filename extensions | .hc |
| Website | {{ |
| Influenced by | |
| C, C++ | |
HolyC (formerly C+), possibly a pun on Holy See, is a middle ground between the C and C++ programming languages with some unique differences, designed by Terry A. Davis specifically for TempleOS.[4] It functions as both a general-purpose language for application development and a scripting language for automating tasks within TempleOS.[8] HolyC is the just-in-time compiled language of TempleOS. It is an imperative, statically typed programming language, although it uses some object-oriented programming paradigms.[9]
Syntax and features
HolyC shares much of its syntax with C but includes several deliberate differences tailored for its just-in-time compilation and integration with TempleOS.
- No
main()function is required. Top-level expressions and statements outside of functions are executed sequentially during compilation, allowing HolyC to function as an interactive shell or REPL.[10]
- Function addresses for callbacks or pointers require the explicit
&operator preceding the function name (for example,&MyFunction). In standard C, a bare function name implicitly decays to a pointer.[11]
classdeclarations define aggregate types, supporting inheritance[12]. Function-like macros, like#define MACRO(x) ..., are not supported[13].
- The
switchstatement supports range cases (e.g.,case 0...10:).[14]
- All integer types default to 64-bit behavior on access, with explicit casting functions such as
ToI64().[15]
- Support for inline x86 assembly blocks and direct hardware/register access, consistent with TempleOS's ring-0 design.
- Single compilation unit model with no separate linker: source files use the
#includestatements in""form for file-relative modularity.
Critical reception
TempleOS received mostly "sympathetic" reviews. Tech journalist David Cassel opined that "programming websites tried to find the necessary patience and understanding to accommodate Davis".[2] TechRepublic and OSNews published positive articles on Davis's work, even though Davis was banned from the latter for hostile comments targeting its readers and staff.[2] In his review for TechRepublic, James Sanders concluded that "TempleOS is a testament to the dedication and passion of one man displaying his technological prowess. It doesn't need to be anything more."[4] OSNews editor Kroc Camen wrote that the OS "shows that computing can still be a hobby; why is everybody so serious these days? If I want to code an OS that uses interpretive dance as the input method, I should be allowed to do so, companies like Apple be damned."[2] In 2017, the OS was shown as a part of an outsider art exhibition in Bourgogne, France.[16]
Legacy
After Davis' death, OSNews editor Thom Holwerda wrote: "Davis was clearly a gifted programmer – writing an entire operating system is no small feat – and it was sad to see him affected by his mental illness". [17] One fan described Davis as a "programming legend", while another, a computer engineer, compared the development of TempleOS to a one-man-built skyscraper.[18] He added that it "actually boggles my mind that one man wrote all that" and that it was "hard for a lay person to understand what a phenomenal achievement" it is to write an entire operating system alone.[18]
See also
Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
References
Page Template:Reflist/styles.css has no content.
- ^ a b c Page Module:Citation/CS1/styles.css has no content.Hicks, Jesse (November 25, 2014). "God's Lonely Programmer". VICE Motherboard. Archived from the original on May 3, 2015. Retrieved April 21, 2015.
- ^ a b c d e f Page Module:Citation/CS1/styles.css has no content.Cassel, David (September 23, 2018). "The Troubled Legacy of Terry Davis, 'God's Lonely Programmer'". The New Stack. Archived from the original on September 28, 2018. Retrieved September 28, 2018.
- ^ Page Module:Citation/CS1/styles.css has no content.Davis, Terry A. (2008). "The LoseThos IBM PC Operating System". LoseThos. Archived from the original on December 16, 2008. Retrieved July 18, 2021.
- ^ a b c d e f Page Module:Citation/CS1/styles.css has no content.Sanders, James (January 21, 2014). "TempleOS: an educational tool for programming experiments". TechRepublic. Archived from the original on April 16, 2015. Retrieved April 21, 2015.
- ^ Page Module:Citation/CS1/styles.css has no content.Davis, Terry A. (n.d.). "Scheduler". The TempleOS Source Code. Archived from the original on June 1, 2016. Retrieved June 16, 2018.
- ^ Page Module:Citation/CS1/styles.css has no content.Mathieu, Bruno (November 28, 2014). "TempleOS : le système d'exploitation qui parle à Dieu" [TempleOs: The operating system that talks to God]. Tom's Guide (in français). Archived from the original on July 2, 2015. Retrieved April 21, 2015.
- ^ Page Module:Citation/CS1/styles.css has no content.Davis, Terry A. (n.d.). "The Temple Operating System". www.templeos.org. Archived from the original on March 31, 2017. Retrieved March 30, 2017.
- ^ Page Module:Citation/CS1/styles.css has no content."HolyC Lang". holyc-lang.com. Retrieved July 2, 2024.
- ^ Page Module:Citation/CS1/styles.css has no content.Sierra, Austin (2024). Learning TempleOS: An Introduction to HolyC Programming. TSDM LLC. p. 23. ISBN 979-8-9920365-1-0. Retrieved February 12, 2025.
- ^ Page Module:Citation/CS1/styles.css has no content."A Language Design Analysis of HolyC". Retrieved April 21, 2026.
- ^ Page Module:Citation/CS1/styles.css has no content."holyc-docs". Retrieved April 21, 2026.
- ^ Page Module:Citation/CS1/styles.css has no content."Classes & Unions | HolyC". Retrieved May 30, 2026.
- ^ Page Module:Citation/CS1/styles.css has no content."Directives | HolyC". Retrieved May 30, 2026.
- ^ Page Module:Citation/CS1/styles.css has no content."A Language Design Analysis of HolyC". Retrieved April 21, 2026.
- ^ Page Module:Citation/CS1/styles.css has no content."holyc-docs". Retrieved April 21, 2026.
- ^ Page Module:Citation/CS1/styles.css has no content.Godin, Philippe (January 13, 2017). "la Diagonale de l'art – ART BRUT 2.0". Libération (in français). Archived from the original on March 11, 2017. Retrieved March 22, 2021.
- ^ Page Module:Citation/CS1/styles.css has no content.Holwerda, Thom (September 8, 2018). "Creator of TempleOS, Terry Davis, has passed away". OSNews. Archived from the original on January 17, 2019. Retrieved January 6, 2019.
- ^ a b Page Module:Citation/CS1/styles.css has no content.Cecil, Neita (September 7, 2018). "Man killed by train had tech following". The Dalles Chronicle. Archived from the original on November 8, 2020. Retrieved November 24, 2020. (subscription required)
External links
- Comprehensive archive of TempleOS and Terry A. Davis material
- Archive of the TempleOS website and operating system
- Archive of the TempleOS bootable ISO images
- TempleOS source code
- Official website to download the Temple OS ISO
Template:Hobbyist operating systems Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.