home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / CEXPRESS.ZIP / SCREEN.ASM / BLINKOFF.ASM < prev    next >
Assembly Source File  |  1989-05-03  |  411b  |  20 lines

  1. ;void  blink_off();
  2.  
  3.     EXTRN  _memory_model:byte
  4.     EXTRN  _color:byte
  5.  
  6. _TEXT    SEGMENT BYTE PUBLIC 'CODE'
  7.     ASSUME CS:_TEXT
  8.     PUBLIC _blink_off
  9. _blink_off proc near
  10.     mov  al,_color        ;get the current color
  11.     and  al,01111111B    ;clear the relevant bit
  12.     mov  _color,al        ;set the value
  13.     cmp  _memory_model,0    ;quit
  14.     jle  quit        ;
  15.     db   0CBh        ;RET far
  16. quit:    ret            ;RET near
  17. _blink_off endp
  18. _TEXT    ENDS
  19.     END
  20.