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

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

# CS609 Assignment No 01 Fall 2019 Solution & Discussion

CS609 Assignment No 01 Fall 2019 Solution & Discussion

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

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

Views: 1657

.

+ 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

Our main purpose here discussion not just Solution

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

Then copy Questions from assignment file and paste in Discussion.

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

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

IDEA Solution of CS609 Assignment 1 (Dear student change it as per assignment)
----------------------------
#include<BIOS.H>
#include<DOS.H>

char st1[80] ={"Virtual University of Pakistan\$"};
char st2[80] ={"Washi Ali\$"};
char st2[80] ={"Tufail\$"};

void interrupt (*oldint65)( );
void interrupt newint65( );
void main()
{
oldint65 = getvect(0x65);
setvect(0x65, newint65);
keep(0, 1000);
}
void interrupt newint65( )
{
switch (_AH)
{
case 0:
_AH = 0x09;
_DX = (unsigned int) st1;
geninterrupt (0x21);
break;

case 1:
_AH = 0x09;
_DX = (unsigned int) st2;
geninterrupt (0x21);
break;

case 2:
_AH = 0x09;
_DX = (unsigned int) st3;
geninterrupt (0x21);
break;
}

}
}

FOR CS609 assigment 1 solution See handouts example on pg #26.

04 - TSR programs and Interrupts

Do we just have write the code? Or any screenshot is necassary?

u just have ti provide .doc file. word file

CS609 Assignment No 01 Fall 2019 Solution

CS609 Assignment 1 IDEA Solution of (Dear student change it as per assignment)
----------------------------
#include<BIOS.H>
#include<DOS.H>
char st1[80] ={"Virtual University of Pakistan\$"};
char st2[80] ={"Washi Ali\$"};
char st2[80] ={"Tufail\$"};
void interrupt (*oldint65)( );
void interrupt newint65( );
void main()
{
oldint65 = getvect(0x65);
setvect(0x65, newint65);
keep(0, 1000);
}
void interrupt newint65( )
{
switch (_AH)
{
case 0:
_AH = 0x09;
_DX = (unsigned int) st1;
geninterrupt (0x21);
break;
case 1:
_AH = 0x09;
_DX = (unsigned int) st2;
geninterrupt (0x21);
break;
case 2:
_AH = 0x09;
_DX = (unsigned int) st3;
geninterrupt (0x21);
break;
}
}
}

CS609 Assignment 1 IDEA Solution

CS609 Assignment 1 IDEA Solution

cs609 Assignment solution is given below:

#include<stdio.h>
#include<BIOS.H>
#include<DOS.H>
#include<conio.h>

void interrupt (*old)();
void interrupt ScrollLock();
char far *scr=(char far*) 0x00400017;

char st1[80]("Virtual University of Pakistan\$");
char st2[80]("Basit Ali\$");

void main()
{
clrscr();
_AH=0;
_DX=(unsigned int) st1;
_AH=0x09;
geninterrupt(0x21);

_AH=1;
_DX=(unsigned int) st2;
_AH=0x09;
geninterrupt(0x21);

_AH=2;
_DX=(unsigned int) st3;
_AH=0x09;
geninterrupt(0x21);

old=getvect(0x08);
setvect(0x08,ScrollLock);
keep(0,1000);

}

void interrupt ScrollLock()
{
*scr=16;
(*old)();
}

How Installing and configuring Oracle VM Virtual Box

#CS609 Assignment No 01 Fall 2019

#include<stdio.H>
#include<BIOS.H>
#include<DOS.H>
#include<conio.H>
void interrupt (*old)();
void interrupt ScrollLock();
char far *scr=(char far*)0x00400017;
char str1[80]={“Virtual University of Pakistan\$”}
char str3[80]={“Sami Ullah\$”}

void main()
{
clrscr();
_AH=0x09;
_DX=(unsigned int)st1;
geninterrupt(0x21);
_DX=(unsigned int)st2;
geninterrupt(0x21);
_DX=(unsigned int)st3;
geninterrupt(0x21);
old=getvect(0x08); // Keep vector of current INT
setvect(0x08,ScrollLock); //setting to new INT
keept(0,1000);
}
void interrupt ScrollLock()
{
*scr=16;
(*old)();
}

## Latest Activity

5 minutes ago
Sumera posted a status
"Any bs economics 2nd semester"
11 minutes ago
18 minutes ago
19 minutes ago
21 minutes ago
Sumera posted a status
22 minutes ago
Shazma niazi joined + M.Tariq Malik's group

### EDU406 Critical Thinking and reflective Practice

24 minutes ago
Rana Ali liked Rana Ali's discussion سنا ہے لوگ اسے آنکھ بھر کے دیکھتے ہیں
32 minutes ago
Rana Ali posted a discussion

32 minutes ago

35 minutes ago

38 minutes ago
52 minutes ago

1

2

3