home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / Samples / C-ASM_VI.ARJ / PROGASM.ZIP / PROG002.ASM < prev    next >
Assembly Source File  |  1988-04-10  |  593b  |  13 lines

  1.  
  2. ;************************************************************************
  3. ; Load CRT register 0Ah with the value 20h                              *
  4. ; Faster way (too fast for some chip sets)                              *
  5. ;************************************************************************
  6.  
  7. Fast_Change_Underline   PROC NEAR
  8.         MOV     DX,3D4H                 ;Fetch CRTC address (assumes color)
  9.         MOV     AX,200AH                ;Fetch data and index
  10.         OUT     DX,AX                   ;Select index and write data
  11.         RET
  12. Fast_Change_Underline   ENDP
  13.