FmD4FRX3FmXvDZXvGZT3FRFgNBP1w326w3z1NBMhNV5=
items

Fall 2022 CS609: System Programming Assignment No. 03

Fall 2021 CS609: System Programming Assignment No. 03


 Instructions:

Please read the following instructions carefully before submitting assignment. It should be clear

that your assignment will not get any credit if:

  •  The submitted assignment does not open or file is corrupt.
  • You have not followed all steps described in both questions
  • Assignment is copied (partial or full) from any source (websites, forums, students, etc.)

Strict action will be taken in this regard.

NOTE:

You must upload only a SINGLE Word document (.doc or .docx). Only code is required

written in a Word file. There is no need to attach screenshot. If you provide screenshots, it

will not carry any additional marks.

Objectives:

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

concepts including:

  • Physical Disk operations using INT 13

  •  Exploring BIOSDISK function

Question Statement:                                                                   (5+5+5)


Write C language program to complete the following three tasks using BIOSDISK function.

Task 1:

Suppose one removable disk is attached with your system. Check whether it is ready for access
or not. Show appropriate messages in either case.

Task 2:

Read the drive parameters of the first removable disk of the system. (The drive parameters will
be returned in the buffer that is passed as a parameter). After reading, write the contents of the
buffer in a file.

Task 3:

Format Track number 1 and set the bad-sector Flags (if bad-sectors are present) of first
removable disk of your system. The remaining parameters should be as follows:
 Head number = 0

 Sector number = 1

 Total number of sectors (nSect) = 1

NOTE:

Only code in a single Word file is required in DOC or DOCX format only. Screenshots are not
required. If you attach screenshots, it will not carry any additional marks.

---BEST OF LUCK---

CS609 Assignment 03 Solution By Study_Jobz

CS609 Assignment 03 Solution
Click below for Finl term Quiz👇 


cs609 quiz mega file

Click below for midterm Quiz👇

Cs609 Midterm latested quiz updated quiz




Click below to join the WhatsApp group

cs609 whatsapp groups link

0/Post a Comment/Comments

Partner

73745675015091643