home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / util2 / noblink.lzh / NOBLINK.DOC < prev   
Text File  |  1985-12-09  |  2KB  |  83 lines

  1.  
  2.  
  3.  
  4. PROGRAM NAME - NOBLINK Version 1.0, May 1, 1985
  5.  
  6. AUTHOR    -    Jim Kyle (76703,762)
  7.  
  8. PURPOSE   -    Patches  IBM's  ANSI.SYS (installed copy) to  eliminate  the 
  9.                annoying blink that occurs when using an IBM color display.
  10.  
  11. DESCRIPTION -  This program overlays the text-mode scrolling portion of the 
  12.                resident copy of ANSI.SYS with a new routine which waits for 
  13.                retrace,  then scrolls 2 lines,  and repeats this process to 
  14.                scroll  a  total  of 24 lines of text.  It  then  waits  for 
  15.                retrace  again,  and  inserts the blank line 25.  The  video 
  16.                display is never blanked,  thus getting rid of the  blackout 
  17.                effect.
  18.  
  19.                For use only with the ANSI.SYS driver furnished with version 
  20.                2.10  of DOS.  Should work with any other,  however,  if the 
  21.                destination  address is made to match that of  the  existing 
  22.                code and if registers are set up the same as in 2.10.
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                 1
  62.  
  63.  
  64.  
  65.  
  66.  
  67. 
  68. 0H    ;color display screen segment
  69.      JZ    OK        ;ok to install
  70.      MOV    DX,OFFSET EM2
  71.      JMP    SHORT FINI
  72. OK:    MOV    SI,OFFSET NEW    ;set up for move
  73.      MOV    DI,01C0H    ;offset to put patch at
  74.      MOV    CX,NEWLEN    ;length of patch
  75.      PUSHF
  76.      CLD
  77.      CLI            ;disable interrupts while moving!
  78. REPZ    MOVSB
  79.      POPF
  80.      MOV    DX,OFFSET MSG3    ;report success
  81. FINI:    MOV    AH,9
  82.      INT    21H
  83.      INT