Do you know what this means? It means I’ve got our little FAT driver reading the entire FAT32 boot sector. What’s more, this is the very first ever run of this code; not a single error [that I can see]!
Needless to say, I’m pretty much glowing right now. :D
[Session started at 2006-05-11 12:28:42 +1000.] GNU gdb 6.1-20040303 (Apple version gdb-434) (Wed Nov 2 17:28:16 GMT 2005) 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/ttyp2 Program loaded. sharedlibrary apply-load-rules all run [Switching to process 643 local thread 0xf03] Running… Unable to open file "/Users/wadetregaskis/Documents/School/Fifth Year/PRJ/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.... (gdb) continue /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:599 (FATCreateVolume) - FATVolume: /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:600 (FATCreateVolume) - volume = 0xb380 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:601 (FATCreateVolume) - FATOffset = 523776 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:602 (FATCreateVolume) - DataOffset = 1532416 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:603 (FATCreateVolume) - bytesPerSector = 512 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:604 (FATCreateVolume) - sectorsPerCluster = 1 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:605 (FATCreateVolume) - reservedSectorCount = 38 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:606 (FATCreateVolume) - numberOfFATs = 2 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:620 (FATCreateVolume) - FAT32: /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:621 (FATCreateVolume) - FATInUse = 0 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:622 (FATCreateVolume) - mirroringDisabled = 0 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:623 (FATCreateVolume) - majorVersion = 0 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:624 (FATCreateVolume) - minorVersion = 0 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:625 (FATCreateVolume) - rootCluster = 2 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:626 (FATCreateVolume) - fileSystemInformationSector = 1 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:627 (FATCreateVolume) - backupBootSector = 6 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:628 (FATCreateVolume) - logicalDriveNumber = 0 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:629 (FATCreateVolume) - extendedSignature = 41 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:630 (FATCreateVolume) - serialNumber = 1149524418 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:636 (FATCreateVolume) - totalSectors = 128000 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:637 (FATCreateVolume) - mediaDescriptor = 248 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:638 (FATCreateVolume) - sectorsPerFAT = 985 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:639 (FATCreateVolume) - sectorsPerTrack = 63 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:640 (FATCreateVolume) - numberOfHeads = 255 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/Project/FATShell/FATDriver.c:641 (FATCreateVolume) - hiddenSectors = 0 /Users/wadetregaskis/Documents/School/Fifth Year/PRJ/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/PRJ/Project/FATShell/VolumeInterface.c:155 (destroyVolume) - Successfully destroyed volume (handle = 0, ptr = 0xb380) starting at logical address 0 (0), length 0 (0), format 3. Debugger stopped. Program exited with status value:0.