qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SetCurSize
   Example  Back  Contents  Index
──────────────────────────────────────────────────────────────────────────────
 
;* SetCurSize - Sets cursor size.
;*
;* Shows:   BIOS Interrupt - 10h, Function 1 (Set Cursor Type)
;*
;* Params:  scan1 - Starting scan line
;*          scan2 - Ending scan line
;*
;* Return:  None
 
SetCurSize PROC \
        scan1:WORD, scan2:WORD
 
        mov     cx, scan2               ; CL = ending scan line
        mov     ch, BYTE PTR scan1      ; CH = starting scan line
        mov     ah, 1                   ; Function 1
        int     10h                     ; Set Cursor Type
        ret
 
SetCurSize ENDP
                                    -♦-