hassaanid2011
June 5th, 2011, 05:11 AM
You are required to write an Assembly program that shall be executed as Terminate and Stay Resident (TSR) program and performs the following operations.
• Clears the whole screen when executed for the first time and DOS prompt shall be returned back to User immediately as TSR does.
• The user can type any command but on pressing the key g, the whole background color of DOS screen shall change to “GREEN”.
• Similarly when the user presses the key b, the whole background color of DOS screen shall change to “BLUE”.
HINT:
You can check which key is pressed with the help of keyboard interrupt and change the background color accordingly.
• Clears the whole screen when executed for the first time and DOS prompt shall be returned back to User immediately as TSR does.
• The user can type any command but on pressing the key g, the whole background color of DOS screen shall change to “GREEN”.
• Similarly when the user presses the key b, the whole background color of DOS screen shall change to “BLUE”.
HINT:
You can check which key is pressed with the help of keyboard interrupt and change the background color accordingly.