That FAT12 implementation is very naive and unoptimized. You can see in this video that it takes about 7 seconds to copy a ~10 kB file: https://movq.de/v/fbf2b90ce1/los86-fat12-copy.mp4 🥴 I kind of like that, though, because it feels a little bit like an old machine. 😅🤪
@movq@www.uninformativ.de Ahh (sorry ignore my previous Twt); Any way to optimize the no. of BIOS calls? 🤔
@movq@www.uninformativ.de Ahh so you lack some kind of an open()
syscall to hold some state for the open file, i.e: a “file descriptor”? 🤔
@movq@www.uninformativ.de Yeah I have to admit I don’t know nearly enough about how the Linux Kernel works™ much here. I’m quite sure there’s a lot under the covers that we just don’t really fully appreciate 🤣