home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Unsorted BBS Collection
/
thegreatunsorted.tar
/
thegreatunsorted
/
programming
/
asm_programming
/
AS02.ZIP
/
VIDOFF.ASM
< prev
next >
Wrap
Assembly Source File
|
1985-04-01
|
841b
|
71 lines
;VIDOFF.ASM - SET VIDEO DISABLE ROUTINE - 4/1/85 B.HOPKINS
CSEG SEGMENT
PUBLIC VIDOFF
ASSUME CS:CSEG
VIDOFF PROC FAR
PUSH BP ;SAVE BP (RETURN ADDRESS)
PUSH BX
PUSH DX
PUSH CX
PUSH ES
SUB CX,CX
MOV ES,CX
MOV BX,0B800H
MOV DX,3D8H
MOV AL,ES:[465H]
AND AL,0F7H
OUT DX,AL
; RETURN TO BASIC
POP ES
POP CX
POP DX
POP BX
POP BP ;RESTORE RETURN ADDRESS
RET ;2 * NUMBER OF VARIABLES PASSED
VIDOFF ENDP
CSEG ENDS
END