We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Semester: Spring 2020

CS609: System Programming

Graded

Assignment No. 03

Total Marks: 20

 

Due Date: July 30, 2020

 

Instructions:

 

Please read the following instructions carefully before submitting assignment. 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 corrupt.

§  You have not followed steps described in Detailed Instructions of the problem statement.

§  Assignment is copied (partial or full) from any source (websites, forums, students, etc.) Strict action will be taken in this regard.

 

Note:You have to upload only .doc or .docx file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks.

 

Objectives:

 

The objective of this assignment is to provide hands-on experience of System Programming concepts including:

 

·         Hard DiskInterrupts

·         Reading Hard Disk Block

·         Invoking Interrupts

·         File Pointer

 

 

 

 

For any assignment related query, contact at CS609@vu.edu.pk

 

 

Problem Statement:

Q: Write C program to perform a block read operation using interrupt 13H/42H. Follow the instructions given below: [Note that we are using DAP data structure which is used by extended int 13H service].

 

 

Instructions:

1)         Include all header files and declare string arrays to input low and high word.

2)         Declare DAP structure and file pointer.

3)      Get low double word from the user, temporarily store it in character array st, and assign this value to lbalod.

4)      Get high double word from the user, temporarily store it in character array st, and assign this value to lbahid.

5)         Finally, generate the interrupt 0x13

6)         Open file through fopen()

7)         Write the read block of hard disk to file.

 

Note: Your assignment solution will be in this Word file (.doc or .docx)containing code of C. 

Best of Luck!

 

 


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 682

Attachments:

Replies to This Discussion

RSS

Latest Activity

Volunteer liked Omar's discussion Eyes and Hearts
3 minutes ago
Volunteer replied to Omar's discussion Eyes and Hearts
3 minutes ago
Volunteer replied to Miss. Churhail's discussion HIPPOCAMPUS YANI MEMORY!!!
14 minutes ago
Abu Sufyan posted a status
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS606 GDB No 01 Fall 2020 Solution / Discussion in the group CS606 Compiler Construction
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS607 Assignment 01 Fall 2020 Solution / Discussion Due Date: 30-11-2020 in the group CS607 Artificial Intelligence
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS615 Assignment No 01 Fall 2020 Solution / Discussion Due Date: 27-10-2020 in the group CS615 Software Project Management
1 hour ago
Profile IconShahid Iqbal, atta, sania saeed and 13 more joined Virtual University of Pakistan
1 hour ago
+M.Tariq Malik liked Miss. Churhail's discussion cs101 assignmnt solution
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS101 Assignment 01 Fall 2020 Solution / Discussion in the group CS101 Introduction to Computing
1 hour ago
Profile IconBS MATH and Ata Ur Rehman joined +M.Tariq Malik's group
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MCD401 Assignment 01 Fall 2020 Solution / Discussion in the group MCD401 Camera basics, principles and practices
1 hour ago

Looking For Something? Search Here

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.