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

# Assignment No. 02 Graded Semester: Spring 2018 CS609: System Programming

+ 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: 10169

.

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

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

Attachments:

### Replies to This Discussion

aik to isme " kbhit " ki smjh nhi arhi or dursa ye btao k apna id kese dalna hy divisor me?mera id bc140400028 hy to ye yhan kese ayega?ASCCI form me dalna hy kya ye? me virtual box me window 98 use kr rha hu apni window 10 me

mene compile kiya hy to mujhe ye error arha hy kbhit me error arha hy 'declaration syntax error'...what's wrong?

Attachments:

yup hap win 98

is mein name and id khan daina hai?

#include<dos.h>
#include<stdio.h>

unsigned long int far *time = (unsigned long int far*) 0x0040006C

void main()

{
unsigned long inttx;
tx=(*time);
printf(“I am the Timer Counter and my Value before Delay is = %d” , tx);
tx=tx+36;
while((*time)< = tx);
{
printf(“I am the Timer Counter and my Value after 2 Seconds Delay is = %d” , tx);
}
printf(“My Name is Engr Emh”);
printf(“I am the Timer Counter and my Value before Delay is = %d” , tx);
tx = tx+36;
while((*time) <= tx);
{
printf(“I am the Timer Counter and my Value after 2 Seconds delay is = %d” , tx);
}
printf(“ My Vu Id is Ms000000000 ”);
}

o bhai tumhara  dimagh set hy?ye 1st assignment ka solution hy jo yhan bar bar post kr rhy ho,soye hue ho kya?

This code is on Page 78 of Handouts.

dosri ma b 3 errors a ry hn bhai

naqash have u done it??

nai kaki wala code e likha ha

tmz ,,first assignment ka solution ye hai Foqi rao

#include<BIOS.H>

#include<DOS.H>

unsigned int far *scr = (unsigned int far *) 0xb8000000;

void interrupt (*oldint65)();

void interrupt newint65();

void main() {

oldint65 = getvect(0x65);

setvect(0x65, newint65);

keep(0, 1000);

}

void interrupt newint65() {

if((_AH) == 0) { // Printing Student ID. Attribute Byte is 01110000 or 70H

(*scr) = 0x7042;         // B

(*(scr + 1)) = 0x7043;   // C

(*(scr + 2)) = 0x7031;   // 1

(*(scr + 3)) = 0x7032;   // 2

(*(scr + 4)) = 0x7033;   // 3

(*(scr + 5)) = 0x7034;   // 4

(*(scr + 6)) = 0x7035;   // 5

(*(scr + 7)) = 0x7036;   // 6

(*(scr + 8)) = 0x7037;   // 7

(*(scr + 9)) = 0x7038;   // 8

(*(scr + 10)) = 0x7039;  // 9

outportb(0x20, 0x20); // sending EOI to PIC

return;

}

else {

if((_AH) == 1) { // Printing Student Name

(*scr) = 0x7041;         // A

(*(scr + 1)) = 0x7042;   // B

(*(scr + 2)) = 0x7043;   // C

(*(scr + 3)) = 0x7044;   // D

(*(scr + 4)) = 0x7045;   // E

(*(scr + 5)) = 0x7046;   // F

(*(scr + 6)) = 0x7047;   // G

outportb(0x20, 0x20); // sending EOI to PIC

return;

}

}

}

## Latest Activity

44 minutes ago
45 minutes ago
45 minutes ago
48 minutes ago
49 minutes ago
50 minutes ago
52 minutes ago
1 hour ago
1 hour ago
1 hour ago
1 hour ago
+ " Elena" updated their profile
2 hours ago

1

2

3