On Thu, 15 Aug 2024 11:00:09 -0400 Jag Talon <jag@aangat.lahat.computer> wrote:
> Sorry, I forgot to run cvs add on files/minivmac-ii.desktop I committed this version of your diff, and removed the now-unused files/minivmac.png I edited /usr/ports/emulators/Makefile to add minivmac and minivmac,ii. Sorry, I forgot to add "SUBDIR += minivmac" when I imported your port back on 2024-07-18. I should have added the line immediately after I imported your tar. On the Macintosh II, the start chime and the Simple Beep come with some staticky noise; I don't know why. The rest of this mail is about how I converted some CD images for minivmac. The emulated System 7.0.1 can't mount a CD image with an Apple partition map; but if I extract the Apple_HFS partition, it can mount it as an (oversized) floppy image. $ hexdump -C appleworks.cdr | less ... 00000400 50 4d 00 00 00 00 00 02 00 01 0e 28 00 01 38 0e |PM.........(..8.| 00000410 54 6f 61 73 74 20 33 2e 35 2e 34 20 48 46 53 20 |Toast 3.5.4 HFS | 00000420 4f 70 74 69 6d 69 7a 65 72 00 00 00 00 00 00 00 |Optimizer.......| 00000430 41 70 70 6c 65 5f 48 46 53 00 00 00 00 00 00 00 |Apple_HFS.......| 00000440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000450 00 00 00 00 00 01 38 0e 00 00 00 13 00 00 00 00 |......8.........| This is the "Apple_HFS", look 6 bytes after "PM", there is offset 00 01 0e 28 and count 00 01 38 0e, so $ dd if=appleworks.cdr of=appleworks.hfs \ > bs=512 skip=$((0x10e28)) count=$((0x1380e)) $ chmod -w appleworks.hfs ports/archivers/p7zip might extract some Apple partition maps, but failed with this CD image of AppleWorks 5.0.3; so I used hexdump(1) and dd(1) for extraction. --gkoehler