VOGONS


First post, by Acorns

User metadata
Rank Newbie
Rank
Newbie

os8088 - An OS for the IBM PC @ 4.77MHz
Pre-emptive multi-tasking windowed OS
http://www.os8088.com
Releases: https://github.com/jggonz/os8088/releases

The attachment os8088.png is no longer available

I'm one of the contributors to os8088; posting here about it as it has no thread yet.

os8088 is entirely AI written - I think I am the only one who had manually contributed any code, and I recently had the AI rewrite those sections after removing them. It is heavily directed; I'll make a later post about the development process.

There are appropriate places for an AI discussion and debate; but I'd prefer this thread not devolve into that.

The project was started roughly 3.5 months ago, in late July/early Aug of 2026. The OS is not based on DOS, or any previously existing code - it is a brand new, from scratch OS. The OS is designed to be FAST on a 4.77MHz 5150 - in general, it holds up to "modern" speed sensibilities. Boots in as little as 9.5s from a floppy - or 3.5s from a hard drive.

The kernel and most apps are written in assembly; a C compiler exists but is not very efficient yet. The OS is a multitasking, pre-emptive (live switchable to cooperative) windowed OS vaguely in the style of System 1.

Kernels
There are three kernel builds (exact used/free memory sizes are subject to change as we develop):

Small: an 8088 w/ 128KB - 256KB RAM

  • Real mode
  • Reduced hardware support in exchange for running on low RAM systems
  • Resident kernel size: 56KB
    • 70.5KB free heap on boot on a 128KB system (1.5KB is interrupt vectors/BIOS data)
    • 92.5KB free heap with the option ROM (stores part of the OS in the 5150's ROM sockets)
  • Runs all of the smaller games/applications
  • No drivers, no VGA, no double click file open; most of the rest of the OS is still there

Big: an 8088 to 286 w/ 256KB - 640KB RAM

  • Real mode
  • The "standard" os8088
  • Most work is focused here
  • Resident kernel size: 90.5KB
    • 548KB free heap when booting on a Hercules/CGA 640KB system, before drivers
    • 585KB free heap with the option ROM, or HMA (some drivers can fill the rest of HMA)
  • Hercules/CGA/EGA/VGA display support
  • Driver support - dynamically reloadable without reboot
    • VGA (autoloaded if detected)
    • Mouse (Serial, PS/2, a handful of USB mice, keyboard acts as a mouse if nothing else) (autoloaded if detected; serial is polled for until found if not detected at boot)
    • Keyboard (XT, AT, PS/2) (assumed present)
    • Sound (Sound Blaster, AdLib, Covox) (autoloaded if detected)
    • Hard drives (BIOS/option ROM/IDE) (autoloaded if detected)
    • Ethernet (NE2000)
    • File/network sharing with DOS over parallel
    • RAM drives
    • Remote drive mounting over HTTP
    • CD-ROM
    • XMS (autoloaded if detected)
    • EMS (LoTech style, PicoMEM)
    • VESA (up to 1024x768)
    • PicoMEM V1/V2 (Sound, Ethernet, USB mouse, EMS, hard drive/floppy) (requires a custom firmware for sound and optimal hard drive speed; it's in the release tools)

Mega: a 286+ w/ 1MB - 16MB RAM

  • A protected mode kernel
  • The newest project; currently the Game Boy emulator is the only thing taking full advantage of it
  • Everything Big has, plus further speed optimizations
  • Resident Kernel size: 131KB
    • 890KB heap free on boot, on a 1MB system

Some Features

  • Actual multi-tasking - multiple programs run at once, and can run and draw when not in focus
    • Pre-emptive multi-tasking on an 18.2Hz PIT
    • Live switchable to cooperative mode
  • RTC/Clock
    • Motorola MC146818 / Dallas DS12885 (70h/71h)
    • NS MM58167 (SixPakPlus) (2C0h)
    • Ricoh RP5C01 / Toshiba TC8521 (2C0h)
    • int 1Ah (if the BIOS provides it)
  • Drive detection
    • Floppy and hard drive; including drives not matching the BIOS configuration
  • Single drive operation
    • The OS is memory resident after boot
    • Single floppy drive usage with a non-system disk in the drive after boot is a first class consideration
    • Only configuration/system utilities/unloaded drivers remain on the system disk and are read on use, the rest is in memory
  • Memory management
    • Claim memory in paragraphs, with 512B increments (easy DMA alignment; arbitrary paragraph claiming is implemented but not enabled)
    • Kernel low, programs high
    • Ranked purgeable claims
    • Dynamic window, disk and module caches as purgeable claims
    • Compaction, purging on demand
    • All claims not actively being executed in/written to by DMA are movable and compactable
  • Hibernation
    • Save memory state to a disk and resume, with live program and driver resumption
  • Window management
    • Minimize, maximize
    • Drag and drop positioning - move windows around, and use a shadow buffer to avoid needing a full redraw
    • Resizable, with drag and drop resizing (per program opt-in)
    • Damage rects - redraw only what has changed
    • Save under - cache framebuffer images to replay, redrawing a window only when it has actually changed
  • UI elements
    • Shared buttons with press animations
    • Scrollbars, with draggable live scrolling
    • Radio buttons, checkboxes, textboxes, etc
  • Graphics
    • Blits, framebuffer compose, lines, rects, points, icons
    • Graphics calls handled transparently to an application across display types
    • BIOS font OR a custom font (at build time, currently) for use in graphics modes
  • Desktop
    • Disk drive icons
    • Shortcuts
    • Drag and drop icon repositioning
    • Sticky apps on the desktop
  • Extended desktop
    • Any two displays at different memory addresses - so Hercules + any one other
    • Drag windows across the displays, straddle windows between two displays
    • Programs with display preferences automatically resize and reflow for the smaller display they are on
    • Programs with a fullscreen display preference autopick their preferred display, else they go to the one they are mostly on
  • Packages
    • Single or multiple 'parts' to hold code/data
    • Multiple 64KB code segments
    • Parts support compression (LZ4/LZB)
    • Data parts (larger than 64KB), lazy loadable to support on the fly data loading
    • Embedded icons and file type associations per package
  • File management
    • Transparently use any disk type, including redirectors (HTTP, remote DOS drive, RAM drive, etc), to manage files
    • View, recursive copy, move (including by relink), delete, rename, create new directories and files
    • Icons per application and file type
    • File type associations on an OS that is fully intended to boot and run from swappable disks
    • Mount .img as a drive
    • Clone disks, disk to .img, .img to disk
    • Compress/uncompress (LZ4/LZB)
    • Rejoin a split file (including across multiple disks)
    • See disk/file operation progress as it occurs
    • Create links by alt-dragging any file
  • Autostart
    • Place any link into /AUTOSTRT to autostart it
  • Hard drive management
    • Partition, format, install to a hard drive
    • Boot from a hard drive in ~3.5 seconds
    • Primary and logical partitions, up to 2GB
  • Theming
    • Style, color scheme, window titlebar style
    • Dock positioning and hiding
    • Window open/close/minimize animations
    • Screensaver (Cube, Fish, Starfield, Shapes, Blank)
  • Task viewer
    • View running programs
    • View a RAM map and RAM usage
  • Control Panel
    • Configure the display, drivers and other OS options
Last edited by Acorns on 2026-11-20, 20:14. Edited 1 time in total.

Reply 1 of 2, by Acorns

User metadata
Rank Newbie
Rank
Newbie

Applications
os8088 has a wide variety of applications and games; most are simple versions of their concept, but some have been developed to be quite impressive. This list will likely be out of date almost immediately; you can browse all current applications, and manuals with screenshots, at:
https://os8088.com/docs/#disk-guide

Productivity

  • Note Pad
    • A basic text editor, with a lot of tricks to make it work at speed on a 4.77MHz machine. Deciding when to wrap each row of text, and how and where to display each character, is taxing for a machine this slow. So as you type it will press one line down and then scroll the framebuffer data, not needing to reconcile until you stop typing. Many other similar tricks made it work at an acceptable speed.
  • Microsoft Word
    • A native recreation of Microsoft Word for Windows 1.1a, following the source code Microsoft released through the Computer History Museum. This learned all of the tricks of Note Pad - and then added more of its own, including support for proportional fonts and font styling.
  • TeXPad
    • A TeX editor; write in one panel, then view the laid out TeX in the other. Also uses Note Pad's tricks for speed in both panels. Can export to PDF.
  • Sheet
    • A spreadsheet application, including support for basic formulas that can reference other cells. Not yet optimized.
  • Chart
    • A pair to Sheet, shows graphs and charts of Sheet data. Also not yet optimized.
  • Calculator
    • A basic calculator.
  • ArtfulType
    • A direct port of Action Retro's macOS AI markdown editor. Further optimized to run on this much slower system.
  • Timer
    • A very simple stopwatch - originally one of the "builtin" application demos.
  • Sticky Note
    • One of the "StickyApps" applications - leave post-it style notes on your desktop.
  • Desk Calendar
    • One of the "StickyApps" applications - a calendar with appointments and reminders to stick to your desktop.
  • Desk Clock
    • One of the "StickyApps" applications - a clock you can stick to your desktop, in a variety of styles.

Graphics and media

  • Paint
    • A basic painting app, optimized heavily to allow drawing at thicker brushes than other early paint-type apps on a 4.77MHz CPU. Save/load in GIF or BMP.
  • PiXEL
    • An image viewer for JPG, GIF (including small animations), BMP and PNG. Zoom, scroll and pan in an image.
  • Video Player
    • One of the most heavily optimized and developed apps.
    • Watch full-motion video on a 4.77MHz 8088.
      • Similar to XDC, but using its own format and many other optimizations.
    • Watch videos fullscreen, but also live on the desktop while the OS continues multi-tasking.
    • Pause, seek and resume from keyframes.
    • Support for basically every screen mode the OS knows of. Encode for all of the CGA color trick modes.
    • Sound over Sound Blaster or PC speaker timed by a PIT.
    • Makes extensive use of XMS/EMS when available to optimize for later systems.
    • See the "Video Demo" hard drives in the GitHub release for demo video encodes.
    • The tools zip includes a Python GUI to encode your own videos, and you can drag and drop any of the demo videos onto it to see the parameters it was encoded with.
    • https://www.youtube.com/watch?v=5VE8-Qwe608
    • https://www.youtube.com/watch?v=B2gtyRtmwMw
  • Audio Player
    • Stream WAV files from a disk, while the OS continues multi-tasking live.
  • XTMP3
    • An MP3 player that adapts to the machine's speed; for the slowest machines, transcode to WAV.
  • WaveRack
    • A sound recorder, WAV player and waveform editor.
  • MIDIRack
    • Play MIDI files over a wide variety of sound outputs, including to a MIDI keyboard.
  • Tracker
    • A MOD player with two fullscreen visualization modes.
    • Play MODs over Sound Blaster or PC speaker.
  • Piano
    • A simple PC speaker or AdLib keyboard.
    • Record then play back your own creations, or play a couple of builtin songs.
  • CDRack
    • Play CD-ROM audio (only on systems with a CD-ROM drive that the driver can detect).
  • Fractal
    • Display a variety of fractals.
    • Progressively refines the fractal on screen.
  • Weave and Loom
    • Develop web-style apps, then compile them on the same system into a bundle.

System apps

  • Task Manager
    • View running programs and their memory usage.
  • System Check
    • Clean up files, defragment, and fix disk/drive issues.
  • Install
    • Install os8088 to your hard drive.
    • Can install/autoupdate over a network.
  • Redline
    • Benchmark for graphics and CPU.
    • View information about your system.
    • Tune/overclock your bus.
    • Apply tunes on startup.
  • Font Viewer
    • View any included fonts.
  • Mixer
    • For sound hardware that supports mixing options, configure and change those options.
  • The Wire
    • Download and run os8088 software from the website, over a network.
  • os8088 DOS
    • Invokes DOS programs in a DOS 3.3 like environment.
    • Provides int 21h, int 33h, etc.
    • Packet driver support when running inside the OS.
    • Runs fullscreen, or for text mode/TopView aware apps live in a window in the OS.
    • Supports optionally hibernating os8088 then running a minimal kernel and int 21h stack for up to 590KB free RAM, or up to 620KB free RAM with HMA in Kern Mega.
    • Faster disk I/O than MS-DOS.
  • WIN16
    • Runs Windows 3.x programs in an os8088 window.
    • Provides a basic set of WIN16 APIs, ported from WINE.
    • New; not optimized yet, so many drawing calls are very slow.

Networking

  • Browser
    • A native HTTP web browser.
    • Display any early web page, fetched from any connected network source.
    • Browse the modern web with an HTTPS->HTTP Python proxy, included in the tools release.
  • Telnet
    • Connect to any telnet server.
    • Support for multiple character sets, working with most BBSes.
  • FTPD
    • An FTP server for transferring files to and from your old PC.
  • WireChat
    • Chat rooms and messages over a network.

Emulators

  • C64
    • A Commodore 64 emulator, reimplemented from VICE then heavily optimized.
    • Runs simple demos full speed on a 286 with sound and color.
  • APPLE2
    • An Apple II Plus emulator.
  • RunCPM
    • CP/M 2.2 emulator.
  • RealDMG - Game Boy emulator
    • Interpreter, dynamic recompiler and static recompiler.
    • Run a basic GB demo at 100% CPU speed and ~6 FPS on a 4.77MHz IBM PC.
    • Run Super Mario Land at a playable 14-60 FPS on a 286.
    • Precompile a GB ROM for Kern Mega to take full advantage of XMS, allowing a full larger ROM in memory.
      • Prevents bank swapping/recompiler rebuilds mid play.
  • Frotz
    • Infocom/Z-machine text adventures.
  • ARCADE
    • Seven arcade games running the original boards' programs.
    • Space Invaders / Q*bert and a few others run full speed on a 4.77MHz IBM PC.

Games

  • Minesweeper - the classic game, with no frills.
  • Solitaire - a simple Solitaire game.
  • Arkanoid - another classic, optimized for speed.
  • Missile Command - the original style on a 286+, or optimized so it runs on an original IBM PC.
  • TameGram - a Tetris-like puzzle game.
  • Cyclone 88 - a Tempest style game.
  • Tank Attack - a wireframe tank duel, in the style of Battlezone.
  • Clear Skies - a heavily optimized filled-polygon flight simulator.
    • 8 maps, 5 planes - each with their own specialties.
  • Pixelstein 3D - a raycast shooter in the style of Wolfenstein.
    • Fight guards and dogs over multiple levels.
    • Detail levels allow play on a 4.77MHz IBM PC, up to textures and effects on a 286.
  • Dot Delirium - a Pac-Man style game.
  • Gorillas - a native port of the classic BASIC game.
  • DrMarco - a Dr. Mario style game.
  • 1942 - a vertical shooter, using CRTC tricks to vertically scroll.
  • isoTron - a light-wall duel in a raised 3D arena.
  • WireBall - Pong over a null modem cable.
  • WireFleet - a Battleship style game, supporting multi-player over a null modem cable.
  • Wire Arena - a 3D, mouse free-look, multiplayer arena shooter with bots, playable online.
    • 10 arenas, 6 weapons, up to 4 players or bots at a time.
  • Video Battle - play a series of joined videos, to simulate an RPG combat battle.

Reply 2 of 2, by theelf

User metadata
Rank Oldbie
Rank
Oldbie

Wow, is amazing! I started my WM shell around 8 years ago, maybe a little more, and in less than four months your project is way more evolved than mine

I would like to try programming with AI too, but I still dont find what project can help me, because the ones I program by hand I do it just for fun. It would be interesting to find things where I can advance fast and do the tasks I dont like so much