◄Map► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── ;* SetCurPos - Sets cursor position. ;* ;* Shows: BIOS Interrupt - 10h, Function 2 (Set Cursor Position) ;* ;* Uses: vconfig - Video configuration structure (initialized ;* by calling the GetVidConfig procedure) ;* ;* Params: Row - Target row ;* Col - Target column ;* ;* Return: None SetCurPos PROC USES bx dx, Row:WORD, Col:WORD mov dh, BYTE PTR Row ; DH = row mov dl, BYTE ptr Col ; DL = column mov ah, 2 ; Function 2 mov bh, vconfig.dpage ; Current page int 10h ; Set cursor position ret SetCurPos ENDP -♦-