130 points · by ingve · 2y ago · 69 comments
OS/2 saved me an enormous amount of debugging time.
I always laugh when people complain about null pointer seg faults. Those are a feature, not a bug. Finding bugs in your code immediately, rather than a few miles further down the road, is a great attribute.
Writing through a null pointer in real mode DOS meant overwriting the interrupt vector table. Probably the worst CPU architectural mistake of all time is locating that table at address 0. If you were lucky, DOS would just freeze up, and you could reboot it. If you were unlucky, it would scramble your hard disk, and you'd have to re-install the operating system and all your files.
The ROMs (i.e. boot address) should have been located at address 0, and the interrupt table at FFFFF.
That’s not something unique to x86; eg. the PDP-11 also had its interrupt vector table starting at address 0. This only became a real problem when languages that treated address 0 as a sentinel value became popular.
I don't know if it persisted into 16-bit era CPUs & OSs, but early on the bottom of the memory map was faster to access, so things like interrupt tables¹ were often located there. The 6502 family even had specific load and save instructions for zero-page so not only was the actual operation faster once read & decoded, it took two bytes not three to store so was read faster² and took less space.
--
[1] you generally want the response to an interrupt to be as fast as possible, shaving a few clock cycles off could be pretty significant
[2] so a double time saving
The 8086/8088 microcode that handled interrupts used a special "segment 0" to provide the address, I don't think it would have been difficult to have some other hardwired value instead of 0. And on later x86 chips there is an actual register for it (IDTR) that can be changed by software - even in real mode, though for reason of backwards compatibility this wasn't usually done.
I must have answered thousands of phone calls, but one that sticks out in my memory was a guy who had selected Mac support not because he had a Mac, but because he was running OS/2 Warp and he didn't want to deal with a Windows support person - who might try to help him fix Windows instead of just giving him the information he needed (whatever ISP specifics). I'm pretty sure he related that information a couple of times, which made me feel that aside from wanting the specific info, he also just wanted to tell someone that he was running OS/2 Warp. Or maybe have someone to appreciate how hard it was to be an outlier.
Those of us running non-MS Operating systems were of a type - thrown together because of our non-conformance. I shared a bit of camaraderie with my girlfriend's dad once because he was so excited about his Amiga.
Fun times, when all you wanted was the PPP settings.
Of course it wasn't all roses, like the contemporaries of the era it had issues, which would be more prominent if more people had used it. It's worth remembering that, by todays standards, in the late 80s, computers were rare. Most businesses didn't have one at all, most homes certainly didn't (and a significant portion of those that did were not-Dos machines.) My Computer Science class of 1990 mostly consisted of folk who'd never touched a computer before. No-one I knew had an Apple Mac, they were expensive.
Windows 95 wasn't as good as OS/2 3.0 (aka Warp), but it marketed the idea of computers to the general public. Only once the 486 shipped did you start to see computers as "normal". But even by the end of the 90s we'd sell hardware when selling software.
I'd argue that we're absolutely in the future that OS/2 envisaged. Ultimately all paths converged and (probably starting with XP) we've been living that future.
Agreed. But...
> in the late 80s, computers were rare
I'd dispute that. At the time, I was British. PCs were rare, as in, IBM PC-compatibles. Computers were everywhere.
One view of OS/2 2 in the context of the time was that it made a 386 PC into what the Amiga, Atari ST and Acorn Archimedes already were: full-GUI multitasking computers with sound and decent full-colour graphics, and a fairly rich desktop.
Because Windows 3.x was none of those.
> No-one I knew had an Apple Mac, they were expensive.
Agreed. Businesses only. I met one (1) private owner in that time.
> Windows 95 wasn't as good as OS/2 3.0 (aka Warp)
"Good" is much to narrow a word here.
As an OS design, better? Yes. Better multitasking, better memory management, better filesystem.
As a desktop? No way. Win95 had a much better desktop. Note how every Linux desktop except GNOME 3 and Pantheon is an inferior knock-off of Win95.
Better for ordinary users? No. Win95 was much more compatible, with more hardware and more software.
Better for networking? No. Win95 had a full network stack as stock, dialup and LAN. OS/2 made that an expensive optional extra.
Better for developers? No. MS had lots of cheap dev tools.
Sadly, mostly, OS/2 2.x was only "better" in academic, almost theoretical terms. In the real world for real people, Win95 was better in every way that counted.
It banes me to say it, because I paid for OS/2 2 with my own money, something I've almost never done for software, as I work in the industry.
OS/2 had no new games though, no DirectX, only older DOS games worked, and eventually most Windows programs wouldn't run anymore on OS/2 and then I switched to Linux.
But during the Doom era it was pretty standard to boot DOS on a floppy before starting Doom, so what OS you had on the HDD didn't matter too much.
There were 2 versions branded "Warp", OS/2 3 and OS/2 4. Because you said:
> It had TCP/IP, a dial-up stack, Ethernet drivers etc.
... then I think you had 4. Quite a different beast, several versions later.
The main versions were 1.0, 1.1, 1.2, 1.3, 2.0, 2.1, 3.0, 4.0 and then some point releases for the server flavour only.
So it sounds like you came in right at the end, when it was a bit more polished. You didn't see the horrors of the earlier releases.
> I don't remember the desktop being at all worse than Win95.
It was a _lot_ more complicated. Warp 4 had a kinda-sorta taskbar and a hierarchical start menu thing but nothing earlier did. Warp 3 had a CDE-like Launcher floating bar thing.
2.0 and 2.1 had none: no dedicated app launcher at all. Browse the virtual filesystem to your app, or make your own.
The WPS desktop was weird and complex. No "OK" or "Cancel" buttons. You could only drag with the right mouse button, for no good reason. Strange "shadow" icons that worked a bit like symlinks/aliases/shortcuts but were more complicated in incomprehensible ways. A tree view separate from and disconnected from the filer view. Magic system folders you couldn't modify. Lots of weird stuff that was weird for the hell of it rather than any technical reason.
I bought it, I ran it myself, and I liked it, but it was much much more complicated than either Win9x or NT 3.x/4.x, and it didn't need to be.
> Silky smooth multi-tasking and didn't crash.
It was very smooth. It was also quite easy to crash: I played with Fractint a lot, generating fractals, and just changing to one of the undocumented screen modes reliably killed OS/2 with a kernel panic. Even in a full screen VM.
There was also a nastier kind of crash: a single global I/O queue, in a 16-bit process for most of the released versions. If that died or froze, your OS was still running fine but you could no longer interact with it in any way. Including to cleanly shut it down.
No networking as standard, no way to SSH in, no virtual consoles you could switch to with Alt+Ctrl+F2. Just a perfectly working machine that was no longer listening to the world, so you could only power it off and pray to whatever gods you had it would survive.
This failure mode, I think, is why Microsoft made Ctrl+Alt+Del a magic system-request keystroke that the shell could not redefine and no program could override or stay in front of. If your desktop or full screen session locked up or crashed, C-A-D put you back in control. OS/2 had no equivalent.
Only of course the marketing lizards made them change that later. >_<
Not that much of that mattered to the general public.
Not sure about the hardware side, but my understanding of the canonical story why OS/2 lost is exactly because it supported running all Windows software natively?
Ah, then you are missing a critical detail.
OS/2 >= 2 could only run 16-bit Windows apps. No 32-bit.
So very much not "all", no no, not at all no.
Right after OS/2 2.0 shipped that got very important very fast.
Windows 3.0: 1990.
OS/2 2.0: early 1992.
Windows 3.1: late 1992.
Windows NT (first release, first 32-bit version of Windows): 1993.
Windows 95: 1995.
There was a "shim" for Windows 3.1 called Win32s:
https://en.wikipedia.org/wiki/Win32s
This let _some_ clean Win32 apps run on 16-bit Windows 3.1. As a demo it bundled the original Freecell game. It's still out there as a free download today, and gets you the original tiny fast Freecell on Win11 64-bit, including on Arm.
IBM had licenses to include full integrated copies of DOS and Windows 3.x with and inside OS/2, called "WinOS2". But it was 16-bit Windows and ran on the OS/2 DOS VM.
Win32s let some apps run, but Win32s didn't work on WinOS2. IBM tweaked WinOS2 to get Win32s working. MS responded by tweaking Win32s so it didn't work.
Repeat multiple times until MS hit a way to stop it working at all.
So, apart from a few trivial apps that ran on older versions of Win32s, you could not run any Win32 apps on OS/2.
So, Microsoft moved the market to 32-bit as fast as it could, first with NT 3.1, then NT 3.5 which introduced the VFAT disk format and long file names, then with the consumer-focussed Win95, then with NT 3.51.
So all the cool new apps ran on Win32 and OS/2 was frozen out of the market.
We had a computer lab in my very run down school that has Macs and Apple IIs. My family were working class, if you had an interest there was a network of computer enthusiasts who would happy swap stuff, get you hardware etc. We bought a second hand 386 from somewhere, then fucked it up trying to add more memory I think. I was only a kid, but my dad saw me self learning BASIC and would encourage that sort of thing.
If this was happening in 80s Ireland I'd be surprised to learn they were rare in other countries, we weren't exactly doing well at that point.
In the late 80s my school had two or three Apple Macintosh 128Ks and about ten Apple IIe. This was a disadvantaged school but I doubt we were special. This was a donation of used computers I believe, although my memory is fuzzy on that.
My family was working class not much money but we had a 386 around '89 and then a 486 before I went to college in '92. Someone mentioned that they retailed for 10k, which would not have been possible with my families circumstance.
I mean, lots of choices are arbitrary. They're typically "invisible", like the pedals in a car, until you come across a different layout. [1]
visually, OSs like to reinvent themselves (Windows XP, 7, 8, 10, 11) but functionally they behave the same (maximise, minimise, close buttons in top right corner of window).
OS/2 today would look very different to OS/2 then, but probably a lot like Windows 11.
[1] I drove a truck for a bit that forced my left foot to use the brake because of the design. It took a long while to get used to pressing gently with the left foot, as I was used to trucks with a very heavy clutch pedal.
I have never driven a "real" truck so I'm confused by this. I drive automatic so my left foot never does anything. Can you tell me a bit more about the arrangement that forces you to use your left foot for brakes?
I think this is wrong. The PC industry had been through a massive stock market boom in the early 80's, and "desktop publishing" was a real thing, not just for early adopters:
https://en.wikipedia.org/wiki/Desktop_publishing
There was also a TV show on public television:
https://archive.org/details/Computer_Chronicles
why would they do that if it was such a niche?
As for OS/2, Gates stabbed IBM in the back by pushing Windows, as is well documented. He continued to give lip service to OS/2, but anyone with eyes could see that Microsoft's heart was with Windows.
> I'd argue that we're absolutely in the future that OS/2 envisaged
Everyone had the same "vision" back then. Actually bringing it to market is something else again.
Nothing was on the internet. So even though airlines did scheduling on a computer you needed to call a travel agent to get tickets as you didn't have access to schedule flights yourself. Even if you got access, there was no usability so you couldn't figure out how to do this without a week training.
You might have had email, but the messages from the CEO was sent out via hard copy as not everyone in the company had it.
When I started as an intern in the mid 1990s everyone was excited that we had a new system and now you could schedule your own meetings instead of asking a secretary to do this. This was at a computer company where the people wanting a meeting spent hours every day staring at a terminal, and had access to the scheduling system - but the system was so complex they couldn't figure out how to use it.
The above is office jobs. There are a lot of non-office jobs that now have computers. When I had my garage door fixed the tech pulled out a tablet to sign off and pay for the work when done. Even 10 years ago this would have been handled by paper.
In conclusion: computers had a lumpy start. I think that it is fair to say most businesses didn't have one. However many of them did. They were expensive, but affordable.
If you look at standard adoption curves: computers were at least Early Mainstream. Well beyond Early Adopter.
Windows is inarguably getting worse. OSX treads water out of managerial apathy. Linux treads water by rebuilding things that don't need rebuilding.
BeOS was the world we wanted.
https://archive.org/details/PersonalComputerWorldMagazine/PC...
But it was just the same sort of OS as the mainstream, without all the legacy baggage -- much of which, sadly, the Haiku folks are putting back in.
The world we wanted? I don't know about that.
I played with a Remarkable slate thing a couple of years ago and it nearly made me weep. It is so much less than the Apple Newton was 30 years earlier.
I want the original planned Newton in the Remarkable form factor. I want a thin, light, pocket Dylan workstation that runs for a week on a charge and can wirelessly connect to anything.
I don't just want a BeBox. I wanted that in 1999, sure, but a quarter century later, I want something MUCH more ambitious than that.
I like the idea that there's still room for more OS', and that there might be reason for them.
Perhaps this is the origin of that anecdote about a meeting between Microsoft and Intel: https://devblogs.microsoft.com/oldnewthing/20041215-00/?p=37...
I was a middle school kid. A family friend provided the installation media and said it was the future. I was excited! I saw the pictures of the desktop! I tried and tried to install it, but time after time ended up with failures. The best I ever got was to progress all the way through the hours long installation only to get an error about memory without parity bits on the first boot. I messed with BIOS. I messed with the RAM chips, swapping out some. It seemed to me that it needed very specific hardware, and the hardware I had wasn't inside of that envelope.
DOS worked fine on that machine.
I never saw OS/2 again.
But I ran OS/2 2.0 for years and it was a thing of beauty for 1992. It made Windows 3 look very sad indeed.
When I had a 486 laptop at home, OS/2 felt like it was worth the money because it allowed me to access the power of the computer I already owned. Disk caching, lots of windows and lots of apps, multitasking, all stuff DOS didn't do on its own back then.
So I didn't resend spending it.
But Microsoft provided beta for free and it's long been quite easy to pirate MS OSes.
IBM did no blocking of pirates, but it expected journalists and evaluators to buy it, which is madness. It also released a time-bombed demo version of the OS, which is insane: it 100% will expire and nuke your PC, even if it works perfectly, which mostly it didn't.
Compare when I tried to review the new MS Exchange Server against Lotus Notes.
IBM sent me a copy of Notes and that was it.
MS sent me a copy of Exchange and Outlook, it sent me client licenses and OS media, and then it put me on a short off-site training course to make sure I knew what I was doing and was competent to deploy it, attach clients, and get it working.
(It wasn't amazing: for instance it couldn't collect mail over POP3 or IMAP. MS expected you to have a fixed IP, an MX record, and be receiving mail over SMTP like an ISP.)
But still, MS went the extra mile. IBM didn't. It spent fortunes on marketing, TV ads, everything, but it never occurred to IBM to get permission from Paramount Pictures to use the "warp speed" line from Star Trek until after the product had been named.
IBM spent billions but missed obvious stuff.
MS spent its money more wisely and worked to get the press, the developers, the vendors and so on on-side.
By the time IBM went solo, its vendors had been burned by missing the Windows boat, and were shy from pouring more good money after bad.
Good memories. Thanks for the post.
That was a standard price structure for a platform SDK at the time.
I purchased the NeXTStep SDK for $3000 in 1993, and I believe in 1995 I got the Microsoft Developer Network (MSDN) subscription, which had stacks of CDs for their entire platform collection, that was $2000 each year.
These Software Developer Kits were massive, representing a significant percentage of the total effort of the company behind it. The printed documentation was 25 kilograms of paper. That AT&T C++ compiler shipped with the documentation in three-ring binder notebooks, I literally had to get another bookshelf for it.
Thousands of dollars.
But I wrote a book about the Microsoft stuff. It didn't generate any royalties, but it landed me a couple of jobs, and I figure it worked for me.
I wouldn't recommend it as a strategy.
It certainly made it easier not to worry about a new framework or programming language every single month.
At least for those that wanted to stay legal, there were also tons of ways to get pirated software if one wanted to, including openly selling it on street bazaars.
I was a big OS/2 fan. The Workplace Shell may have been a bit clunky, but under the hood it was pretty neat. Everything was an object that you could manipulate with Rexx (and other languages). In a way, it's what PowerShell eventually grew into.