Official Name: AppEraseMouse
BCALL Address: 4D53
Erases the mouse cursor, and restores the previous contents.
- Mouse cursor erased from screen.
- AF, BC, DE, HL
You must call AppStartMouse to initialize memory before calling AppEraseMouse. AppEraseMouse erases the mouse cursor when you are done. The below example allows a user to move the mouse cursor around the screen, and returns once the enter key is pressed.
B_CALL AppStartMouse MouseLoop: cp 0Ch jr z,MouseDone B_CALL AppUpdateMouse jr MouseLoop MouseDone: B_CALL AppEraseMouse ret