Thursday
March 30, 2017

Post a New Question

Posted by on .

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.

Answer This Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Post a New Question