Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

disscus solution of Assignment No. 03 of System Programming-CS609 Due Date: 28/Jan/2014

Graded Assignment


Please read the following instructions carefully before submitting assignment:


  • You will submit your assignment before or on due date on VU-LMS.
  • Assignment should be completed by your own efforts it should not be copied from internet, handouts or books.
  • You should submit your .doc File via assignment interface at VU-LMS.
  • Assignment sent via Email will not be replied and accepted in any case.
  • If the submitted assignment does not open or file is corrupt, it will not be marked.
  • You will submit solution only in document (.doc or .docx) File.




To understand the use of INT 13H and its services.



For any query about the assignment, contact at

Assignment Questions

A request before solving it:

Dear Student,

This is very easy assignment which requires only the implementation of a given program. This implementation will build your understanding of BIOS interrupt 13H routine more clearly. So, do not paste your solution from any kind of source. Just do and describe what happens and how you tackle the errors if any.


Question:                                                                                                                               Marks 20     


Implement the program of lecture number 27 by using the BORLANDC compiler. File path of this program should be at the root directory of D partition and the file name should be LBA.txt. After the implementation of this program you take a memory dump which shows the successive operation of this program.  Also describe the values of this dump to prove the successive operation and also describes the whole processes of your implementation within few lines.

At the end of this assignment, show the data of your text file “LBA.txt” after the execution of above program.

Views: 14157


Replies to This Discussion

shamoon bhai, plz help

PLZ program error dy raha

ap k code me semi colon nahi hai usy add karen

jo code dea gya wohe use kr ri hn bt mjy ni mil rahay error

#include <dos.h>
#include <bios.h>
#include <conio.h>
#include <stdlib.h>
#include <stdio.h>

struct DAP {
unsigned char size;
unsigned char reserved1;
unsigned char blocks;
unsigned char reserved2;
unsigned char far *buffer;
unsigned long int lbalod;
unsigned long int lbahid;
} dap;
char lba[80];
unsigned char buf[512];
FILE *fptr ;
void main (void)
puts ("enter the lba low double word: ");
gets (lba);
puts ("enter the lba high double word: ");
gets (lba);
dap.buffer =(unsigned char far*)MK_FP(_DS,buf);
_SI=(unsigned int)&dap;
puts("enter the path: ");


my lba.exe is not opening..

anyone know why?

agr kisi k pas floppy nah ho to phir woh dump kesay lay?

any other option

plz share solution in doc file.

time is very short plz ...

i hv this problem tell me how i am handle it

DOSBOX or CMD ma apna program load karny sy pehly.. download debug.exe from this link:
and place it in you BORLAND->BIN folder after that.

open your CMD or DOSBOX then follow the process steps:

1:- mount d d:\
2:- d:
3:- cd borlandc\bin

NOW program loading steps

1:- lba.exe
2: give low double word LBA (any double number like 1234).
3: give high double word LBA (any double number like 5678).
4: give pathe to create text file like:

5: then next
type d:\lba.txt

6: now main point load debug.exe by typing:

which provide
then give (low lba: high lba) press enter
this will show dump of your given LBA.

download debug.exe from this link..

plz give me link to download debug.exe for window 7 64 bit operating system

i download it but then it give me error


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

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