We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>


Looking For Something at vustudents.ning.com? Click Here to Search

Answer of Q.No.01

#include <dos.h>

 #include <bios.h>

 char st[100];

 unsigned long int temp;

 unsigned int i;

 unsigned int count=100;

void main (void)

{

 temp=(unsigned long int)_DS;

 temp = temp 4L;

 i = *((unsigned int *)(&temp));

 temp = temp>>16L;

outportb (0x83,*((unsigned char *)(&temp)));

 outportb(0x02,*(((unsigned char *)(&i))));

 outportb(0x02,*(((unsigned char *)(&i))+1));

 count--;

 outportb(0x03,*((unsigned char *)(&count)));

 outportb(0x03,*(((unsigned char*)(&count))+1));

 outportb(0x0b,0x49);

 outportb(0x08,0);

 outport(0x0a,1);

 getch();

}

Answer of Q.No.02

The required function is given below:

if(BPB_FATSz16 != 0)

 FATSz = BPB_FATSz16;

else

 FATSz = BPB_FATSz32;

 if(BPB_TotSec16 != 0)

 TotSec = BPB_TotSec16;

else

 TotSec = BPB_TotSec32;

DataSec = TotSec – (BPB_ResvdSecCnt + (BPB_NumFATs * FATSz) + RootDirSectors);

CountofClusters = DataSec / BPB_SecPerClus;

if(CountofClusters < 4085)

 /* Volume is FAT12 */

else if(CountofClusters < 65525)

 /* Volume is FAT16 */

else

/* Volume is FAT32 */

+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 279

.

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

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

Replies to This Discussion

ye thk h 2nd wala

is this correct

RSS

Latest Activity

+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS311 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group CS311 Introduction to Web Services Development
3 minutes ago
+ M.Tariq Malik's 13 discussions were featured
5 minutes ago
+ M.Tariq Malik added a discussion to the group CS311 Introduction to Web Services Development
7 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS310 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group CS310 Open Source Web Application Development (PHP, PERL, CGI, Mysql)
11 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS310 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group CS310 Open Source Web Application Development (PHP, PERL, CGI, Mysql)
12 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion CS310 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material
12 minutes ago
+ M.Tariq Malik added a discussion to the group CS310 Open Source Web Application Development (PHP, PERL, CGI, Mysql)
12 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS305 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group CS305 Fundamentals of Algorithms
33 minutes ago

Today Top Members 

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

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