cd /news/ai-tools/templeos-v5-03-statically-recompiled… · home › topics › ai-tools › article
[ARTICLE · art-178926] src=reversedwithai.com ↗ pub= topic=ai-tools verified=true sentiment=· neutral

TempleOS V5.03: Statically recompiled TempleOS V5.03 into a native program with Claude

A project has statically recompiled TempleOS V5.03, the 64-bit operating system designed by Terry A. Davis, into a native program that runs on Windows and Linux without an emulator or virtual machine. The author lifted the kernel to C using pcrecomp, modeled hardware components including the timer, interrupt controllers and VGA in C, and captured, lifted and verified byte for byte the code generated at runtime by the HolyC compiler. The author credits Claude Opus 5.5 as a co-author for contributions across the repository, including installer workflows and logic for handling lifted code blocks; builds use MSVC on Windows and gcc on Linux, while macOS support remains unfinished.

key takeaway

Lifting TempleOS V5.03's kernel to C with pcrecomp, modeling the timer, interrupt controllers and VGA in C, and capturing HolyC compiler output for byte-for-byte verification lets the OS run natively on Windows (MSVC) and Linux (gcc) without an emulator.

by read1 min views4 publishedNov 30, 2026
TempleOS V5.03: Statically recompiled TempleOS V5.03 into a native program with Claude
Image: Reversedwithai (auto-discovered)

What was done #

This project translates TempleOS V5.03 machine code into C, allowing the operating system to run as a native program on Windows and Linux without an emulator or virtual machine.

The project statically recompiles TempleOS V5.03, a 64-bit operating system originally designed by Terry A. Davis, to run as a native program on Windows and Linux. The author reports that the system operates without an emulator or virtual machine. The implementation involves lifting the kernel to C using pcrecomp, modeling hardware components such as the timer, interrupt controllers, and VGA in C, and capturing code generated at runtime by the HolyC compiler. The author documents that the HolyC compiler and subsequent compiler output are captured, lifted, and verified byte for byte. The project supports builds on Windows using MSVC and Linux using gcc, while macOS support remains unfinished. The author credits Claude Opus 5.5 as a co-author for contributions across the repository, including the implementation of installer workflows and logic for handling lifted code blocks. The source code is available at https://raw.githubusercontent.com/sp00nznet/templeos/HEAD/README.md.

Try it #

Requires TempleOS V5.03 ISO, Python 3.10+, capstone, CMake, and a C compiler. Run setup scripts or use the provided tools to lift the kernel, build the capture cache, and execute the binary.

Discussion #

Your library

Sources #

Sources reviewed · Added

An AI model drafted this entry from the sources above. An automated check matched its claims against them on 30 Nov 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.

── more in #ai-tools 4 stories · sorted by recency
── more on @templeos v5.03 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/templeos-v5-03-stati…] indexed:0 read:1min 2026-11-30 · —