by rbanffy · 4y ago · 0 comments
I love it!
BTW, if the Amiga came out with a Unix-like OS from the start (such as Coherent), it'd have been a game changer. With some (a lot, really) luck we could be all be running Unixes on different CPUs instead of Windows on x86's...
I also like that cursor keys are closer to where the mouse uses to be (for the right-handed, at least)
Iirc, porting Unix software was actually very easy. I don’t think the non-Unix of AmigaOS is the reason we’re stuck with windows
And if you were on a terminal far from the machine, you wouldn't even see or hear the computer busy at work.
I remember using a windowing terminal (all text windows) that could have multiple sessions over a single RS_232 using a custom shell on the computer.
It was not, but if the Amiga users who ventured past the GUI and into the command line interface were used to Unix, it'd be a much more natural migration path for them to move to Unixes than it was to move to Windows (as most did).
Also, if the Amiga was, even if by accident, positioned as an entry level Unix workstation, it'd certainly be very popular at computer labs everywhere. It cost a lot less than a diskless workstation back then.
All the UNIX ports, including the follow up AMIX, were a shadow of the multimedia capabilities of AmigaOS.
Irix, NeXTSTEP and Sun NeWS are the only UNIX based experiences, that had remarkable hardware.
All of them managed it, by being more than mere UNIX clones.
That's true, but all that could have been added to Coherent. I'm stressing Coherent here because it was the cheapest Unix clone available back then.
> All the UNIX ports, including the follow up AMIX, were a shadow of the multimedia capabilities of AmigaOS.
That's a hardware enablement issue. The biggest drawback of Coherent (and most Unixes back then) was that it couldn't run from a floppy, so, the minimum viable Amiga would need a hard disk. It could be possible to slim it down, however, or, maybe, just adding a POSIX compatibility layer on top of the AmigaDOS base would suffice. My point is that, if Amiga users had an easier path towards Unixes or if universities got lots of Amigas instead of far fewer Unix workstations (for the same money), we'd have a somewhat different world right now.
https://virtuallyfun.com/wordpress/wp-content/uploads/2017/1...
The first versions of the Amiga ran on the MC68000 processor which could not support a MMU, so no Unix there. AIUI, this became first possible with the MC68010, which however was quite uncommon early on.
As for a MMU, I guess it's not a given that Unix requires paged virtual memory. Traditionally whole processes were swapped in and out.
So it was unusable for more complex setups without hacks like ch_123 mentions Apollo and others used where you'd have two CPU's and let one of them pause while the second handled paging. But if you were content with killing the offending process, you could do that with "just" a single 68000 CPU and a simple MMU.
(on a side note, Apollo's OS was fascinating for the era [1]: "Certain efficiencies were gained by careful design; for example, the memory page size, network packet, and disk sector were all 1K byte in size. With this arrangement, a page fault could take place across the network as well as on the individual computer and Aegis file system was a single system of memory mapped files across the entire network. The namespace of the network was self discovering as new nodes (workstations) were added.")
A compiler assisted way also comes to mind, if the issue is just certain complex instructions - if you document that you can't use non restartable instructions (at least if you want to catch signals), maybe you could have the C compiler emit only a restartable subset of the ISA.
It saddens me how some beautiful creations just died because of worse is better.
With an instruction like move (a2)+, (a3) the processor first loads the value from memory at the address in a2, increments a2, then goes to store it at the address in a3. If a3 holds an invalid address, the processor faults halfway through the instruction. The problem is the 68000 doesn't store enough state anywhere to tell you how to rollback and attempt the whole instruction again. (Was a2 incremented already or not?)
The dual 68K approach would keep the whole instruction pending on the other processor, in case it needed to be restarted, after resolving the page fault. And it was still possible to implement classic base-and-bounds swapping with a single 68K.
So was QNX and QNX felt a lot like Unix and had tons of tools easily ported from Unix. It ran on an 8088 PC off a floppy disk. I now runs a lot of in-car entertainment and instrumentation systems (a nice home for an RTOS)
We wouldn't never had the desktop development experience that keeps the Amiga nostalgy alive if that had been the case.
Hardly anyone discusses hardware from UNIX clones beyond what CPU they might have used.
I know the Amiga GUI was way better than X, but that the development experience would be better is not a given. Unixes were always light-years ahead of anything else in development and automation tools. That, combined with a good set of APIs for all the custom hardware, would be extremely compelling.
What would be much harder to do is direct hardware access. For that, you'd need to be running in runlevel 1 (which would make sense for a stand-alone computer).
The OS was close enough and wonderful under the hood. So many UNIX people bought one for home just because it was so easy to port UNIX code. I wrote Amiga apps on a Sun3/50 using Sun's compiler and just transferred the binary over to my machine. The Amiga Pascal software even had a special program included to transfer binaries over serial/parallel from a UNIX box (usually a Sun). You mostly just needed to link to a different crt.o / clib.
Edit: btw, the AmigaDOS developers manual says that there was also a cross compiler (and serial transfer tool) for MS-DOS. I am wondering whether anybody every used that.
AMIX is a whole different can of worms, they did that much later and I'd expect it was like porting between HP/UX, AIX, BSD etc. Probably pretty easy by then.