CS609-System Programming
Assignment No. 4
[Fall 2011]
Deadline
Your assignment must be uploaded/submitted at or before Monday 16, January 2012.
Uploading instructions
View the assignment submission process document provided to you by the Virtual University to upload the assignment.
- Your assignment must be in .doc format.(Any other formats like scan images, PDF, Zip, rar, bmp, docx etc will not be accepted)
- Save your assignment with your ID (e.g. mc060402111.doc).
- No assignment will be accepted through email.
Marking Rules
It should be clear that your assignment will not get any credit if:
· The assignment is submitted after due date.
· The submitted assignment does not open or file is corrupted.
· Your assignment is copied from internet, handouts or from any other student (Strict disciplinary action will be taken in this case).
Note:
· You should consult recommended books to clarify your concepts.
· It’s better for you to submit the assignment well before the deadline.
· Do not put any query at MDB about this assignment, if you have any query then email at CS609@vu.edu.pk
Assignment [Total Marks 20]
Q No. 1
Following is the memory dump of Drive Parameter Block that is retrieved using undocumented service 32 of Int 21h. Following DPB (Drive Parameter Block) gives information about the logical drive which has FAT16 File system.
After reading the above dump of DPB (Drive Parameter Block), fill in the following table with required values.
Detail of DPB dump Of FAT16 Volume | Value In Hexadecimal | Value In decimal |
Logical Drive Letter. | 07 = H drive | 07 |
Unit No. | 07 | 07 |
Bytes per Sector. | 0200 | 512 |
Highest Sector No. within a cluster. | 1F | 31 |
Sector Per Cluster | 1F+1=20 | 32 |
Shift count. | 05 | 05 |
Reserved sectors. | 0004 | 0004 |
Number of Fats | 2 | 2 |
Root Directory Entries | 0200 | 512 |
First Sector Containing user Data | 0138 | 312 |
Highest Cluster Number | 893B | 35131 |
No of sectors per FAT | 8A | 138 |
Sector number of First Directory | 0118 | 280 |