We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.

CS609 Assignment No 02 Fall 2020 Solution / Discussion Due Date: 14-12-2020

Problem Statement:

Write a C program that will create an animation effect by displaying your Name, Student ID, and character V (fill complete screen), one after the other with a 3 second delay in each.

Detailed Instructions:

 In this assignment, you will create a crude animation effect by continuously displaying Name, Student ID, and character V – each will have 3 seconds duration

  • The animation will begin as follows:
  1. My Name is screen)
  2. My Student ID is

 

(Should be displayed for 3 seconds starting from upper left corner of the

(After above line, it should be displayed for next 3 seconds starting from upper left corner of the screen)

  1. After that, whole text area should be filled with character for the next 3 seconds
  2. After that, animation will start over automatically
  • Text memory Area is located at B800:0000
  • For producing delay, you must use Timer Count which is in BIOS Data Area 0040:006C. Read double word in this address and increment it appropriately so that it produces a 3 second delay
  • Attribute Byte for all cases is Black background and White foreground

 

NOTE:

Views: 1308

Replies to This Discussion

Share the Assignment Questions & Discuss Here.... 

cs609 assignment no 02 fall 2020 solution

Click on the below link to download the file

CS609_Assignment_No_02_Solution_Fall_2020

cs609 correct solution assignment no 02 fall 2020

Click on the below link to download the file

Fall2020_CS609_2_Solution.pdf

cs609 assignment no 2 solution fall 2020

cs609 assignment no 2 idea solution cs609 assignment 2 idea solution cs609 solved assignment cs609 assignment no2 fall 2020 cs609 assignment solution fall 2020

#Complete and #Correct #Solution of #CS609 #Assignment 2 #Fall2020 by #Washi - #System #Programming

CS609 Assignment 2 Fall 2020 Solution:

Code:

#include<BIOS.H>

#include<DOS.H>

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

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



char st[80] ={"my name is "};

char st1[80] ={"my student id is "};



void main() {

unsigned long int tx;

int i;

while (!kbhit()) {

clrscr();

tx=(*time);

tx = tx +54;

puts(st);

while((*time) <= tx);

tx=tx+54;

puts(st1);

while((*time) <= tx);clrscr();

tx=tx+54;

for (i=0;i<2000;i++)

{ *scr=0x56;

scr=scr+2;

}

while((*time) <= tx);

}

}

CS609 Assignment 2 Fall 2020 solution idea:

 

cs609 assignment no 02 fall 2020 solution

Click on the below link to download the file

CS609_Assignment_No_02_Solution_Fall_2020

CS609 Assignment No.2 fall  2020

#include<BIOS.H>
#include<DOS.H>
unsigned char far *scr=(unsigned char far*)0xb8000000;
unsigned long int far *time = (unsigned long int far*) 0x0040006C ;
char st[80] ={"my name is "};
char st1[80] ={"my student id is "};
void main() {
unsigned long int tx;
int i;
while (!kbhit()) {
clrscr();
tx=(*time);
tx = tx +54;
puts(st);
while((*time) <= tx);
tx=tx+54;
puts(st1);
while((*time) <= tx);clrscr();
tx=tx+54;
for (i=0;i<2000;i++)
{ *scr=0x56;
scr=scr+2;
}
while((*time) <= tx);
}
}

cs609 correct solution assignment no 02 fall 2020

Click on the below link to download the file

Fall2020_CS609_2_Solution.pdf

RSS

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

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