The Mythical Mac 256K!

Snial

Well-known member
Another follow-up post. It might have been a fluke that my modified ROM and Mac 256K configuration ran on System 1.1, so I decided to see how far I could take it.

System 2.0 and 2.1 run as expected, because they also run on a Mac 128K:
System2.0.jpg
System2.1.jpg
I'm puzzled as to why the other inserted disk on System 2.1 came up ejected. Maybe it's timing differences for when the Sony disk emulator on Pce-Mac injects the disks (i.e. at the same time). Anyway, moving on.

System 3.0, 3.2, 3.3 don't run on Infinite Mac's Mac 128K, because they're HFS images. I recreated MFS disk images containing the system software. 3.0 and 3.2 both run on the Mac 128K and Mac 256K configuration, but System 3.3 hung on Mac 128K at "Welcome to Macintosh" (it was OK on Mac 256K).

System3.0.jpg
System3.2.jpg
System3.3.jpg
It's always good to see the 256K appearing on "About this Macintosh"! Moving on.. System 4.0 will boot on both the Mac 128K and Mac 256K, but on Mac 128K you can't run anything, even running the calculator just generates an alert to say there's no memory.

System4.0.jpg System4.0Ver.jpg
I was a bit puzzled as to why the Finder is version 5.4 for System 4.0, but was 5.5 for System 3.3. Running System 4.1 is OK on the Mac 256K, but hangs again on the Mac 128K. System 4.1 finally presents the (Restart) button when you shut it down!
System4.1.jpg
Finally System 5.0 is where it goes wrong for a Mac 256K. It bombs part of the way through boot up:
System5.0.jpg
It wasn't because I stripped out lots of System files I thought wouldn't be needed, because the same disk will boot on a Mac Plus. It's because it probably needs more than 256kB. System appears to need about 3/5 of 156K and Finder needs about 90% of 156K = 234kB. Maybe eliminating the disk cache (32kB) could fit it in, at the expense of not being able to do anything with it.

System5.0AboutThisMacPlus512.jpg

Conclusion
Mac 256K can run a couple more System versions than the Mac 128K, but basically the cut-off is about the same, October 1987 vs April 1987 (but effectively June 1986). This means that the Mac 128K only had OS support for 2 years! The Mac 256K despite being very much more usable, would have only had OS support for 2.5 years! A similar fate exists for the Mac 512K, because it came out 6 months later. Meanwhile the Mac Plus could run everything from System 1 to System 7.5.3!

I never had a chance to see these kinds of limitations in early Macs before. I arrived at UEA in autumn 1986, when System 3.2 was already out, but in any case our Macs were already Mac 512s with another lab for Mac Plusses. Yet most of the time we ran System 2.0, because we didn't know any better. In fact we just tended to mix-and-match the contents of System Folders as we saw fit, the concept of an "Installation" was mostly absent. The Mac II lab appeared in autumn 1988 (or maybe it appeared in late 1987 or early 1988, but we didn't have access to it until 1987); so that would have run System 4.1 or even System 5, though I don't remember Multifinder at the time.
 

David Cook

Well-known member
Great testing. I admire your completeness.

To me, the biggest improvement is not the ability to run later systems, but instead the size of the documents or applications that can be opened. For example, when I wrote Tiny Transfer, I had to squeeze and trim everywhere to get it to work on a 128K Mac. But, Tiny Transfer had plenty of headroom on a 512K. So, a pico 256K is sweet for new retro-apps.
 

Snial

Well-known member
Great testing. I admire your completeness.
Thanks, I got carried away with the versions, but my initial goal was to run System 2.x, because System 1.x really is very naff with all the "Empty Folder" nonsense!

I realise that in my conclusion, I said we mostly ran System 2.0, but also did a mix-and-match with System files. I should have said that in the first couple of years we only seemed to have System 2.x available, and later OSs filtered through to the student community.

It's probably not obvious to readers why we'd end up running System 2 all the way into 1988 and 1989; but there's a basic explanation. Prior to the Mac SE (and Mac II, but we only had about 8 of those), our Macs only had a single floppy drive for storage. We'd go to the Computing building; buy a precious 12cm Floppy disk (400kb) then use someone else's disk to laboriously copy the system + MacWrite + MacPaint + MacPascal to your own disk with lots of disk swapping.

But then we'd just keep the disks; adding documents and our own programs to them until they failed or ran out of space. And if they ran out of space, we'd just copy the OS to the new disk. Because the OS went with us & otherwise stayed in our room, it would never get upgraded. A disk might fail of course, if I accidentally took it to a Gary Glitter concert and then sat or trod on it - even 12cm microfloppies have their limits!
To me, the biggest improvement is not the ability to run later systems, but instead the size of the documents or applications that can be opened. For example, when I wrote Tiny Transfer, I had to squeeze and trim everywhere to get it to work on a 128K Mac. But, Tiny Transfer had plenty of headroom on a 512K.
I figure that segmentation can typically squeeze 1.5x to 2x the code you'd otherwise be able to get in an application before it gets really sluggish or clunky. Similar to the ratio of VM memory to physical memory on System 7. But I suppose Tiny Transfer wouldn't want to hang around loading parts of its app while also trying to download over serial at the same time?
So, a pico 256K is sweet for new retro-apps.
Do you have a PICO-mac yet? I don't think I'll get one until I've finished MØBius.
 

nathall

Well-known member
Finally System 5.0 is where it goes wrong for a Mac 256K. It bombs part of the way through boot up:
View attachment 80511
It wasn't because I stripped out lots of System files I thought wouldn't be needed, because the same disk will boot on a Mac Plus. It's because it probably needs more than 256kB. System appears to need about 3/5 of 156K and Finder needs about 90% of 156K = 234kB. Maybe eliminating the disk cache (32kB) could fit it in, at the expense of not being able to do anything with it.

It’s actually because System 5 and above remove patches to the 64K ROM necessary to use the newer systems on the old ROM. Same thing happens on a stock 512k. Getting System 5 to run on such a configuration is as simple as copying PTCH resource 105 from System file 4.1 to the System file you’re trying to use.

I’m willing to bet your 256k Mac would boot System 5 by doing the above, although like you said you probably couldn’t do much with it.

400k disk space saving tip: you can delete all PTCH resources above 105 from the System file if you only ever plan on using said disk to boot a machine with the 64K ROM. They are for later ROMs.
 

Snial

Well-known member
It’s actually because System 5 and above remove patches to the 64K ROM necessary to use the newer systems on the old ROM. Same thing happens on a stock 512k. Getting System 5 to run on such a configuration is as simple as copying PTCH resource 105 from System file 4.1 to the System file you’re trying to use.
OK.
I’m willing to bet your 256k Mac would boot System 5 by doing the above, although like you said you probably couldn’t do much with it.
It's an interesting task to try.
400k disk space saving tip: you can delete all PTCH resources above 105 from the System file if you only ever plan on using said disk to boot a machine with the 64K ROM. They are for later ROMs.
Because I'm still using an emulator (Pce-Mac), it uses a Sony floppy disk ROM extension (mapped to 0xfe0000 I think) which supports 800kB disks - and possibly bigger disks too if they can be supported under MFS. I think it may be possible to do that, because MFS uses a sort-of- 12-bit FAT format, which I think means you can support up to 2MB or 4MB.

My next steps probably are to retry getting it to work with miniVMac + the changes I made, but reintroducing the memory test. A PICO-MAC 256K will be a subsequent goal. It should be possible with my MØBius 68K emulator. It would also be good to track down any of the original Mac engineers to see if any Mac 256Ks existed and if they did, whether they built them the way I think they did. That is, they used a stock ROM that supported only 128K and 512K, but had 256K of RAM. They had a physical switch or jumper that enabled the upper 128K of RAM. They did a power on in 128K mode, then when they saw the [?] disk icon, they engaged the switch (or jumper) and inserted the FD. The reason they did this was to give themselves extra space for debugging Mac applications, and then flip back to 128K to test again on a stock Mac 128K.

Mind you, I've just realised my Mac 256K, 64K ROM would also work with this debugging technique and a physical switch. You could power on with the switch engaged and it'd boot as a Mac 256K when you inserted the FD. You could power on with the switch remaining disengaged and it'd boot as a Mac 128K when you inserted the FD. You could power on with the switch disengaged, then engage it and insert the FD to complete booting as a Mac 256K.

Ultimately, but this is a big ask for any Mac 128K owner, whether a physical Mac 256K could ever be constructed, by adding another bank of 512K RAM with my Mac 256K, 64K Rom! A Mac 256K could also be constructed from a Mac 512K by forcing A18 low, then the upper 256K mirrors the bottom 256K.

My hardware hack does assume that there are no address conflicts on 256K boundaries on a 64K ROM Mac. That will be true for RAM and ROM, not sure about I/O.
 

adespoton

Well-known member
I'm a bit late to the thread, but I thought I'd add my bit of info:
I was a bit puzzled as to why the Finder is version 5.4 for System 4.0, but was 5.5 for System 3.3.
https://apple.fandom.com/wiki/List_of_Mac_OS_versions is the result of me untangling early OS versions based on my own recollections and talking to people / reading people's remembrances of the period.

System 4.0 is a general public release (System Software 2.0) following on as an update to System 3.2 (System Software 1.1). System 3.3 was developed in parallel, specifically for the AppleShare Work Station for the Mac 512k. As a result, 4.0 got some of the updates from 3.3 before shipping, and they were both slated to go out with Finder 5.4. And the initial disks did! But then Finder 5.5 came along; the 2.0.1 GM including System 4.1 had already been finalized, but the new 5.5 Finder was also included with a second wave of the AppleShare Work Station floppies, ensuring that Mac 512k owners running AppleShare Work Station got the 5.5 fixes that otherwise were unavailable to 512k users, as System Software 2.0.1 with System 4.1 didn't officially support the 512k, requiring a 512ke or later.

So being able to boot the Mythical Mac 256k right up through 4.1 is actually quite impressive! 4.1 with the default Finder and extensions is supposed to require more than 512k to run any applications.
 

nathall

Well-known member
As I indicated above, it’s entirely possible to run 5 and 5.1 on a standard (non-enhanced) 512k. You just need to copy the PTCH resource from the System Software 2.0.1 System file over to the 5/5.1 System file. The primary issue you run into isn’t memory— it’s disk space. An unenhanced 512k can only boot from a 400k disk. So, no MultiFinder, hefty control panels, DAs, and you need to trim down the fonts.

In fact, you can even do it as late as 6.0.3. I haven’t tried anything higher as it gets increasingly difficult to trim the fat off the system enough to fit on a 400k disk. You can tell it’s a non-enhanced 512k (64k ROM) by the mini Mac icons:

AAB5A6D2-157C-4438-9D94-17ADDD856856.jpeg
 

David Cook

Well-known member
An unenhanced 512k can only boot from a 400k disk.

Actually, it can boot from 800K disks as long as they were formatted in MFS, not HFS. There is a long chain showing the progress certain members made in creating 800K MFS floppies. I presume @JDW still has a copy of the disk image? It looks like the final thread with JDW's definitive instructions got lost.


So, maybe, take your progress in running newer Systems and combine it with JDW's 800K MFS disks.
 

nathall

Well-known member
Very interesting! I was not aware of this — I will investigate. Of course, you’d still be limited to 400k by the internal floppy that only has a R/W head on one side, but this could be a game changer in conjunction with an external 800k drive.
 

David Cook

Well-known member
Very interesting! I was not aware of this — I will investigate. Of course, you’d still be limited to 400k by the internal floppy that only has a R/W head on one side, but this could be a game changer in conjunction with an external 800k drive.

Good news!

@JDW posted @Mac128 's comprehensive 800K MFS instructions. Go to the following page and click the blue "Download" button on the upper-right side.

After downloading the PDF, you will also want to download the "Magic" system 400K disk image on that same link. Burn this to a 400K floppy. Insert an 800K floppy in your external drive or floppy EMU. Format it. Now you have an 800K MFS disk. See the PDF for exact instructions.

@Mac128 also went into some detail about deleting certain resources to trim down the HD20 init. That's something that will be near and dear to you, I suspect.
 

Snial

Well-known member
@JDW posted @Mac128 's comprehensive 800K MFS instructions. Go to the following page and click the blue "Download" button on the upper-right side.
OK, so I've just read most of the thread. It's very enlightening, but also somewhat puzzling, because when I was at UEA (University of East Anglia, UK) in 1986-1989 we had a Mac 512K Lab (not 512Ke) and had just installed a bunch of Mac Plusses in the Digi-Lab on the floor below.

Oh, to explain: UEA was a new Uni, started in the 1960s, where most of the teaching and research took place in a long, 5 floor (maybe 6) block running several hundred metres. It was very compact and left plenty of room for an expansive, green campus area with a large lake. There was (and is) also a concrete walkway spanning the entire length, on the 2nd floor (3rd floor in US terminology), i.e. the middle floor, i.e. about 15m up. So, you could enter any school from the walkway and go down two floors or up two floors to get anywhere. Another Computer Science block with 3 or 4 floors was then built behind the main block, I think completed in the early 80s. So, the "Mac Lab" was on the Walkway floor and going downstairs and along its corridor took you to the Digi-lab, which was still above ground.

Anyway, the 512K Macs were upgraded Mac 128Ks, so they still had 64kB ROMs and no lettering on the front to identifying them as Mac 512Ks. The keyboards were also the shorter ones without cursor keys (which I loved). There was the external FD port at the back, and no SCSI. We also had the reset and programmers switches fitted and we had 2 or 3 shared LocalTalk (AppleTalk?) ImageWriter II printers amongst the 10 to 15 Macs in that Lab.

These Macs all had 800kB drives, because I am pretty sure that all our disks had an 800kB capacity. And they were always MFS formatted, at least when we were using System 2. I recall that it seemed 'normal' to be able to see all the files on the disk in an Open File dialog and later, when we were using a later System version, it seemed strange (and laborious) to navigate up and down folders to find our files.

It's possible for me to check this, because I still have some old disks from that era. So if they can at least mount I can check if they're 400kB or 800kB. But it seemed like they were 800kB as I was always impressed by the sheer amount of storage on those disks.

Again, going back to those 800kB disks. From our perspective, and we can see that from the struggle we'd have even fitting System 6 onto one, they seem pitifully small. It gives the impression that nothing serious could be done on those computers, but in fact that was far from the case. In the mid-80s, 800kB seemed wonderful, compared with 140kB for BBC Micro/Apple ][ disks or perhaps up to 360kB on an IBM PC (or the genuinely tiny 100kB microdrives on my QL). 800kB could fit an OS, MacPaint MacDraw, MacWrite, MacPascal and a decent assortment of documents and programs we wanted to write. I thought my first 800kB disk would be fine for my entire 1st year!
 

nathall

Well-known member
Good news!

Thanks. I’ll have to do some playing around later.

I thought there was a way to force format MFS on 800k disks by holding down Option or something at the disk initialization dialog. Maybe I’m thinking of forcing HFS on a 400k disk.
 
Top