| ▲ | dardeaup 4 days ago | |||||||||||||||||||||||||||||||
Curious as to whether there are any real-world use cases for doing this (other than curiosity) in DOS. If so, I'd love to hear about them. | ||||||||||||||||||||||||||||||||
| ▲ | comprev 4 days ago | parent | next [-] | |||||||||||||||||||||||||||||||
I used FreeDOS once to run ancient software which controlled an industrial size oven. The client was having an ever increasing challenge of sourcing IDE disks (in 2008) so I was contracted to find a solution. Eventually we settled on industrial PCs, solid state media and FreeDOS. It was significantly cheaper than replacing the oven at £1M each.... in 50 of their factories worldwide. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | 1313ed01 4 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
I hobby-code for DOS, partly because of nostalgia, but much also because it (specifically DOSBox, or DOSBox-X) is such a fantastic and stable virtual machine. No one is going to deprecate even some minor part of the API. And some emulators give you fun features like allowing any screen resolution to be set up to run in fullscreen on a modern monitor (exposed using standard VESA API inside of DOS). There are some other retro computer or consoles that could probably be just as useful for this. But DOSBox (as well as QEMU+FreeDOS, for those that prefer that) are nice because they have fully open source implementation from the CPU-level up to the user utilities, so there is no need to mess with dodgy ROM downloads or such to get things working. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | grg0 4 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
I have it on my to-do list to install FreeDOS on bare metal to set up a retro gaming box. Tried once, but for some reason the installer failed writing to disk. Anyway, if anyone is making new FreeDOS games, I'll gladly pay for them, and it'll give me an excuse to go down that avenue again. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | jabl 4 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
(Not development in C) I've used FreeDOS for doing BIOS updates. In the pre-UEFI days it was common for manufacturers to provide BIOS updates as a DOS executable, apparently with the expectation that the customer would be able to dig up some old MS-DOS disk somewhere. I suppose nowadays there isn't much use for that anymore thanks to doing FW updates via UEFI capsules. Though at least on the Linux side (LVFS/fwupd) it seems most PC clone vendors aren't on board yet. | ||||||||||||||||||||||||||||||||
| ▲ | unnouinceput 4 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Almost zero, the non-zero ones are about supporting legacy software/hardware. Also I would not touch C on any DOS platform, since the great Turbo Pascal exists for it. Nothing else even compares to it. | ||||||||||||||||||||||||||||||||
| ▲ | kragen 4 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
MS-DOS was a reasonable bootloader for Linux and Windows 95; I imagine FreeDOS might be a better one if you wanted to do hobby OSDev. Historically you could get hard real time performance for things like controlling steppers from your parallel port under MS-DOS, but nowadays you'd just use Freeduino or an iCE40. Also maybe brushless motors. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | actuallyalys 4 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||
I suppose there could be a use for programming for computers that would otherwise be ewaste, although I'm not sure how much ewaste is out there that can run DOS but not, say, Linux or a BSD. Lots has already been trashed or recycled, and my impression is that retrocomputing enthusiasts are thinning out the market as well. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||