In this video, we see three simple assembly-language programs showing how to do basic mouse routines in DOS. In order, the things these programs do are:
- Enable a black-and-white mouse cursor
- Move a graphical element on the screen in response to mouse movement (which is what you'd need to do to make a color mouse cursor)
- Place something on the screen and react appropriately when the user clicks on it
EDIT: Thanks to kpanic23 for pointing out that dividing by 2 in binary is as easy as shifting all bits one position to the right, and so I could have divided CX by 2 with the single line "shr cx,1".