返回资讯中心
外部精选
软件工程
#开发者实时流

DOS95推出自研32位操作系统,可从DOS启动并运行Windows程序

来源标题:A new 32-bit operating system

DOS95发布了一款拥有独立32位内核和自研窗口系统的操作系统,并非Linux或模拟器。它从DOS启动后接管PC,通过Wine 11服务运行Windows程序,并内置应用商店提供LibreOffice、GIMP、Blender等软件。

Hacker News 最新JoelLagace2026/11/30 · 今天28 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

DOS95 is a real operating system with its own kernel and its own window system — not Linux, not an emulator. A polished desktop with crisp, smooth text, full-colour icons and HD wallpapers, IceWM themes as its Windows themes, today's Windows programs through Wine 11, and an App Store with LibreOffice, GIMP, Blender and Unreal Tournament.

Short demos from the GETDOS95 channel on YouTube, recorded on DOS95 itself. Click one to play it here.

The taskbar, Start menu and Explorer you already know, drawn with today's care: smoothed fonts, gradient title bars, high-resolution icons and photographs. Underneath, a system of its own.

Its own 32-bit kernel

Preemptive and multi-core with a run queue per processor, demand paging, drivers loaded by device ID and TCP/IP built in. It starts from DOS, the way Windows 95 did, then takes over the PC.

Its own window system

A window server, shell and desktop written for DOS95: Explorer, Control Panel, Recycle Bin, shortcuts, Alt+Tab, Quick Launch and the tray, and a Task Manager with a graph for every core.

Windows programs

Wine 11 runs as a system service, so Windows programs start as native processes in real DOS95 windows, in the desktop's look — 32-bit, and 64-bit on an x86-64 PC.

Light, and measured

Runs in 32 MB. From the installed disk to the desktop in about six seconds. The pointer, keyboard and sound never stop, and a crashed service comes back on its own.

Why invent a theme format when a free one has fitted this kind of desktop for twenty years? DOS95 reads IceWM's themes as they are — and every one of them dresses the whole system: window frames and title buttons, menus, the taskbar and Start button, dialogs, scroll bars, every control, and Windows programs too.

An App Store of signed packages, each installed, started and checked on DOS95 by an automated test before it is published. DOS95 Update brings fixes the same way.

Also: Firefox ESR, Audacity, MuseScore, Scribus, OpenSCAD, Python, Code::Blocks with MinGW, LMMS, VLC, 7-Zip, Notepad++, KeePassXC, SumatraPDF, WinSCP, PuTTY and more.

3D through Mesa across every core, Direct3D through Wine, 3dfx Glide through OpenGLide.

Running DOS, Windows and Macintosh programs has usually meant several machines or several separate emulators. On DOS95 they are three kinds of program on one system: their windows side by side, one taskbar, one set of drives, one sound mixer and one clipboard.

One screen, captured as it is by DOS95's own boot test (tests/boot/test_site.py), default look, unretouched.

Every DOS box is real MS-DOS 7.1 running directly on the processor in V86 mode, as Windows 95 did it — not an emulated PC. Several at once, in windows or full screen with Alt+Enter.

Proven with DOOM, Wolfenstein 3D, Duke Nukem 3D, Quake and dozens more.

A whole Windows 3.1 session in its own window, Program Manager and all, on DOS95's own drivers: true colour, Sound Blaster sound and MIDI, the network, printing, and the clipboard shared with the desktop.

Executor 2000 Pro is built into DOS95 the way Wine is: Mac programs from System 7 to Mac OS 9, 68K and PowerPC, with no Apple ROM and no Apple system software — Executor re-implements the Mac's Toolbox the way Wine re-implements Windows.

Each Mac window is a DOS95 window of its own, beside DOS boxes and Windows programs. While Mac programs run, the Mac's menu bar sits across the top of the screen; it goes when the last one quits. Opening a Mac program, document, archive, disk image or CD starts the session by itself.

Each Mac program's front window has a taskbar button; Minimize hides it and Close is Command-Q. A crash ends only the Mac session, never the desktop — Retry brings it back.

Text and pictures on one clipboard with Windows and DOS95 programs. Mac sound mixed on DOS95's sound server, Mac CDs and CD audio, printing, game controllers and serial ports.

A game that wants a larger mode gets the whole screen, with no taskbar over it; when it quits, the menu bar and the taskbar come back and the session goes on.

From the Run box to the Finder in 2.5 s; the Finder ready in 1.6 s on a 32 MB PC. An idle Mac session takes 4% of the processor.

The Mac's processors are not the PC's, so their code has to be translated. DOS95 compiles it: PowerPC and 68K code become native x86 code as programs run.

Integer arithmetic, every load and store, every branch and the floating-point unit compiled to x86 and SSE2, blocks linked straight to blocks, the busiest guest registers kept in the processor's own.

Duke Nukem 3D: the interpreter's share of its time 68% → 0, and 16 → 31 screens a second uncapped. Where PowerPC code held a 3D game back, its frames went up 1.3–2.4×: Cro-Mag Rally 26 → 54, Descent 3 32 → 76.

The 68K code of the earlier Macs: its hot blocks compiled into x86 code, the rest through syn68k's interpreter. Brought back for DOS95 from syn68k's own i386 code generator.

Most classic 68K programs spend their time in the Mac's Toolbox, which Executor runs as native code already; compiled 68K code pays where a program's own code does the work.

Measured with DOS95's own tests (docs/design/executor.md). Bars share one scale. A range is drawn from its low end (solid) to its high end; speeds on a shared host move by about 20% between runs.

PowerPC games draw through OpenGL, QuickDraw 3D, RAVE and Glide, all on DOS95's Mesa; their sound is mixed by DOS95's sound server, and full-screen modes take the whole screen.

Measured in play on one virtual processor (QEMU/KVM, 1 GB) with Mesa's llvmpipe and no graphics card, before the PowerPC translator. These games are bound by drawing: more processors give llvmpipe more threads.

Also in the App Store: Descent 3, Star Wars Ep. I Racer, Marathon, Carmageddon, Lemmings, Prince of Persia, Glider 4, Shanghai II, The Oregon Trail, Kid Pix, MacWrite and more. Mac programs need a processor with SSE2.

A complete, everyday system — each feature checked by an automated boot test that drives the real system.

A wizard with the mouse from the first page: partition and format, name the computer, choose components, then install with a progress bar.

TCP/IP with DHCP and DNS; Winsock 2 and HTTPS for Windows programs; Network Neighborhood over SMB 1, 2 and 3, and folder sharing.

A sound server mixes every program ahead of the card with no gaps under load; recording, MIDI, and a Volume Control in the tray.

A spooler with Ghostscript: PCL, ESC/P and PDF on parallel and serial ports, from every kind of program.

FAT12/16/32 with long names, exFAT, CDs with Joliet and Rock Ridge, NTFS and ext2/3/4 read-only.

Compilers and the frozen system interfaces for new DOS95 programs; DOS95's own Media Player plays MP4, WebM, AVI and MP3.

One system from a 486 to today's multi-core PCs. Setup looks at the processor and memory and picks the right defaults: lighter on an old PC, everything on a new one.

Legacy BIOS, VESA graphics, Sound Blaster, an IDE disk of 1 GB. The full desktop and DOS boxes, with lighter defaults.

Pentium 4 class or newer, for Mac programs through Executor.

64-bit Windows programs beside 32-bit ones, on the same 32-bit kernel.

UEFI-only firmware, NVMe, AHCI, xHCI USB, HD Audio. Every core used.

BIOS PCs directly; UEFI-only PCs through CSMWrap with SeaBIOS (Secure Boot off). One hybrid ISO for a CD or a USB stick.

Display drivers for QEMU, VirtualBox and VMware SVGA II, and the network and sound cards they emulate.

IDE, AHCI, NVMe, CD/DVD, floppy; USB 1.1 to 3; Sound Blaster, AC'97, HD Audio, USB Audio; Intel, Realtek, AMD and virtio network cards.

ACPI power-off and restart, suspend to RAM, and Shut Down back to the DOS prompt.

Everything DOS95 has a driver for today. Where a line says "every one", one driver takes every device of the kind, whoever made it.

Measured on virtual machines with DOS95's own tests.

Nothing is re-invented that already does the job. DOS95 stands on these projects, and thanks everyone who builds them.

A new 32-bit operating system with its own kernel, window system and shell. Like Windows 95, it starts from MS-DOS: the PC boots DOS, then DOS95 loads its kernel, takes over the machine and starts its desktop. Shut Down hands the PC back to DOS as it was.

None of these. Windows programs run as native processes through Wine and DOS programs directly on the processor in V86 mode — no PC is emulated. The classic Mac's 68K and PowerPC code, made for other processors, is compiled to x86 code as it runs, and Executor re-implements the Mac's system around it.

They are free, there are many of them, and they were made for exactly this kind of desktop: a taskbar, a Start button and framed windows. DOS95 reads them as IceWM does and applies them to the whole system, so nobody has to invent and fill a new format.

V86 mode, which runs DOS boxes at full speed, exists only in 32-bit mode. DOS95 keeps its 32-bit kernel and, on an x86-64 PC, switches the processor into 64-bit mode for 64-bit programs, as Mac OS X 10.5 did.

No. Everything comes on the DOS95 disc. Setup installs MS-DOS 7.1 itself — DOS95 starts from it, as Windows 95 did — and in the beta Windows 3.1 comes built in, ready in its own window (the final version sets it up from your own copy; see What's next). Windows programs and Mac programs need no Microsoft or Apple system files.

Yes. DOS95 is tested in QEMU (from a 486 to a modern PC, one to eight processors) and in VirtualBox on its default BIOS firmware, with display drivers for QEMU, VirtualBox and VMware. For QEMU, the DOS95 QEMU Launcher sets it all up for you, on Windows and Linux.

3D drawn by the graphics card VirtualBox, VMware and QEMU give a virtual machine, not only by the processor.

Its compatibility completed and tested with real Windows 3.1 programs, from the accessories to full multimedia titles.

An optional App Store wizard that sets up Windows 3.1 from your own installed copy, with DOS95's drivers and settings, in a few simple steps.

Windows 3.1 is included in this beta as abandonware, for convenience, as a way to debug and test DOS95. It will not be included in the final version: there, the wizard sets it up from a copy you provide.

DOS95 is in beta. Builds will be published on this page.

Boot it on a PC or in a virtual machine, BIOS or UEFI, with the graphical Setup. 488 MB.

USB stick image (the same 488 MB file) for a stick of 512 MB or more.

A 2 GB disk image with DOS95 already installed, for virtual machines.

DOS95 1.0 Beta 1 · Release notes · SHA-256 checksums

Optional: the DOS95 QEMU Launcher runs DOS95 in QEMU, the free PC emulator, set up the way DOS95 is tested — pick the install CD or the ready-to-run disk, then Start.

The launcher with QEMU 8.1 included, at full speed: Intel HAXM on Intel PCs (Hyper-V off, as VirtualBox runs), the Windows Hypervisor Platform on others. Windows 10 or 11, 64-bit. 41 MB.

The same launcher for a Linux desktop, with your distribution's QEMU — and with KVM, DOS95 runs at the processor's own speed. 28 KB.

DOS95 QEMU Launcher 1.0 · SHA-256 checksums

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →