home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
C-ASM_VI.ARJ
/
PROGASM.ZIP
/
PROG044.ASM
< prev
next >
Wrap
Assembly Source File
|
1988-04-10
|
854b
|
23 lines
;************************************************************************
; Set cursor size using a BIOS function *
; Entry: Start - Starting scan line (0 is at the top) *
; Stop - Ending scan line for cursor *
;************************************************************************
Start EQU [BP+4]
Stop EQU [BP+6]
PUBLIC _BIOS_Set_Curs_Size
_BIOS_Set_Curs_Size PROC NEAR
PUSH BP
MOV BP,SP
MOV AH,01H ;Load BIOS function
MOV CH,Start ;Start line for cursor
MOV CL,Stop ;End line for cursor
INT 10H ;Call BIOS so set shape
POP BP
RET
_BIOS_Set_Curs_Size ENDP