WHY did you need DOS??? Use an XP VM? Some sort of Linux emulator? Flashing the firmware on a device manufactured long after the existence of DOS had been forgotten for most major hardware producers...
so many questions!
The alternative is correctly disabling the device under Windows/Linux/whatever, flashing the firmware, and re-enabling it, which is a process likely to have bugs and potentially result in bricking the device. Modern operating systems are big and constantly doing things in the background that may interfere with the firmware flashing process.
I have not yet found an equivalent of the `debug` command for Linux. Ppl told me `gdb` could do the same but I found debug easier to use.
More modern formats (be it PE, ELF, Mach-o, ...) are far more complex, with many different segments, running in a more complex CPU mode, generally dynamically linked, and all the other bell and whistles. So even if you had an identical debug.exe for Linux, it would still be much harder to make sense of.
This is inaccurate. A DOS .com executable has no header whatsoever. It is literally just the program code and data with absolutely no metadata at all. It is loaded at memory address 0x100 and then execution begins, also at 0x100.
It is possible to have a 0 byte .com executable and it will perform a useful function. 0 bytes are loaded to 0x100 and then execution begins at 0x100, effectively re-running the last program run. Commonly such a file was named "go.com".
https://www.networkworld.com/article/2223927/why-this-linux-...
Aside: most of my interest here is classic BBS software and doors.
I remember "DOS for Dummies" (the seminal Dummies book) being helpful when I was starting out; you can probably find a used copy for the cost of shipping at this point.
It has a package repository which is cool.
But DOS is DOS, it is limited. If you don't think it's cool, I guess you're outside of its scope :).
Proceed with the pitchforks and stake burning.
- old dos games
- turbo pascal 7 coding sessions
600kB of pure joy
taught me one thing though, having a hard coded IDE hurts. I missed emacs so damn much..
Dosemu requires you provide the OS so I use FreeDOS.