home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / Samples / C-ASM_VI.ARJ / PROGASM.ZIP / PROG023.ASM < prev    next >
Assembly Source File  |  1988-04-10  |  787b  |  18 lines

  1.  
  2. ;************************************************************************
  3. ; Using BIOS to obtain cursor start and end                             *
  4. ; Exit: AH - Cursor start                                               *
  5. ;       AL - Cursor end                                                 *
  6. ;************************************************************************
  7.  
  8.         PUBLIC  _BIOS_Get_Curs_Size
  9.  
  10. _BIOS_Get_Curs_Size   PROC NEAR
  11.         MOV     AH,3                    ; Select BIOS service 3
  12.         MOV     BL,0                    ; Set page
  13.         INT     10H                     ; Call BIOS
  14.         MOV     AH,CH                   ; Save starting value
  15.         MOV     AL,CL                   ; Save ending value
  16.         RET
  17. _BIOS_Get_Curs_Size   ENDP
  18.