4 ms·
In DOS everything was a file too. Its not just *nix.
by Craiggybear 15y ago
In DOS everything was a file too. Its not just *nix.
- colanderman 15y agoDefinitely not. Once you got past CON, LPT1, and COM1, it was BIOS calls and I/O ports all the way.
- Craiggybear 15y agoCOM and LPT are files, though. And can be treated as such. As in COPY *.PS LPT1: Devices such as screens were treated as files by their device drivers as well.
- colanderman 15y agoCOM and LPT are files, though. Right, that's what I said. Devices such as screens were treated as files by their device drivers as well. I remember writing a whole hell of a lot of port-banging code to make graphics and sound work on DOS.