Better visualization of data formats using assembly POC's to better implement them in C
Are you tired of staring at hex dumps, white papers and manual pages? Want to feel like you truly know how a data type like a file format, or a disk partition LOOKS like. Well I can't help you with the manual pages and white papers, (https://staff.washington.edu/dittrich/misc/fatgen103.pdf, http://www.eit.lth.se/fileadmin/eit/courses/eitn50/Projekt1/FAT12Description.pdf) but here is a great example of implementing a fat12 floppy image in assembly.
So from this exploration, we can construct the following header file as a start:

 
 
I have an emulator program that emulates an iphone or android cellphone. Does compiling the assembly code above provide my computer with a "virtual fat12 floppy image"? Also, why fat12 and not any of the other disk formats?
ReplyDelete