News for hackers. Stuff that matters.
Re:The Architecture of the Lisa Personal Computer [pdf] by Animats on Tuesday December 27, 2022 @05:54PM (#34154963)
If only the Motorola 68000 line hadn't taken so long to come up with a usable MMU. Computing history could have been very different.

1979, M68000, CPU, instruction backout broken, so if you wanted to handle page faults, you needed to avoid all multi-step instructions.

1993, M68010 CPU, fixed backout bug.

1987, N68030 CPU with MMU, page faults work.

Early machines required boards full of extra hardware to work around this problem. Which is why the Macintosh, unlike the Lisa, had a plain 68000 MMU and a DOS-like OS hidden by a very nice GUI.

Re:The Architecture of the Lisa Personal Computer [pdf] by eschaton on Tuesday December 27, 2022 @07:03PM (#34155668)
You missed 1983’s 68451 segment/limit MMU for the 68010, as well as 1985’s 68020 with 68851 PMMU. There also were MMU implenentations for 68K without instruction resumption—Lisa had one, and Apollo initially used two 68000s to support resumption. Finally, there really isn’t much reason to call the Macintosh operating system “DOS-like” or “hidden;” it wasn’t exposed to the user or developer at all except via APIs, and wasn’t some sort of text-based system that had a graphical interface layered on top of it.
Re:The Architecture of the Lisa Personal Computer [pdf] by Animats on Tuesday December 27, 2022 @07:50PM (#34156066)
That segmented MMU was pretty useless. And, yes, there was the 68020 machine with the separate MMU. You could run a variant of Unix, called A/UX, on it. It was really slow.

I've coded for the original MacOS. Yes, it was DOS-like at the OS level. No threads. No processes. No CPU dispatcher. A collection of interrupt driven hacks to allow a little bit of asynchronous processing by registering callbacks. Like you'd do on an Arduino today.

Re:The Architecture of the Lisa Personal Computer [pdf] by eschaton on Tuesday December 27, 2022 @09:01PM (#34156632)
Yes, Apple had the Mac II with support for the 68851, but they weren’t the only ones to use it. Though Sun and HP and Apollo all skipped it and continued using extensions of the paging MMUs they’d developed for the 68010. And plenty of those 68020 systems, whether with custom or Motorola MMUs, were quite fast for their time. Any performance issue with A/UX wss on it and the Mac II hardware design itself.

In 1981-4, the era when the original Mac OS was developed, very few systems had threads. And if “has a filesystem and is single-tasking” is your criteria for being “DOS-like” I’m pretty sure every operating system between the inventions of the filesystem and timesharing is also “DOS-like” by your definition.

I’d call an operating system “DOS-like” if it used a filesystem with drive letters and short file names with extensions, a command line where argument interpretation is handled by the executed program, text files to script startup and configure device drivers, and the operating system API existed primarily to mediate filesystem and maybe printer and modem access.

The original Macintosh operating system had no scripting system, used long volume names and filenames, made file type information inaccessible to the user, didn’t include any sort of command line at all, and made providing ways to interact with documents the main point of its API set—to the point where it had no provisions for anything but graphical applications.

Re:The Architecture of the Lisa Personal Computer [pdf] by pinewurst on Wednesday December 28, 2022 @01:15AM (#34158027)
I seem to remember the Motorola MMUs requiring significant extra wait states for memory access which was one reason (beyond bugs, lateness, and price) they weren’t popular.
Re:The Architecture of the Lisa Personal Computer [pdf] by Taniwha on Wednesday December 28, 2022 @02:02AM (#34158315)
There were many MMUs for 68ks at the time - 68000s and 68010s could use the '451, it was very slow and did use wait states, some people put TLB caches around them, Sun and many others built their own MMUs out of SRAM, there was guy who went around the Valley designing Sun-like MMUs for people they were all different, some were broken, the Lisa had a base and bounds MMU (like a PDP-11)..

The 68000 couldn't restart page faults - people got around that a lot of ways, some put 2 68ks there and paused one while the other took the fault, mostly though most unixes of the day were swapping ones, the only traps that needed to be restarted were those that extended the stack down, and compilers could be persuaded to generate stack probe code. 68010s fixed that problem and were available around the time we started building paged systems.

The 68020s could have an external PMMU (there was another done by Signetics, I think, it was a bit DOA), I think Sun still made their own.

The 68030 pulled the PMMU on chip.

At the time I worked for Unisoft, the company that did Unix for the Lisa, and A/UX for Apple, it was just one of about 150 Unix ports for other companies we did the bulk of them for 68Ks and most of those for those early 68000/010 - in short they were extremely popular, at the time every man and their dog were trying to make the next great workstation in their garages

Re:The Architecture of the Lisa Personal Computer [pdf] by bitsavers on Wednesday December 28, 2022 @05:07PM (#34166650)
There's lots of fun Silicon Valley 80's workstation folklore around the MIT 68K PCC port, Unisoft, and Silicon Valley Software's Pascal, Basic and Fortran products. Fun fact that the Sun 1 ran Unisoft Unix before the 68010 'brain transplant' and the BSD port. Also, Unisoft did at least one other UniPlus port for Apple for the YACCintosh. Maybe BigMac as well.
Re:The Architecture of the Lisa Personal Computer [pdf] by Taniwha on Wednesday December 28, 2022 @05:28PM (#34166884)
Yup, all true, we did Unix ports for both Sun and AT&T, at the time I think we referred to the target of that other Apple port as "the file server"
Re:The Architecture of the Lisa Personal Computer [pdf] by pinewurst on Wednesday December 28, 2022 @12:48AM (#34157893)
I wouldn’t say “boards”. The Sun MMU is/was quite simple (SRAM and a little TTL), only taking a small part of something like a 3/50 motherboard.
Re:The Architecture of the Lisa Personal Computer [pdf] by kragen on Wednesday December 28, 2022 @03:56PM (#34165837)
maybe the sun 1 and sun 2 were uglier
Re:The Architecture of the Lisa Personal Computer [pdf] by bitsavers on Wednesday December 28, 2022 @04:34PM (#34166291)
The designs are all essentially the same, two levels of high speed SRAMs to give you segment/page tables. Some designs supported bigger SRAMS for more contexts. The schematics are all up on bitsavers. Originally, I had thought they came up with it at Stanford, but from memory it seems to be roughly the same setup used in the MIT CADR.
Re:The Architecture of the Lisa Personal Computer [pdf] by kragen on Wednesday December 28, 2022 @10:37PM (#34169192)
thank you very much for the explanation
Re:The Architecture of the Lisa Personal Computer [pdf] by pinewurst on Wednesday December 28, 2022 @06:37PM (#34167516)
Just part of the board. An acquaintance used to own a Sun 100U which I vaguely remember as the proto Sun 2 Multibus CPU in a Sun 1 chassis. Not even an especially busy Multibus (1 before there was a 2) card.