VOGONS


First post, by Jeff Lange

User metadata
Rank Newbie
Rank
Newbie

So, I've been working on a few DOS utilities that I thought I might want for an upcoming MS-DOS 7.1 build including:

DOSDRVEX (DOS Drive Extensions): A package including DOSLFNEX, DOSUSBEX, OPTDRVEX, and IMGDRVEX which add UDF 1.02 through 2.60, removable media large FAT, and NTFS support (along with long filename and large file handling) to DOS 7.1; swappable USB removable media, and CD image mounting with Redbook CD Audio support.

But in trying to sort out how that CD Audio support works (first a fork of SBEMU that added a way to mix that stream in) and developing this in various DOS and hardware emulation, I had the thought (that many others have had) that you really could just emulate DOS in DOS, and that a thin hypervisor could potentially do it extremely well, extending audio support for PCI devices appropriately to real mode, unreal mode, and EMS/NOEMS programs by hiding or showing those programs exactly what they want to see from DOS, virtualized or emulated (ideally on a second unused core).

Because there are numerous features that end up sort of tied together by all this, they have also been added in (e.g., CPU slowdown/speed control - allowing setting a specific target speed via automated system calibration), specifically to ensure compatibility without needing to run a bunch of different utilities. The goal is for minimal boot configurations and as little manual intervention possible, detecting the environment a program is expecting and providing that. The most difficult is EMS, but it currently detects a program failing to launch and remembers that then relaunches it with the correct view.

Technically it should support Windows 3.1x with Creative's Sound Blaster 16 drivers, but it will also have its own Windows 3.1x audio driver that can directly pass audio to the DOSVTX audio module for the best possible sound quality.

Targeted systems:
Multi-core AMD or Intel CPUs with AMD-V or VT-x (for myself specifically, the Pentium Dual Core E5800 on an Intel 865 chipset and Core i7-990X on an Intel X58 chipset)
PCI sound cards supported by SBEMU (for myself specifically, the Sound Blaster Audigy SB0090)
Typical optical drives (for myself specifically, the Sony BWU-100A)
MS-DOS 7.1 (ideally will also support MS-DOS 5/6 or at least 6.22)
Windows 3.1x (incl. Windows for Workgroups) in Enhanced 386 mode

NOTE: While I do have a programming background from many years ago, much of this work has been done with the help of Claude, primarily Opus 5.5. It has still taken a lot of time and direction on my part to get this even remotely working, and there's a lot of quirky hardware out there, so I really don't expect it to work out of the box for everyone, but I just thought I'd share the idea (and eventually the code) for anyone interested.

I am also working out all of the licensing requirements as it relates to code that has either been borrowed, extended and/or forked, I won't be posting any source or binaries until I work through what is required.

Planned architecture diagram in development:

The attachment 25cefb70-768c-42bd-b3b2-9c04eac0a68d.png is no longer available

(Also feel free to tell me I'm an idiot, I can take it)