Developer Releases Bare-Metal UEFI BASIC Interpreter Ported to Windows
ThoreauBASIC delivers GW-BASIC syntax with gigabytes of memory access and direct UEFI file system integration.

A software developer operating under the handle Tarjan has published ThoreauBASIC, an interpreter compatible with Microsoft's classic GW-BASIC syntax that boots directly on bare-metal hardware equipped with Unified Extensible Firmware Interface (UEFI) firmware, as first reported by Hacker News. In addition to executing directly from motherboard firmware without requiring an underlying operating system, the tool is also available as a standalone desktop application for Microsoft Windows.
Unlike historical iterations of GW-BASIC that were confined to 16-bit real-mode memory structures and strict address space limitations, ThoreauBASIC scales its operational memory to modern hardware capacities. The interpreter automatically sizes its primary data segment to match the largest contiguous memory block reported by either the machine firmware or the host operating system. On contemporary computer hardware, this allocation allows basic programs to access multiple gigabytes of system memory.
The utility includes native file storage operations designed to interface directly with host storage hardware. ThoreauBASIC supports core disk management instructions, including standard SAVE, LOAD, MERGE, FILES, and KILL commands. When executing on bare-metal hardware, these disk input and output routines run directly through the UEFI Simple File System specification.
For interactive program construction, ThoreauBASIC incorporates dedicated code editing and structural manipulation tools. Developers can modify code blocks using a built-in full-screen EDIT interface, while an AUTO line numbering feature streamlines sequential code entry during initial script writing.
The environment also integrates a comprehensive RENUM tool to handle line organization across larger programming files. When triggered, the renumbering utility adjusts line values and automatically rewrites every corresponding reference throughout the program. This process updates conditional branching and control flow statements, including GOTO, GOSUB, THEN, ELSE, ON..., RESTORE, RESUME, and error-handling ERL directives.
To facilitate precise execution measurement and performance tracking, ThoreauBASIC provides an updated implementation of the standard TIMER variable. Rather than relying on low-frequency system interrupts or operating system clock APIs, the variable queries hardware timing directly from the central processing unit's invariant Time Stamp Counter (TSC).
The release prompted discussion among developers regarding hardware-level computing and alternative approaches to minimal execution environments. In comments published on Hacker News, practitioners contrasted the bare-metal architecture with embedded Linux setups, noting that while build platforms like Buildroot can create rapid-booting interpreter environments, running directly on UEFI provides a cleaner execution path free of operating system dependencies.
Sources
Written by
The Company Wire
Inside the companies building what’s next. Reporting on startups, technology, funding and the people shaping them.



