bitbornSOURCE-BACKED EXPERIMENTS

EXAMPLES / ONE MECHANISM AT A TIME

Small programs.
Visible mechanisms.

Fifteen experiments with actual literal sources, byte tables, and reproducible checks. Choose the execution environment first, then follow what each byte does.

01 / THE LINUX SYSCALL INTERFACE

A process, a register,
an observable result.

These ELF files need Linux x86-64. Python adds a non-executable ELF container around the unchanged handwritten payload. Payload sizes below exclude that header. Expected nonzero exit statuses are part of the demonstrations.

02 / BEFORE AN OPERATING SYSTEM

Firmware, memory,
and a first sector.

Use legacy-BIOS x86 system emulation in QEMU. Smaller payloads are packaged into sectors; disk-read and monitor images also include a separately handwritten loader and padded second stage. They are not UEFI programs.

12 / BIOS → 32-BIT PROTECTED MODE568-BYTE PAYLOAD

Cross into protected mode

A separately loaded literal stage installs a GDT, enables 32-bit code, writes and reads actual RAM, and dispatches a software interrupt through an IDT gate. IRETD returns before the success halt. This runs in QEMU, beyond the browser's 16-bit model.

13 / X86 BIOS / FIVE-SECTOR DISK813-BYTE PAYLOAD

A shell that loads another program

Nine commands expose bounded keyboard editing, actual RAM reads and writes, a register snapshot, and BIOS disk loading. The five-sector image combines the loader, shell and separately authored returning app. Its behavior has actual QEMU checks.

14 / REAL-MODE DISK APP / NEEDS SHELL150-BYTE PAYLOAD

Load, compute 42, and return

The shell loads this payload at physical 0x9000. It computes 7 × 6, stores the resulting byte 2A at 0x0601, prints that result and returns to the shell. This .bin is not independently bootable; use the shell image and its run command.

03 / DATA BECOMES AN INSTRUCTION

One writer bit.
A different live operand.