Image

cs609 assignment 3 solution 2020

Virtual University

cs609 assignment 3 solution 2020

cs609 assignment 3 solution 2020

cs609 assignment No 3 solution 2020

cs609 assignment No 3 solution 2020

cs609 assignment 3 solution 2020

cs609 assignment 3 solution 2020


VU Subjects Available List

Available Subjects List

Join Chat Room

Join Chat

Join our FB Group For VU help

Join VU Group
// CS609 sol by Rana Abubakar Khan www.ranapk.com
#include <dos.h>
#include <bios.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 st[50];
unsigned char buff[256];
FILE *fptr;
 
main(void)
{
puts ("enter the lba low double word: ");
gets (st);
dap.lbalod=atol(st);
puts ("enter the lba high double word: ");
gets (st);
dap.lbahid=atol(st);
dap.size=16;
dap.reserved1=0;
dap.blocks1;
dap.reserved2=0
dap.buffer = (unsigned char far *)MK FP(DS.buf);
_AH = 0x42;
_DL = 0x80;
_SI = (unsigned int)%dap;
 
geninterrupt(0x13);
puts ("enter the path: ");
gets(st);
fptr = fopen(st, "wb");
fwrite(buf,256,1,fptr);
fclose(fptr);
}
 

cs609 assignment

cs609 assignment

cs609 assignment

cs609 assignment solution

cs609 assignment solution

Categories: Virtual University

Comments

Leave a comment