home *** CD-ROM | disk | FTP | other *** search
/ Top Ten Mega Games 2 / TOP_TEN_Mega_Games_2.iso / SW / QPEG / DRVSRC / ET3000.ASM < prev    next >
Assembly Source File  |  1994-05-01  |  575b  |  35 lines

  1. ;
  2. ; QPEG video driver
  3. ; for Tseng Labs ET3000 chipsets
  4. ;
  5.  
  6.         .286
  7. Code    Segment Para 'Code'
  8.         Assume  cs:Code
  9.         Org 100h
  10.  
  11. Procs   dw      Bank,Init,Exit,0
  12.  
  13. Bank:   mov     dl,al
  14.         shl     al,3
  15.         or      al,dl
  16.         or      al,40h
  17.         mov     dx,03cdh
  18.         out     dx,al
  19.         retf
  20.  
  21. Init:   mov     dx,03bfh
  22.         mov     al,03h
  23.         out     dx,al
  24.         mov     dl,0d8h
  25.         mov     al,0a0h
  26.         out     dx,al
  27.         retf
  28.  
  29. Exit:   retf
  30.  
  31. Code    Ends
  32.         End Procs
  33.  
  34. ; End of source.
  35.