1993 Macintosh PowerBook

Welcome to my page on when I found a way to image the data off of (the first computer I ever used) a 1993 Macintosh PowerBook 165c. These computers were based on the Motorola 680x0 microchip.

disassembled PowerBook 165c

I inherited a Mac PowerBook 165c in August 2019 accompanied by a crate of 3.5 floppies. I had no idea if it was going to boot or if any of the data including on the floppies could ever be useful again. I was thrilled that it did boot up. The first problem I ran into though was when a floppy was put in, if the screen brightness was anything above minimum the device would just click off immediately. This felt power related so I looked up the correct power cord online and bought one. Lo-and-behold using the correct power supply fixed the first easy problem. My goal however was to make all this vintage data and software maybe not useful but at least usable again.

9/24/2020

The first significant lead I came across on my journy was this article https://www.macdisk.com/mden.php. According to the paragraph "And What About DD Floppy Disks?", towards the bottom, the only way to read data off of 400K/800K floppies is to find a functioning Macintosh with a floppy drive that has GCR coding (Group Coded Recording) and variable spindle speed functionality.

9/30/2020

By the 28th I finally understood the 3.5 floppy disk zoo. 800K (2^19.64 = 819,200 bits), 400K (2^18.64 = 409,600 bits), 1.44MB (2^20.53 = 1,509,949 bits). There is nothing physically different from a 720K (2^19.49 = 737,280 bits) disk and an 800K disk. A variable spindle speed floppy drive can basically spin faster when the heads are near the center of the disk and likewise slower when the heads are near the outside of the disk. What this does is allow the heads to keep up by keeping the linear velocity of the spinning disk constant relative to the read/write heads which provided 80,000 more bits to be stored on a disk. This variable speed is even audibly noticable on the 165c.

"USB floppy drives: Only 720K PC (FAT12) and 1.44MB disks supported: their controllers do not support constant linear velocity read/write mechanics (where the rotation slows down towards the outside of the disk to cram more data in per angular unit of length, assuming an inside to outside radii progression). They are constant angular velocity drives (constant rotational speed). They also do not support Group Coded Recording (GCR) encoding -- only Modified Frequency Modulation (MFM) -- lots of internet articles are around about GCR and MFM. 720KiB and 1.44MB disks use CAV and MFM"

9/24/2020

If I had a modern USB floppy drive that could read/write Mac formatted images then files could be correctly stored and archived on another medium. I also read about an elusive mod board called Catweasel which appears to be made in Germany (if at all) yet if I had my hands on one it purportedly connects to a modern floppy drive and adds variable spindle speed functionality. That I am very curious about. The only site provided is here https://icomp.de/shop-icomp/en/news.html.

With that, I focused a bit and found this very comprehensive article http://www.applefool.com/se30/. From there I found this incredibly resourceful website https://www.gryphel.com/c/minivmac/start.html. I worked until 2AM looking for a way. I am making progress and finding appropriate and useful Mac software on the internet that I could bring over to the PowerBook. CopyRoms here https://www.gryphel.com/c/minivmac/extras/copyroms/index.html is supposed to grab the PowerBook ROM which is necessary for virtualization/emulation but on my first try it only created a 0 byte file named PB165.ROM so I emailed the developer.

9/29/2020 - 10:15 PM

I knew if I could find a way to get the UNIX utility dd (device-to-device) to reach the physical floppy so that a RAW HFS image could be written to a physical floppy then I would have a way to shuffle data to and from the PowerBook. Of particular interest was the CopyRoms image above. I spent a while working with WSL (Windows Subsystem for Linux) until I found a forum thread that recommended something I had not considered. Ditch WSL and use a VM (duh). The VM I had available was Kali Linux. The Kali VM provided an interface for the external USB drive to appear as a physical drive whereas I was unsuccessful finding an approach to doing that using WSL. I was very impressed when finally, software that was loaded onto a floppy using my modern computer was working on a PowerBook Macintosh from the 90s for the first time!

A floppy is normally mounted in WSL using these common UNIX commands:

$ sudo mkdir /mnt/floppy1
$ sudo mount -t drvfs a: /mnt/floppy1
$ cd /mnt/floppy1 && ls
$ sudo unmount /mnt/floppy1

Writing an image that was created with certain versions of DiskCopy (DiskCopy on System 7) require extra parameters to dd. Block size 84, and skip first block:

$ sudo dd if=/home/<user>/Desktop/SSW6-ZIP42.image of=/dev/sdb bs=84 skip=1

9/25/2020 - 10:15 PM

I worked on becoming more familiar with the abilities of floppies, the USB floppy drive, and images of or Mac formatted disks. I inventoried for blank and working disks. I placed an eBay order for five 1.44 MB disks. I had success imaging a blank 800K image https://www.gryphel.com/c/minivmac/extras/blanks/index.html onto a 720K floppy using my USB floppy controller drive. I am not sure why that worked exactly yet. Clearly disks formatted in 800K or 400K on a real Macintosh are not properly mountable on Windows or Linux.

3.5 floppies

9/29/2020

Sunday the 27th I got a reply form Paul Pratt gryphel@gmail.com, presumably the developer of CopyRoms. From the email I was generously informed that a file generated by CopyRoms that is zero bytes indicates that there is not enough disk space. I also learned that 1MB is required of the 165c ROM file. I then moved CopyRoms to the HDD of the Mac, ran CopyRoms again, and bang I had a 1MB ROM file. The file integrity of the ROM could have been verified from this list https://www.gryphel.com/c/mac68k/index.html. A 680x0 program called Checksum is available here https://www.gryphel.com/c/sw/sysutils/index.html among others to compute SHAs on Mac.

I loaded the ROM into mini_VMac but I learned that mini_VMac apparently does not recognize a 165c ROM. I replied to the email from Paul Pratt with my details of the predicament including my hashes of the ROM file. I realized though that this might be expected because mini_VMac must not support the 165c ROM. While I waited for a reply I dug around for other options of which I was aware of a few candidates.

I settled on "Basilisk II" https://www.emaculation.com/doku.php/basilisk_ii_setup, the first emulator that gave me the expected blinking floppy disk reported in emulation guides https://www.gryphel.com/c/minivmac/start.html as indicating that the ROM file is working. After a few hours of trial and error I successfully installed MacOS 7.6.1 onto a virtual volume.

The first thing I did with Basilisk II was add an image of a floppy I made earlier consisting of a few Word files off of the PowerBook to the emulator volumes.

On Monday, the 28th the 5 blank 1.44 MB floppies I ordered showed up and I also took a leap by installing a shareware program called DropStuff https://www.gryphel.com/c/sw/archive/dropstuf/index.html which provides the inverse functionality to StuffIt https://www.gryphel.com/c/sw/archive/stuffexp/index.html onto the source Mac. I wrote the image of DropStuff onto a floppy the same way I did CopyRoms. At least now with DropStuff I could compress files before writing them to a floppy which I would then carry to the destination storage medium via sneaker-net as opposed to uncompressed files that I would then be required to make more raw images of before they could be stored on the modern machine which was also proving unreliable at times. Compressing files also had the added benefit that the compressed files (.sit) were correctly preserved with the HFS (Hierarchical File System) resource fork data not to be confused with the MFS (Macintosh File System).

There was quite a learning curve to all these file types. Here are a few notes I made from my experience.

It turned out the only personal file on the Mac that was too large to fit on a floppy even with .sit compression was the "Amazon Trail Color" game file.

9/30/2020 2:20 AM

Yesterday I ordered a SCSI controller card from newegg. My next move is to see if I can image the whole drive. Potentially boot from an image of the drive itself. That would be impressive. Normal forensics would usually involve an off-line image the HDD. I am excited to see where that takes me. If I can properly image the drive I could potentially have some fun with the Mac hardware. Maybe, wipe the drive and start fresh for whatever reason I might want to do that. Then I could feel comfortable emptying the recycling bin too.

3:19 PM

Throwing all kinds of software on a computer and compressing files one-by-one so that they fit on 1.44 MB floppies then carrying those floppies back-and-forth over to a workstation is not ideal (or sound for that matter) forensics. I look forward to what capabilities the SCSI controller card will bring.

10/9/2020

I am going to try to connect the HDD directly to a Windows PC today with the SCSI card, adapters and cables. I hope I don’t damage anything.

open pc with scsi hdd connected to scsi adapter

11:30 PM

I had good luck today. It went exactly as planned. The image I made of the physical media with FTK was perfectly bootable with Basilisk II which was very impressive.
Physical Evidentiary Item (Source) Information:
[Device Info]
Source Type: Physical
[Drive Geometry]
Cylinders: 41
Tracks per Cylinder: 255
Sectors per Track: 63
Bytes per Sector: 512
Sector Count: 672,525
[Physical Drive Information]
Drive Model: IBM DHAS-2344 SCSI Disk Device
Drive Interface Type: SCSI
Removable drive: False
Source data size: 328 MB
Sector count:    672525

Image Information:
Acquisition started:   Fri Oct  9 17:37:12 2020
Acquisition finished:  Fri Oct  9 17:41:27 2020

MD5 checksum:    d95789db48eceabb4d8e0c5f58b6f6a6 : verified
SHA1 checksum:   c59d38d42509773231aff4b15d36e9ed8c73e20c : verified
As you can see from the FTK Imager report it took all of 4 minutes to complete the image of the entire 328MB system drive.
old mac video
Enjoy a video I made using the software in the Basilsk II emulator.