programming

posted by .

Write a Terminate and Stay Resident program in Assembly language to change the background color of DOS-screen after every ten seconds. You will need to hook timer interrupt (real time interrupt) for this purpose.


Hint:
Within the interrupt timer routine, you can use timer tick count to determine the required time (ten seconds) and then call the clrscr routine. Modify the clrscr routine such that instead of setting the background color to black, add some value to the attribute byte every time interrupt timer routine calls it.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. I need help

    Answer the following questions: i.Which factors are important in multitasking for thread initialization?
  2. c programming

    every week from monday to friday you go to class. when it is raining, you take an umbrella. but on the weekend,what you do depends on the weather. if it is raining, you stay indoors. otherwise, you have fun outdoors. write a c program …
  3. CSS/ Web programming

    Test the following CSS code: <style type = "text/css"> p.standout{font-size: 24pt; color:blue;background-color:red}; </style> <p class = "standout"> To really make it stand out, use a red background </p> What …
  4. programming MIPS ask 3

    Write a MIPS assembly language program for the following for loop: Pseudocode: int x; # for(x=10; x>0; x--){ # printf("x=%d", 4x); #} In the program use the slt or slti instruction and sll
  5. computer sicence C++

    Americans spell differently from Canadians. Americans write "neighbor" and "color" while Canadians write "neighbour" and "colour”. Write a program to help Americans translate to Canadian. Your program should interact with the user …
  6. programming

    write a program that performs a survey tally on vehicle. The program should prompt for the next person until a sentinel value of -1 is entered to terminate the program. Each person participating in the survey should choose their favorite …
  7. programming

    write a program that performs a survey tally on vehicle. The program should prompt for the next person until a sentinel value of -1 is entered to terminate the program. Each person participating in the survey should choose their favorite …
  8. c programming

    a student designed a program to accept the age of an employee and then compute the employees retirement year and display the same in a statement on the screen required. a) write out the pseudo-code for the program above b) write the …
  9. c++ programming

    Aiden Nelinski is paid every Friday. He is scheduled to receive either a 2% or 2.5% raise next week. He wants a program that calculates and displays the amount of his new weekly paid.The current pay must not exceed RM 50.00 and if …
  10. Programming Java

    I am learning Java in programming right now. I need to write a program that should have an output like this: The program says "Type ten names". Then ten names sould be typed a person. Then the program chooses a random name from the …

More Similar Questions