Repository navigation
Releases
v0.4.0 - Windows 98 desktop, in Lune and Roblox Studio
Highlights
Windows 98 SE now reaches a working desktop, both headless under Lune and inside Roblox Studio. It cold-boots from power-on to Explorer, the taskbar and the Start menu with no prompts, and the PS/2 mouse and keyboard work.
What changed since v0.3.0
Windows 98
- The desktop works: Explorer, the taskbar, the Start menu, Quick Launch and the Welcome screen.
- The PCI bus is enumerated. Windows installs the Standard PCI Graphics Adapter (640×480, 16 colours) and the Intel PIIX bus-master IDE driver.
- Cold boot runs from power-on to the desktop with no wizards.
Emulator
- PS/2 mouse: reset and identify, status, rate and resolution, and per-byte IRQ12.
- XLAT fixed. Text mode draws from the guest's plane-2 font.
- IDE: an absent slave reads status 00h, so SeaBIOS can boot a hard disk with no CD-ROM attached. There is also an optional
fetchHookfor lazily loaded disk images. - Speed went from 0.50M to 0.77M instructions/s under Lune, and runs at about 1.0–1.4M steps/s in Studio. The gains came from native codegen, module-local CPU calls, a code-page fetch window, a linear-address fast path, direct RAM access and a burst loop.
Roblox Studio
- Windows 98 cold-boots to the desktop in Studio, in about 22 minutes. The disk is streamed on demand from a server that only listens on localhost (
tools/studio/), so the Windows image never enters the place. - Play mode boots Windows on the client, which fetches disk blocks through a server script (
Win98DiskBridge).tools/studio/mkplace.pybuilds the local test places. - VgaView fix: each packed region now gets a buffer of exactly the right size.
Still open (almost done)
- Verify the desktop, mouse (F8 capture) and keyboard in a Studio Play session. The client already reaches the Windows logo.
- Boot time in Studio is still 17–22 minutes. More interpreter speed is the next lever.
- The stock driver limits the display to 640×480×16.
Download
Rvpc.rbxmx: import it into a Roblox place and press Play. It is code only: no firmware and no Windows. You need your own firmware images and your own licensed Windows 98 SE CD and product key; see the README.
v0.3.0 - Windows 98 SE Setup runs to completion
Highlights
RVPC now runs Windows 98 SE Setup from the retail CD all the way through: the setup wizard, file copy, the first reboot into the real Windows 98 kernel, hardware detection, Plug and Play setup, the final "Updating System Settings" stage, and Setup's own restart.
Everything runs on a 486-class PC emulated in pure Luau, booting real SeaBIOS firmware. It runs headless under Lune and interactively in Roblox Studio.
What Windows 98 needed (selected fixes since v0.2.0)
CPU
- Call-gate frames, CS.RPL on privilege transfers, and near branches past the CS limit.
- Expand-down segments, CR2 on page faults, BTS with a register offset.
- Faulting pushes leave ESP unchanged.
- CR0.ET is reported with an FPU present.
- Undefined opcodes raise #UD in protected and V86 mode.
Chipset and devices
- 8254 read-back command.
- PIIX3 IDE timing, IDE IDENTIFY current-CHS words, and the bus-master interrupt bit.
- CMOS fixed-disk type 47.
- A configurable RTC date, since Windows 98's 1999 code-signing certificates fail against a 2026 clock.
Keyboard controller: the 8042 output-port pulse (0xFE) now resets the CPU, so Windows can reboot the machine itself.
Video: VGA unchained "mode X", which the Windows 98 boot logo uses.
Tooling: delta checkpoints let a multi-hour install resume in seconds. tools/win98_run.lua is the debugging workbench: instruction rings, memory watches, DOS and API call logs, port logs.
Tests: 2,040+ assertions across 23 suites, all run by CI on every push.
Still open
- Windows' own shutdown stalls at "Windows is shutting down" (a reset gets past it).
- The first boot after Setup is still being brought up. The desktop is the next milestone.
Download
Rvpc.rbxmx: import it into a Roblox place and press Play. You need your own firmware images and your own licensed Windows 98 SE CD and product key; see the README.
v0.2.0 - FreeDOS installable, 80-bit x87, task gates
Highlights
- FreeDOS 1.3 installs from CD onto the virtual HDD - partition, format, sys-transfer all Success; package diskettes auto-swap during install
- Full 80-bit x87 precision - 32-bit-limb arithmetic engine, all 190 precision vectors passing at performance parity with the old double-based path
- Hardware task gates - IDT task gates, far CALL/JMP to a TSS, IRET through the back-link, nested-task bookkeeping (the Win98 double-fault pattern)
- IDE/ATAPI completion-IRQ handshake fixes (PIC cascade level semantics, ATAPI interrupt-reason register)
- Paging TLB, MC146818 RTC wall clock/alarm/periodic IRQ8, PPI port 0x61, warm-boot IDE channel reset
- Studio shell: integer-scaled crisp VGA, live perf telemetry, 145 fps
- CI workflow running the full gate on every push
Notes
win98se.iso remains attached to v0.1.0 for testing, per the author-provision policy. Windows 98 SETUP is the next target - the current blocker is tracked in docs/WIN98.md.
v0.1.0 - the PC boots real firmware and FreeDOS inside Roblox
First public cut of RVPC, the 486-class PC emulator in Luau.
What works:
- Real SeaBIOS 1.17.0 + SeaVGABIOS run end to end: PIC/PIT/CMOS/A20/PCI/fw_cfg, boot menu, El Torito CD boot, floppy boot
- FreeDOS 1.3 boots three ways (floppy-emulation ISO, raw floppy through the 82077 FDC, LiveCD ISOLINUX to D:)
- IDE/ATAPI: PIIX3 PIO + BMIDE, packet commands, 512 MiB LBA validation, dirty-sector write-back
- 386/486 CPU: real/protected/V86 modes, two-level paging with a TLB, 486-class x87
- VGA mode 12h planar path + VBE/DISPI SVGA; NE2000 with a host-side virtual ISP (DHCP/DNS/TCP/HTTP)
- The Roblox client boots FreeDOS live in Studio at ~145 fps (change-only text uploads, live telemetry)
In progress: the Windows 98 SE installer boot - the CD menu and DOS startup menu run; the OTI-91x ATAPI completion handshake is the current blocker (docs/WIN98.md).
Assets: Rvpc.rbxmx (import into Studio, enable Mesh/Image APIs) and win98se.iso (the bootable OEM SE CD; the source repo never carries Microsoft media).


