home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / progmisc / hellsrc.zip / MODEX.RT < prev    next >
Text File  |  1993-06-03  |  650b  |  28 lines

  1. public  _modeX
  2. ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  3. ; Init mode 13h and set up for mode X
  4. ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  5. _modeX:
  6.         push ax dx
  7.         mov al,10h
  8.         mov v86r_ax,12h
  9.         int 33h
  10.         mov v86r_ax,13h
  11.         int 33h
  12.         mov dx,3c4h
  13.         mov ax,00604h
  14.         out dx,ax
  15.         mov al,2
  16.         out dx,al
  17.         mov dl,0ceh
  18.         mov ax,04005h
  19.         out dx,ax
  20.         mov dl,0d4h
  21.         mov ax,00014h
  22.         out dx,ax
  23.         mov ax,0e317h
  24.         out dx,ax
  25.         pop dx ax
  26.         ret
  27.  
  28.