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 successive clusters in the directory entry. That’s all in now, and I’m pretty pleased with how it’s going. I’m not entirely sure as to how the code works, now that it’s been prodded and poked this much, but it seems to. Appearance is everything. 😜

And I’ve now discovered what appears to be another directory on this flash image I’m using for debugging… awesome. Time to see if I can traverse the directory structure properly. 🙂

When I first wrote the additional code I added a macro, ADDRESS_IS_IN_BLOCK, to determine when I was exiting the current block [and should load the next one]. Unfortunately instead of calculating the block logical start address as I intended, I was calculating the block number. Needless to say, that didn’t work. 😅

The next notable issue I had was that I’d forgotten to release the block containing the FAT entry when I went to read it (at the end of each cluster), which was causing exhaustion; I’m testing with a single block for the moment, since I want this to work with the absolute minimum of RAM. It looks like Rob & I have secured, courtesy of Paul Main, a beefier AVR – one with 8K of SRAM – but for the moment all we’ve got in our hot little hands is one with 2K of SRAM, so every byte counts.

Anyway, now it’s all shiny. Time to go test if “CODE” really is a directory. 😀

[Session started at 2006-06-08 23:02:00 +1000.]
GNU gdb 6.3.50-20050815 (Apple version gdb-477) (Sun Apr 30 20:06:22 GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwin".
Loading program into debugger…
tty /dev/ttyp1
Program loaded.
sharedlibrary apply-load-rules all
run
[Switching to process 1226 local thread 0xf03]
Running…
Unable to open file "/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/Flash Disk Image" as writable; reverting to read-only.
..i.k$.....YU.J..r.y.b..9...e...O.:N.h......&...|...Bjl.i.........u.7.[.Kv.1`...*...A`...=.61[.....b.SO5...U
+..J...uO....b.b^9...N....c&.!.3`....HP..K:...3.s..u.b.....d01...Q.h..g...^..X..**f...}...yf......ke.....mh.
..e............x*..f.~E.[6V.6.f.[....aH.g[..Tk0.."....#R.....jQ...Wq<-EEm=...#.C....s.....R..gUs.{P#V-cp....
.%_^q.0mZ...b...d.._...&..7...`?]z.."....,.~.q...[1.}..`sn&...*n.Vl.jn.{z.dLi..ES....4..*..%...:q..(.....a.
...B44O...P....e.....T.."#......j.*..<.....C<...6.}.78D.K(....I._..!..9.,..7....
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1172 (FATCreateVolume) - FATVolume:
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1173 (FATCreateVolume) - volume = 0xc368
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1174 (FATCreateVolume) - FATOffset = 19456
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1175 (FATCreateVolume) - DataOffset = 1028096
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1176 (FATCreateVolume) - bytesPerSector = 512
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1177 (FATCreateVolume) - sectorsPerCluster = 1
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1178 (FATCreateVolume) - reservedSectorCount = 38
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1179 (FATCreateVolume) - numberOfFATs = 2
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1193 (FATCreateVolume) - FAT32:
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1194 (FATCreateVolume) - FATInUse = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1195 (FATCreateVolume) - mirroringDisabled = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1196 (FATCreateVolume) - majorVersion = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1197 (FATCreateVolume) - minorVersion = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1198 (FATCreateVolume) - rootCluster = 2
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1199 (FATCreateVolume) - fileSystemInformationSector = 1
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1200 (FATCreateVolume) - backupBootSector = 6
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1201 (FATCreateVolume) - logicalDriveNumber = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1202 (FATCreateVolume) - extendedSignature = 41
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1203 (FATCreateVolume) - serialNumber = 1149524418
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1209 (FATCreateVolume) - totalSectors = 128000
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1210 (FATCreateVolume) - mediaDescriptor = 248
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1211 (FATCreateVolume) - sectorsPerFAT = 985
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1212 (FATCreateVolume) - sectorsPerTrack = 63
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1213 (FATCreateVolume) - numberOfHeads = 255
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1214 (FATCreateVolume) - hiddenSectors = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/VolumeInterface.c:125 (createVolume) - Successfully opened volume starting at logical address 0 (0), length 4294967295 (0xffffffff), suggestedFormat 3 (actual format 3).
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/VolumeInterface.c:155 (destroyVolume) - Successfully destroyed volume (handle = 0, ptr = 0xc368) starting at logical address 0 (0), length 0 (0), format 3.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1172 (FATCreateVolume) - FATVolume:
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1173 (FATCreateVolume) - volume = 0xc368
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1174 (FATCreateVolume) - FATOffset = 19456
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1175 (FATCreateVolume) - DataOffset = 1028096
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1176 (FATCreateVolume) - bytesPerSector = 512
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1177 (FATCreateVolume) - sectorsPerCluster = 1
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1178 (FATCreateVolume) - reservedSectorCount = 38
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1179 (FATCreateVolume) - numberOfFATs = 2
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1193 (FATCreateVolume) - FAT32:
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1194 (FATCreateVolume) - FATInUse = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1195 (FATCreateVolume) - mirroringDisabled = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1196 (FATCreateVolume) - majorVersion = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1197 (FATCreateVolume) - minorVersion = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1198 (FATCreateVolume) - rootCluster = 2
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1199 (FATCreateVolume) - fileSystemInformationSector = 1
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1200 (FATCreateVolume) - backupBootSector = 6
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1201 (FATCreateVolume) - logicalDriveNumber = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1202 (FATCreateVolume) - extendedSignature = 41
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1203 (FATCreateVolume) - serialNumber = 1149524418
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1209 (FATCreateVolume) - totalSectors = 128000
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1210 (FATCreateVolume) - mediaDescriptor = 248
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1211 (FATCreateVolume) - sectorsPerFAT = 985
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1212 (FATCreateVolume) - sectorsPerTrack = 63
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1213 (FATCreateVolume) - numberOfHeads = 255
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:1214 (FATCreateVolume) - hiddenSectors = 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/VolumeInterface.c:125 (createVolume) - Successfully opened volume starting at logical address 0 (0), length 65536000 (0x3e80000), suggestedFormat 0 (actual format 3).
Successfully opened root directory.
Successfully closed root directory.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:491 (FATOpenFile) - Current block logical address: 1028096
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: WOOT 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 32
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: D,
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 64
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: s
/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: ]
/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: C
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 160
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: CODE_W~1ZIP 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 192
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 224
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: AT
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 256
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: THESIS PDF 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 288
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: Dp
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 320
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: b
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 352
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 384
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: C
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 416
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: CODE(4~1ZIP 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 448
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: Bp
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 480
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: Z
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:491 (FATOpenFile) - Current block logical address: 33475072
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: ZILOGZ~1EXE 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 32
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: B4
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 64
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: z
/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: ZDS2_Z~1EXE 
/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:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 160
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 192
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: Cp
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 224
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: d
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 256
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: B
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 288
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: BICYCL~1PDF 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 320
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 352
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 384
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 416
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 448
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: DC
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 480
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: A
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:491 (FATOpenFile) - Current block logical address: 33476608
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: u
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 32
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: C
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 64
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: CREDIT~1PDF 
/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: E 
/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: 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 160
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 192
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 224
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: C
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 256
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: CODE_W~2ZIP 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 288
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 320
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 352
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 384
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 416
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 448
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: Dr
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 480
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: s
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:491 (FATOpenFile) - Current block logical address: 33477120
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: d
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 32
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: C
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 64
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: CODE_F~1ZIP 
/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:514 (FATOpenFile) - Current offset: 160
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:520 (FATOpenFile) - Found last entry.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:657 (FATOpenFile) - Path "/Wrong" is invalid; cannot find "WRONG ".
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/StandardIO.c:336 (openFile) - Unable to open file at path "/Wrong" with mode 1, permissions 700 - error #2 (No such file or directory).
Successfully failed to open "/Wrong", which shouldn't exist.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:491 (FATOpenFile) - Current block logical address: 1028096
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 0
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: WOOT 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 32
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: D,
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 64
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: s
/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: ]
/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: C
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 160
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: CODE_W~1ZIP 
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 192
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:524 (FATOpenFile) - Entry is empty.
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 224
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: AT
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) - Current offset: 256
/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) - Current condensed directory entry: THESIS PDF 
Successfully opened "/Thesis.pdf".
Successfully closed "/Thesis.pdf".
Debugger stopped.
Program exited with status value:0.

Leave a Comment