News for hackers. Stuff that matters.
Re:How could the early Unix OS comprise so few lines of code? by tgv on Monday September 11, 2023 @05:50AM (#37464952)
Unix V7 had virtual memory, at least, I can remember the PDP-11 disk unit throwing itself around violently when somebody started nroff.
Re:How could the early Unix OS comprise so few lines of code? by inkyoto on Monday September 11, 2023 @06:08AM (#37465085)
> the PDP-11 disk unit throwing itself around violently when somebody started nroff.

That was the overlays… the early days substitute for the virtual memory proper. If I remember correctly, the first PDP-11 to have the true virtual memory and a MMU was PDP-11/70 which had 18-bit wide hardware addresses.

Re:How could the early Unix OS comprise so few lines of code? by thequux on Monday September 11, 2023 @12:04PM (#37469298)
The 11/70 had a 22-bit wide memory bus and an 18-bit wide unibus which was mapped to the high 256kb of the 4M physical address space.
Re:How could the early Unix OS comprise so few lines of code? by inkyoto on Monday September 11, 2023 @11:44PM (#37476775)
You are correct. I have long forgotten about the mapped memory and was thinking about Unibus device registers having long 18-bit addresses. The 11/70 also had separate instruction and data spaces which did not exist in earlier models.
Re:How could the early Unix OS comprise so few lines of code? by arethuza on Monday September 11, 2023 @07:10AM (#37465505)
Many years ago the team I worked out got some shiny new Sun 4 machines and we soon ran out of disk space - solution was to plug a cabinet full of a few old huge disks that I think came from some kind of ancient mini into a Sun 3 and then NFS the new storage onto the Sun 4s.

It was truly bizarre to watch the cabinet judder and shake as we accessed stuff - I think there were only 2 disks in it and it was mostly full!

Re:How could the early Unix OS comprise so few lines of code? by dboreham on Monday September 11, 2023 @08:33AM (#37466275)
Although the 11/70 had primitive mmu support, V7 ran on the /45 and /55 and did not use anything besides I/D separation.