tech.lgbt is one of the many independent Mastodon servers you can use to participate in the fediverse.
We welcome all marginalized identities. This Mastodon instance is generally for folks who are LGBTQIA+ and Allies with an interest in tech work, academics, or technology in general.

Server stats:

2.9K
active users

Public

I've spent my spare time this week learning about #Amiga filesystem formats, to find out why I had all those problems with file corruption in my effort last weekend to get an image file from Linux into Deluxe Paint on an emulator. (Previous thread: hachyderm.io/@simontatham/1140)

The _root_ cause is: there are two flavours of the Amiga filesystem, and I was using the less well tested one.

The two flavours are usually called OFS ("Original File System") and FFS ("Fast File System", and let's just assume we've done the jokes already). FFS took over from OFS early in the Amiga's life. So only Amigas from the very dawn of time use OFS, and third-party implementations of the filesystem (like the one in the Linux kernel) have _mostly_ been tested against FFS.

But my emulated Amiga _is_ from the very dawn of time (on purpose, because that most closely matches the real Amiga I had as a child). So it _only_ speaks OFS, and so I exercised all the less tested code paths and ran into all the bugs.

(1/5)

Hachyderm.ioSimon Tatham (@simontatham@hachyderm.io)Attached: 2 images Last month I posted a picture of a piece of needlework art in my dad's house, and remarked on its similarity to Amiga-era pixel art: https://hachyderm.io/@simontatham/113777224091786351 I said in that post that it would be cool to digitise it back to a paletted image suitable for actually loading into Deluxe Paint. I didn't get round to doing it … but someone else did! https://kaberett.dreamwidth.org/ put in a *lot* of effort (more than I would have dreamed of asking for) and sent me a PNG. I thought the only reasonable thing to do with that was to convert it back to IFF ILBM, transfer it on to an Amiga floppy image, and load it in _actual_ Deluxe Paint. Tada! But even given a starting PNG, getting it into DPaint was a challenge. (1/8)

@simontatham So far as I can remember, OFS remained the default for floppy disks even up to AmigaOS 3.1, while FFS was used on most hard disks. I think the reasoning was that the extra data validation and copying of data in OFS was worthwhile for slow and unreliable floppy disks but unnecessary and a performance bottleneck for hard disks.

Quiet public

@bwh ah, my mistake – so the reason those Linux implementations seemed to have been barely tested against OFS is not that it's too old, just that everyone was more interested in hard disks. Fair enough, I suppose!