FAT16 support

I’ve added FAT16 support to my driver. It was as expected a pretty trivial change, since the only real difference is the size of FAT entries and the location (and size) of the root directory. I haven’t tested I/O yet, but directory traversal works fine. I’ve also realised that the current system of treating directories… Read more

Who’s your daddy

So, a few days ago I showed file reading working with my FAT driver. Today, I give you writing. It took a little bit of tweaking to get right; I made a few mistakes here and there. I’m not 100% confident in it yet, but it’s at least working for the simple case – opening… Read more

Now that’s what I’m talking about

Ain’t it beautiful? I thought it wouldn’t take too much extra effort to be able to read data from files, and I was right! I’ve been working on it for no more than two hours, I shouldn’t think, and there it is. And even though this is only a small test file, luckily the Flash… Read more

Stupid Intel

Yeah yeah, I suppose I’m just going to have to get used to it now with Apple moving to x86, but that doesn’t mean I have to like it. I’m talking about the wrong endianness, of course: little-endian. That’s what the problem was with the directory recursion; I was reading the cluster address as big… Read more

Interesting file names

Yes, I think it’s broken. 😜 On the upside, “Code” definitely is a directory. 🙂 /Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) – Current offset: 96/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) – Current condensed directory entry: AC/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) – Current offset: 128/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) – Current condensed directory entry: CODE /Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:491 (FATOpenFile) – Current block logical address: 19374080/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile)… Read more

Better FAT reading

I’ve finally gotten back to working on the FAT driver for ENP, and I’ve made pretty good progress in the short time I’ve been working on it. Previously I was only reading the first block of a directory entry, because I wasn’t then moving to the next block. I also didn’t have any code to… Read more

The in and inout’s of VHDL

On Friday I rocked up to the lab in the early afternoon, having taken the liberty of a good sleep in. Although my part was more or less finished at that point, with everything working fine – finally! – I wanted to add in some extra features, as I noted previously. Also, we needed to… Read more