Menu

Post image 1
Post image 2
1 / 2
0

How to Build and Run Microsoft's Newly Open-Sourced DOS Source Code

DEV Community·Alan West·about 1 month ago
#WPJPI3jX
Reading 0:00
15s threshold

So Microsoft just dropped what they're calling the earliest DOS source code ever discovered, and naturally, my first instinct was to try building it. If you had the same idea and hit a wall of cryptic assembler errors, you're not alone. Here's how I got it compiling and running on a modern machine, and what I learned about 8086 assembly along the way. The Problem: Ancient Assembly Meets Modern Toolchains The DOS source code is written in 8086 assembly — we're talking circa early 1980s, before most of us were born (or at least before we were writing code). You can't just clone the repo and run make . The original toolchain doesn't exist anymore, modern assemblers choke on the syntax, and even if you get a binary out, you need something to actually run it on.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More