https://github.com/haileys/doslinux Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} haileys / doslinux Public * Notifications * Fork 42 * Star 1.3k Run Linux programs on DOS License View license 1.3k stars 42 forks Star Notifications * Code * Issues 15 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights haileys/doslinux This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/h] Use Git or checkout with SVN using the web URL. [gh repo clone hailey] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @haileys haileys implement BIOS keyboard service instead of emulating PS2 keyboard ... 62cd63e Sep 26, 2020 implement BIOS keyboard service instead of emulating PS2 keyboard 62cd63e Git stats * 68 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time init script .gitignore LICENSE Makefile README.md busybox-config doslinux.asm linux-config-doslinux mtoolsrc View code DOS Subsystem for Linux Building README.md DOS Subsystem for Linux A WSL alternative for users who prefer an MS-DOS environment. DOS Subsystem for Linux integrates a real Linux environment into MS-DOS systems, allowing users to make use of both DOS and Linux applications from the DOS command prompt. [178898715-] Building * You will need a cross toolchain targeting i386-linux-musl on PATH. https://github.com/richfelker/musl-cross-make is a tool that can build one for you with minimal hassle. Set TARGET to i386-linux-musl. * Build the prequisites (Linux and Busybox) by running J=xxx script /build-prereq, replacing xxx with the desired build parallelism. * You will need a hard drive image hdd.base.img with an installed copy of MS-DOS on the first partition. * Run make This will produce a new hard drive image hdd.img with DOS Subsystem for Linux installed. Invoke C:\doslinux\dsl to run Linux commands. C:\doslinux can also be placed on your DOS PATH for greater convenience. About Run Linux programs on DOS Topics linux dos wsl Resources Readme License View license Stars 1.3k stars Watchers 39 watching Forks 42 forks Report repository Releases No releases published Packages 0 No packages published Languages * C 78.7% * Assembly 18.1% * Shell 1.6% * Makefile 1.6% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.