News for hackers. Stuff that matters.
Re:Ssheven: A modern SSH client for Mac OS 7-9 by tambourine_man on Saturday July 31, 2021 @05:28PM (#28021710)
Came here for this exact comment. The artwork is spot on.

That, by itself alone, would have been amazing.

I don't miss the lack of memory protection of classic Mac OS, but I do miss everything else.

Re:Ssheven: A modern SSH client for Mac OS 7-9 by grishka on Saturday July 31, 2021 @06:10PM (#28021958)
Didn't last Mac OS 9 versions have memory protection? I mean there's a reason it's hard to run 9.2 on an emulator — it requires a working MMU.
Re:Ssheven: A modern SSH client for Mac OS 7-9 by Someone on Saturday July 31, 2021 @08:29PM (#28022651)
It has preemptive multitasking for compute-only tasks (the MultiProcessing library. See http://mirror.informatimago.com/next/developer.apple.com/tec...)

I also think the OS, technically, was preemptive multitasking, but ran all ‘normal’ code in a single preemptive task (https://groups.google.com/g/comp.sys.mac.programmer.help/c/f...)

I also vaguely remember the kernel had some memory protection enabled.

Of course, almost none of that mattered for typical user-space programs.

Re:Ssheven: A modern SSH client for Mac OS 7-9 by fay59 on Saturday July 31, 2021 @06:40PM (#28022110)
Mac OS 9 has virtual memory (it uses virtual address translation and it can swap pages to disk), but it still has a single address space that is shared between every application.
Re:Ssheven: A modern SSH client for Mac OS 7-9 by grishka on Sunday August 01, 2021 @08:36AM (#28025844)
Ah. I remember reading "it has virtual memory" and assumed that this includes each process running in its own address space.

Was it common for applications to reach directly into kernel memory instead of using proper APIs?

Re:Ssheven: A modern SSH client for Mac OS 7-9 by classichasclass on Saturday July 31, 2021 @10:32PM (#28023319)
This is an issue for SheepShaver (limited to 9.0.4 because 9.1 and up require the MMU as you say), but not QEMU, which emulates the MMU and thus runs 9.2 just fine.
Re:Ssheven: A modern SSH client for Mac OS 7-9 by tambourine_man on Saturday July 31, 2021 @06:24PM (#28022024)
No, after 8.6 the system featured a micro kernel on which the old OS ran atop. I think you could opt in for better stability, but I'm not sure. But most of the OS and apps still ran on the same shared memory space with cooperative multitasking, meaning a single app could (and did) bring the whole system down.

I think you can emulate 9.2 just fine, but it's been a while since I played with this things.