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 >
Wrap
Assembly Source File
|
1988-04-10
|
787b
|
18 lines
;************************************************************************
; Using BIOS to obtain cursor start and end *
; Exit: AH - Cursor start *
; AL - Cursor end *
;************************************************************************
PUBLIC _BIOS_Get_Curs_Size
_BIOS_Get_Curs_Size PROC NEAR
MOV AH,3 ; Select BIOS service 3
MOV BL,0 ; Set page
INT 10H ; Call BIOS
MOV AH,CH ; Save starting value
MOV AL,CL ; Save ending value
RET
_BIOS_Get_Curs_Size ENDP