Post a New Question

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

More Related Questions

Post a New Question