AH = 02h: Set Cursor Position

This function sets the cursor position to the specified character cell row and column address on the specified page. This function applies to both text and graphics modes. In graphics mode, the cursor is invisible, but is used to define a position on the screen. Sixteen bytes (2 bytes per page) are maintained in BIOS RAM starting at CURCOOR. The first of each pair of bytes is the cursor column number. This routine updates this RAM with the new cursor position.


CRTMODE  Max c   Max r   Max p 
-------------------------------
0,1      39      24      8 
2,3      79      24      4 
4,5      39      24      0 
6,7      79      24      0 
20h      39      15      0 

Notes: