home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1995 March / SOFM_Mar1995.bin / pc / dtp / qpeg / install.dat / DRVSRC / NCR.ASM < prev    next >
Assembly Source File  |  1994-05-01  |  501b  |  33 lines

  1. ;
  2. ; QPEG video driver
  3. ; for NCR 77C22 chipset
  4. ;
  5. ; Written by Peter van Sebille for QPEG
  6. ;
  7.  
  8.         .286
  9. Code    Segment Para 'Code'
  10.         Assume  cs:Code
  11.         Org 100h
  12.  
  13. Procs   dw      Bank,Init,Exit,0
  14.  
  15. Bank:   shl     al,2
  16.         push    ax
  17.         mov     dx,03c4h
  18.         mov     al,18h
  19.         out     dx,al
  20.         inc     dx
  21.         pop     ax
  22.         out     dx,al
  23.         retf
  24.  
  25. Init:   retf
  26.  
  27. Exit:   retf
  28.  
  29. Code    Ends
  30.         End Procs
  31.  
  32. ; End of source.
  33.