Category : C Source Code
Archive   : C_TEXT.ZIP
Filename : CLEAR_SE.ASM

 
Output of file : CLEAR_SE.ASM contained in archive : C_TEXT.ZIP


;--------------------------------------------------------------------------;
; Clear_section(x1,y1,x2,y2,color) ;
;--------------------------------------------------------------------------;

ASSUME CS:_TEXT
_TEXT SEGMENT BYTE PUBLIC 'CODE'
PUBLIC _CLEAR_SECTION
_CLEAR_SECTION PROC NEAR
PUSH BP
MOV BP,SP
PUSH DI
PUSH SI
PUSH DS
PUSH ES

MOV CH,[BP+4] ;X1
MOV CL,[BP+6] ;Y1
MOV DH,[BP+8] ;X2
MOV DL,[BP+10] ;Y2
MOV BH,[BP+12] ;Color


MOV AH,6 ;Service 6, Scroll up
XOR AL,AL
INT 10h

POP ES
POP DS
POP SI
POP DI
POP BP
RET
_CLEAR_SECTION ENDP

_TEXT ENDS
END