by krylon · 4y ago · 0 comments
One of my laptops came with FreeDOS preinstalled, and it was about € 50,- cheaper than the version with Windows. Being a Linux person, I gladly took the discount.
I did run into a use case where FreeDOS was insufficient, though - in my last job, our automation people were maintaining an industrial plant whose SCADA software ran on DOS. I have no clue what they did, but apparently it would only run well on MS-DOS. One of our engineers suspected that timing issues regarding the serial port played a role, but in the end, we never found out. I installed MS-DOS 6.22 on two machines, and that was the end of it.
I got a kick out of it, though. Imagine installing an early 1990s OS on late 1990s hardware in ~2016.
On dos you own the machine down to bare metal for better or worse, usually worse, but software only slows things down.
I suspect if you stuck a protocol analyzer on it you'll find one of three situations:
Someone did simplistic polling instead of a windowing protocol so increased latency makes the overall system unusably slow. 0.1 ms vs 10 ms per handshake is not noticeable to humans but if your scada sequentially polls 10000 parameters thats the difference between a poll taking 1 second or about two minutes...
The other scenario is keep alive signaling where the computer needs to assure the CNC machine that its still alive and sane every 10 ms or the controller initiates an emergency shutdown. Can't have a giant lathe or printing press running off wild not under active computer control. So windows wants to multitask and do who knows what for 50 ms, and the scada shuts down.
The final situation is they're doing something "weird" at the hardware level like signaling over the control pins instead of over the serial ports. Like toggling the RS-232 DSR pin turns on the milling machine motor for 10 ms instead of sending a serial RX/TX power command every 10 ms. Windows opinion of DSR, IIRC, is DSR means the serial port driver registered in windows and is not available to end users. Been a long time since I've had to deal with that so I might misremember.
This sort of thing was just normal. No multitasking so you had full control of the hardware. Third party libraries or custom code for serial, sound, graphics, often keyboard. Drop into assembly for extra speed. DOS was basically a library for filesystem access, process creation and limited memory management!
I still have 1.193180Mhz burned in my brain...
I sometimes think if we will one day cycle back to that model. It was at least an era where I thought I had some understand of computer. Now I seriously dont. But it works.
(I can certainly imagine virtual 8086 mode / emm386-style shenanigans, varying with configuration and what's loaded in your config.sys, but this is all very hypothetical, and the most straightforwardly hypothetical position of all is that one bare-bones 16-bit DOS should be exactly the same as another in this regard, not necessarily being in the loop at all.)
Unfortunately, I did not have the time to investigate the problem further. It was the one aspect of being a helpdesk monkey I seriously disliked.
I was just sad that FreeDOS did not work, but installing MS-DOS from floppy disks was fair compensation. 3.5" Floppy disks! We had an USB floppy drive lying around, but actually finding 3 floppy disks was quite the challenge. (-:
Edit: Especially since some of these purchasers are not technically-minded Linux users, who can handle a blank disk error, but people who want to use their (ahem) specially-aquired Windows licenses.
My current home computer is an HP EliteBook I custom ordered with FreeDOS to install Linux on. (Also got the matte touchscreen!)
Microsoft and Bill Gates built their position on pure evil.
To answer the grand-parent-post, they got a license per CPU because the retailers _agreed_ to that model.
MS would argue that every cpu sold ran an MS operating system (legal or illegal) so licensing the CPU made it cheaper for legit users (ie lower price) and pirate users ultimately paid as well.
This left other OSs out in the cold but the number of actual legit users installing something else was a rounding error.
Shops could _choose_ to just sell dos or windows when the customer wanted it, but they paid a higher price via that model, so few (if any) shops went that way.
MS certainly played lots of dirty tricks but OEM pricing is not really dirty, it's just sensible business when you have that sort of market dominance and your software is pirated so heavily.
I was reading a book on Microsoft's history and they did that back in the DOS days: any IBM PC clone that was sold had to pay for the MS-DOS license regardless of if the PC would be running MS-DOS or not. So unless someone explicitly asked for DR-DOS (and was fine to pay for both the MS-DOS and the DR-DOS license since the former would need to be paid anyway), manufacturers just used MS-DOS because it was "cheaper" (and with MS-DOS being the "standard" it isn't like they could afford to not license it).
The book was written in 1993 btw.
Some OEMs don't sell laptops with DOS, but instead have a procedure where you can "return" the Windows license that came with it and get a refund.
Otherwise, Microsoft’s terms are basically anything that isn’t an ATM machine, server or IoT needs a windows license. In enterprise agreements, you need to buy Windows licenses for MacOS devices too.
Why would you tell Microsoft that you've bought some Macs? It's not like they're the IRS, they're just a company. They have no business to know any of this.
Also, you need CALs to use Windows server based services like AD and file servers (unless you’re using a NAS)
Such laws existed and may still exist, I remember Germany had some tax on CD-RW disc sales because "they were used also for piracy". All it took was "lobby" at the right level of government.