home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
CEXPRESS.ZIP
/
SCREEN.ASM
/
NORMAL.ASM
< prev
next >
Wrap
Assembly Source File
|
1989-05-03
|
426b
|
21 lines
;void normal();
EXTRN _memory_model:byte
EXTRN _color:byte
_TEXT SEGMENT BYTE PUBLIC 'CODE'
ASSUME CS:_TEXT
PUBLIC _normal
_normal proc near
mov al,_color ;get current setting
and al,10001000B ;relevant bits OFF
or al,111B ;relevant bits ON
mov _color,al ;set new value
cmp _memory_model,0 ;quit
jle quit ;
db 0CBh ;RET far
quit: ret ;RET near
_normal endp
_TEXT ENDS
END