home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / VGAKIT60.ZIP / svga320.asm < prev    next >
Assembly Source File  |  1994-01-01  |  860b  |  42 lines

  1.  
  2.     include model.inc
  3.     include    vesa.inc
  4.  
  5. ;
  6. ;    VGAKIT Version 6.0
  7. ;
  8. ;    Copyright 1988,89,90,91,92,93,94 John Bridges
  9. ;    Free for use in commercial, shareware or freeware applications
  10. ;
  11. ;    SVGA320.ASM
  12. ;
  13. ;
  14. .data
  15.     extrn    cirrus:byte,everex:byte,paradise:byte,tseng:byte,trident:byte
  16.     extrn    t8900:byte,ativga:byte,aheada:byte,aheadb:byte
  17.     extrn    oaktech:byte,video7:byte,chipstech:byte,tseng4:byte,genoa:byte
  18.     extrn    ncr:byte,compaq:byte,acumos:byte,vesa:byte
  19.  
  20.     extrn    maxx:word,maxy:word,scanline:word,ourseg:word
  21.  
  22. .code
  23.     public    svga320
  24.     extrn    mkadrtbl:proc,txtmode:proc,setmany:proc,vesaset:proc
  25.  
  26. svga320 proc            ;Set 320x200x256 on most VGA cards
  27.     mov    [ourseg],0a000h
  28.     mov    ax,320
  29.     mov    [maxx],ax        ;default width to 320
  30.     mov    [scanline],ax
  31.  
  32.     mov    ax,13h
  33.     int    10h
  34.     mov    ax,200
  35.     mov    [maxy],ax
  36.     call    mkadrtbl
  37. notr:    ret
  38. svga320 endp
  39.  
  40.     end
  41.  
  42.