top | item 24556714

(no title)

irth | 5 years ago

You don't need it to run DOS binaries on DOS.

discuss

order

glitchc|5 years ago

It’s not clear if this is DOS or a DOS shell that actually executes Linux binaries. The description is confusing, hence my question.

fl0wenol|5 years ago

It is literally DOS, so it executes real mode binaries natively.

Okay, actually, this is more like VMWare ESX in the 4.0 days. It's kind of, uh, inside out.

Basically it's DOS, which launches Linux via DSL, which then runs a task out of init in vm86 mode that uses KVM to _continue_ the DOS that launched it as if it were the only thing running.

The DOS doesn't know anything has happened, even though the rug has been pulled out from under it, and it is now running in a KVM VM guest. You just can't tell anything is different because all the BIOS/real mode stuff is unchanged.

You get your prompt back when a native Linux binary finishes but it's the linux kernel emulating the DOS session after that first command, until you reboot.