← Back to context

Comment by reaperducer

2 days ago

Around 1987 I mostly completed a Unix-like OS for the C-64 called MATRIX. I was probably around six weeks away from burning it to a PROM when I got a new girlfriend and completely lost interest in the project.

I don't remember too much about it, other than:

- Because Commodore drives had ludicrously long file names for the era, paths like /etc/dev/joy1 didn't need any weirdness.

- Password encryption? What's that?

- What we would call "metadata" today was stored in USR files.

- Directory listing was agonizingly slow. I remember commandeering tracks 16 and 17 for my own hair-brained directory structure in an effort to speed things up.

This is a great story, and you're further along than I ever got in 1987! I had a C64 back then, too, and was fascinated by it, but never attempted anything this ambitious. Girlfriends, too, got the best of me! Fast forward nearly 40 years, and I finally built my Unix-inspired shell for it, just with a very different kind of assistant helping with the assembly. :)

The directory speed problem is real. I sidestepped it entirely by keeping the filesystem RAM-resident (max 8 entries, heap at $6000), which makes LS instant but obviously volatile. Your track 16/17 commandeering approach is incredible and fascinating. MATRIX sounds amazing, and you should dig it up and finish it now! :)