home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
CEXPRESS.ZIP
/
SCREEN.ASM
/
BLINKON.ASM
< prev
next >
Wrap
Assembly Source File
|
1989-05-03
|
405b
|
20 lines
;void blink_on();
EXTRN _memory_model:byte
EXTRN _color:byte
_TEXT SEGMENT BYTE PUBLIC 'CODE'
ASSUME CS:_TEXT
PUBLIC _blink_on
_blink_on proc near
mov al,_color ;get the current color
or al,10000000B ;set the relevant bit
mov _color,al ;set the value
cmp _memory_model,0 ;quit
jle quit ;
db 0CBh ;RET far
quit: ret ;RET near
_blink_on endp
_TEXT ENDS
END