July 3rd, 2024

A blast from the past: Disassembling DOS (2020)

The text explores disassembling MS-DOS, focusing on INT 21h functions and dissecting files like IO.SYS. It discusses reverse engineering, legal aspects, and the microkernel nature of DOS for deeper insights.

Read original articleLink Icon
A blast from the past: Disassembling DOS (2020)

The text discusses the disassembly of MS-DOS, focusing on understanding its internal workings by examining key functions like INT 21h. It explains the importance of disassembly in uncovering how DOS functions, especially when source code is not available. The chapter delves into dissecting DOS files like IO.SYS and MSDOS.SYS using tools like DEBUG to reveal the code handling INT 21h calls. It also touches on the legal aspects of reverse engineering and the availability of Microsoft's DOS OEM Adaptation Kit for deeper insights into DOS internals. The narrative distinguishes DOS from its components like COMMAND.COM and highlights the role of INT 21h functions in DOS operations. The discussion emphasizes the microkernel nature of DOS, likening it to a base for various extensions from Microsoft and third-party vendors. Overall, the text provides a detailed exploration of disassembling DOS to gain a comprehensive understanding of its functioning beyond surface-level interactions.

Related

Creating New Installation Media for MS-DOS 4.0

Creating New Installation Media for MS-DOS 4.0

Microsoft released MS-DOS 4.00 source code in 2024, prompting the community to develop MS-DOS 4.01 due to missing official media. Challenges arose in recreating installation media, including creating stub executables and addressing missing files. Installation from floppies had mixed results, with various disk downloads provided for users. Feedback is welcomed on fabulous.community.

Looking ahead to 30 years of FreeDOS

Looking ahead to 30 years of FreeDOS

FreeDOS, an open-source DOS implementation, marks its 30th anniversary on June 29, 2024. Created in 1994 as a response to Microsoft's DOS phase-out, it provides a free alternative for running programs efficiently.

A FORTH compiler tutorial in x86 asm (2009)

A FORTH compiler tutorial in x86 asm (2009)

This text introduces a tutorial and compiler for FORTH, a minimalist programming language known for creating complete operating systems in a few thousand lines. It covers FORTH's structure, direct threaded code, setup on Linux, and additional learning resources.

30 years later, FreeDOS is still keeping the dream of the command prompt alive

30 years later, FreeDOS is still keeping the dream of the command prompt alive

FreeDOS, a 30-year-old public domain DOS version, persists for legacy applications on modern systems. Creator Jim Hall notes sustained interest despite uncertain future, emphasizing its significance in MS-DOS-compatible systems.

What I've learned about Open Source community over 30 years

What I've learned about Open Source community over 30 years

The FreeDOS Project, marking its 30th anniversary in 2024, underscores community's significance in open source endeavors. Emphasizing collaboration, communication, and open access, it anticipates sustained progress with community backing.

Link Icon 5 comments
By @dfox - 5 months
I always wondered how it is possible that MSCDEX is not an actual driver but mere TSR and now I know: CDs look like network shares to DOS. I suspect that there is some reasoning behind this “design” (different filename conventions on ISO-9660?), but it stills seems like one giant kludge.
By @msla - 5 months
> The "what" part is difficult to answer, except to note that DOS is in many ways what textbooks on operating systems call a microkernel. DOS provides a small bare minimum of services, on top of which other, more sophisticated, services can be built.

I think I heard Tanenbaum twitch.

By @fourthark - 5 months
I saw Schulman present how he discovered the dirty tricks Microsoft used to hobble Windows betas on DR-DOS, using similar techniques. This was at Ralph Nader's Appraising Microsoft conference in 1997.

It's covered in another of his books, Undocumented Windows.

Impressive work, and very brave at the time.

By @ForOldHack - 5 months
This is some brilliant interpretation. Wish he would take a look at both the origin of task switching and the Xenix boot loader.
By @navjack27 - 5 months
Why does this have so many layout errors or typographical errors or something going on? There are just a lot of repeated paragraphs or sentences for seemingly no reason.