home *** CD-ROM | disk | FTP | other *** search
/ 20th Century Video Alman…Century in Depth - Sports / ALMANAC_03.iso / vesa / everex / evrxref.doc < prev    next >
Text File  |  1993-04-14  |  12KB  |  228 lines

  1.      Everex Extended VGA BIOS Functions Quick Reference Sheet              
  2. ---------------------------------------------------------------
  3.  
  4.     * Extended Set Mode Function *                                     
  5. Entry:    AH = 00h    ;Set Mode Function                       
  6.     AL = 70h    ;Everex Extended Set Mode                  
  7.          b7 = 1 = Don't clear video buffer during Set Mode              
  8.     BL = Mode Number                          
  9. Exit:    None                                         
  10.                - Mode Table -                             
  11.                                   Grfx           
  12. Modes    Text    Font    Gender    Type      Colors   Planes  Res      Segment 
  13. -----    -----    ----    ------    ----      ------   ------  -----  ------- 
  14. x02    100x42    8x14    Color    Grfx16      16         4      800x600   A000  
  15. x03    80x34    8x14    Color    Text      16         1            B800  
  16. x04    80x60    8x 8    Color    Text      16         1            B800  
  17. x07    100x43    8x14    Color    Text      16         1            B800  
  18. x08    100x75    8x 8    Color    Text      16         1            B800  
  19. x0A    132x25    8x14    Color    Text      16         1            B800  
  20. x0B    132x44    8x 8    Color    Text      16         1            B800  
  21. x0E    132x25    8x14    Mono    Text             1            B000  
  22. x0F    132x44    8x 8    Mono    Text             1            B000  
  23. x14    80x25    8x16    Color    Grfx256      256         1      640x400   A000  
  24. x15    64x30    8x16    Color    Grfx256   256         1      512x480   A000  
  25. x16    80x30    8x16    Color    Text      16         1            B800  
  26. x18    100x37    8x16    Color    Text      16         1            B800  
  27. x20    128x48    8x16    Color    Grfx16      16         4   1024x768   A000  
  28. x21    160x64    8x16    Color    Grfx16      16         4   1280x1024  A000  
  29. x23    208x75    8x16    Color    Grfx16      16         4     1664x1200  A000  
  30. x30    80x30    8x16    Color    Grfx256      256         1      640x480   A000  
  31. x31    100x37    8x16    Color    Grfx256      256         1      800x600   A000  
  32. x32    128x48    8x16    Color    Grfx256      256         1   1024x768   A000  
  33. x40    132x30    8x16    Color    Text      16         1            B800  
  34. x50    132x30    8x16    Mono    Text             1            B000  
  35. (1)x62    40x25    8x8    Color    16Bit      32K         1      320x200   A000  
  36. (1)x63    100x37    8x16    Color    16Bit      32K         1      800x600   A000  
  37. (1)x70    64x30    8x16    Color    16Bit      32K         1      512x480   A000  
  38. (1)x71    80x30    8x16    Color    16Bit      32K         1    640x480   A000  
  39. (1)x72    90x30    8x16    Color    16Bit      32K         1    720x480   A000  
  40. (1)x73    96x30    8x16    Color    16Bit      32K         1    768x480   A000  
  41. (1)x74    90x35    8x16    Color    16Bit      32K         1    720x574   A000  
  42. (1)x76    64x30   8x16    Color   24Bit     16M        1    512x480   A000  
  43. (1)x77  80x30   8x16    Color    24Bit      16M         1      640x480   A000  
  44. Note(1)    : These mode are on supported on Everex TC and HC VGA cards      
  45. --------------------------------------------------------------------------
  46.     * Return Everex VGA State Info *                  
  47. Entry:    AX = 7000h    ;Everex Extended VGA BIOS Function          
  48.     BX = 0000h    ;Return Everex VGA State Info              
  49. Exit:    AL = 70h    ;Everex VGA is present/function successful      
  50.     CL = monitor type                          
  51.          00 = monochrome                            
  52.          01 = CGA                                
  53.          02 = EGA                                
  54.          03 = digital (TTL) multi-frequency                    
  55.          04 = IBM PS/2 or compatible (8503, 8512, 8513)          
  56.          05 = IBM 8514 or compatible                  
  57.          06 = super VGA (NEC 2A or similar)                    
  58.          07 = analog multi-frequency (NEC 3D or similar)            
  59.          08 = analog super multi-frequency (NEC 4D or similar)      
  60.     CH = emulation status                          
  61.          b0 = 1 = CGA/HGC emulation enabled                    
  62.          b1 = 1 = emulation automode enabled    (EVGA only)      
  63.          b2 = 1 = EverNMI (clobber) enabled        (EVGA only)      
  64.          b3 = 1 = VGA emulation enabled        (EVGA only)      
  65.          b4 = 1 = VGA register protect enabled              
  66.          b5 = 1 = optional special oscillator present          
  67.          b6..b7 = memory size (256K/512K/1024K/2048K)          
  68.     DX = board model (BCD number)                      
  69.          b15..b4: model number                      
  70.          b3..b0 : revision code                      
  71.     DI = BIOS version (BCD number)                      
  72. --------------------------------------------------------------------------
  73.     * Everex VGA CGA/HGC Emulation *                      
  74. Entry:    AX = 7000h    ;Everex Extended VGA BIOS Function          
  75.     BX = 0001h    ;Everex VGA Emulation                  
  76.     CH = Enable/Disable emulation function                  
  77.          00 = Disable 6845 emulation                  
  78.          01 = Enable  6845 emulation                  
  79. Exit:    AL = 70h    ;Everex VGA is present/function successful      
  80. --------------------------------------------------------------------------
  81.     * Everex VGA Register Protect *                      
  82. Entry:    AX = 7000h    ;Everex Extended VGA BIOS Function          
  83.     BX = 0002h    ;Everex VGA Register Protect              
  84.     CH = Enable/Disable protection function                  
  85.          00 = Disable VGA register protection              
  86.          01 = Enable  VGA register protection              
  87. Exit:    AL = 70h    ;Everex VGA is present/function successful      
  88. --------------------------------------------------------------------------
  89.     * Everex VGA Fast Mode *                      
  90. Entry:    AX = 7000h    ;Everex Extended VGA BIOS Function          
  91.     BX = 0003h    ;Everex VGA Fast Mode                  
  92.     CH = Enable/Disable protection function                  
  93.          00 = Disable Fast Mode                      
  94.          01 = Enable  Fast Mode                      
  95. Exit:    AL = 70h    ;Everex VGA is present/function successful      
  96. --------------------------------------------------------------------------
  97.     * Everex VGA Get Paging Function Pointer *              
  98. Entry:    AX = 7000h    ;Everex Extended VGA BIOS Function          
  99.     BX = 0004h    ;Everex VGA Get Paging Function Pointer          
  100. Exit:    AL = 70h    ;Everex VGA is present/function successful      
  101.     ES:DI = FAR pointer to a function which maps a 64K block of      
  102.         memory in at A000:0000 for 64K.                  
  103.                                       
  104. ES:[DI-2] = Word that tells the length of the paging function in bytes.      
  105.     This can be used for copying the function to a local buffer.      
  106. ES:DI = Address of function to be used for paging.  RETF (FAR return)      
  107.     is the last instruction.                      
  108. DL    = Input parameter for the requested 64K page when calling the      
  109.     Paging Function (ES:DI)                          
  110. --------------------------------------------------------------------------
  111.     * Everex VGA Get Mode Supported List *                  
  112. Entry:  AX = 7000h    ;Everex Extended VGA BIOS Function          
  113.         BX = 0005h    ;Everex VGA Get Mode Supported List          
  114.         CL = maximum number of modes to get list of                  
  115.         CH = mode type to get list of                  
  116.              00 = get all mode types                  
  117.              01 = get all mono  text modes                      
  118.              02 = get all color text modes                      
  119.              03 = get all 4-color (CGA) graphics modes            
  120.              04 = get all 2-color (CGA) graphics modes              
  121.              05 = get all 16-color (EGA/VGA) graphics modes          
  122.              06 = get all 256-color (VGA) graphics modes          
  123.              07 = get all True Color graphics modes              
  124.         DL = monitor type to get mode list of                 
  125.         (Typically the current monitor)                  
  126.         ES:DI points to a buffer of sufficient size              
  127. Exit:   AL = 70h    ;Everex VGA is present/function successful      
  128.         CL = total number of modes found fitting criteria            
  129.         CH = Size of each mode information structure            
  130.         ES:DI points to buffer of information returned             
  131.         The buffer is currently defined to have the following format:
  132.         (b) = Mode number (b7 set if it is an extended mode)     
  133.         (b) = Mode format (same definition as ch above)             
  134.         (b) = Info bits                             
  135.               b0 = 1 = paged mode                      
  136.               b1..b2 = requires 256K/512K/1024K/2048K            
  137.               b3 = 1 = requires optional special clock    
  138.               b4 = 1 = interlaced mode     
  139.               b5 = 1 = monochrome mode    
  140.               b6 = 1 = Mode has no BIOS support for writing characters
  141.                    or dots.                
  142.               b7 = reserved
  143.         (b) = font size    
  144.               b0..b4 = font height                
  145.               b5..b6 = reserved  
  146.               b7 = font width    
  147.                0 = 8-dot    
  148.                1 = 9-dot
  149.         (b) = Columns on screen (text format)
  150.         (b) = Rows on screen (text format)            
  151.         (w) = Number of scan lines            
  152.         (b) = Color information
  153.               b0..b5 = Bits per pixel
  154.               b6..b7 = reserved              
  155. -------------------------------------------------------------------------    
  156.     * Everex VGA Program Mode Parameters *
  157. Entry:  AX = 7000h    ;Everex Extended VGA BIOS Function
  158.         BX = 0006h    ;Everex VGA Program Mode Parameters            
  159.         ES:DI points to a standard VGA format 64-byte table
  160.         DS:DX points to a supplemental register table
  161.         (This table is strongly card dependent)
  162. Exit:   AL = 70h    ;Everex VGA is present/function successful      
  163. -------------------------------------------------------------------------    
  164.     * Return VGA Video Status Info * (NTSC and PAL boards only)        
  165. Entry:  AX = 7000h    ;Everex Extended VGA BIOS Function    
  166.         BX = 0007h    ;Everex VGA Video Control Functions    
  167.         CL = 00h    ;Return VGA Video Status Info    
  168. Exit:   AL = 70h    ;Everex VGA is present/function successful        
  169.         CH = Video Status Info    
  170.          b0 = 1 = Flicker Filter is enabled    
  171.          b1 = 1 = Underscan is enabled    
  172.              b2 = 1 = Video output is enabled    
  173.              b3..b7 = reserved                            
  174.         CL = reserved    
  175.         DH = Horizontal Pan value (-128 to 127)    
  176.         DL = Vertical   Pan value (-128 to 127)                
  177. -------------------------------------------------------------------------    
  178.     * Everex VGA Video Output Control * (NTSC and PAL boards only)
  179. Entry:  AX = 7000h    ;Everex Extended VGA BIOS Function          
  180.         BX = 0007h    ;Everex VGA Video Control Functions            
  181.          CL = 01h    ;Everex VGA Video Output Control            
  182.          CH = Enable/Disable Video Output function                
  183.               00 = Disable Video Output                  
  184.              01 = Enable  Video Output                     
  185. Exit:   AL = 70h    ;Everex VGA is present/function successful    
  186. -------------------------------------------------------------------------    
  187.     * Everex VGA Flicker Filter Control * (NTSC and PAL boards only)
  188. Entry:  AX = 7000h    ;Everex Extended VGA BIOS Function
  189.         BX = 0007h    ;Everex VGA Video Control Functions
  190.         CL = 02h    ;Everex VGA Flicker Filter Control
  191.         CH = Enable/Disable Flicker Filter function
  192.          00 = Disable Flicker Filter
  193.          01 = Enable  Flicker Filter
  194. Exit:   AL = 70h    ;Everex VGA is present/function successful
  195. -------------------------------------------------------------------------    
  196.     * Everex VGA Underscan Control * (NTSC and PAL boards only)
  197. Entry:  AX = 7000h    ;Everex Extended VGA BIOS Function
  198.         BX = 0007h    ;Everex VGA Video Control Functions
  199.         CL = 03h    ;Everex VGA Underscan Control
  200.         CH = Enable/Disable Underscan function
  201.          00 = Disable Underscan
  202.          01 = Enable  Underscan
  203. Exit:   AL = 70h    ;Everex VGA is present/function successful
  204. -------------------------------------------------------------------------
  205.     * Everex VGA Horizontal Pan Control * (NTSC and PAL boards only)
  206. Entry:  AX = 7000h    ;Everex Extended VGA BIOS Function
  207.         BX = 0007h    ;Everex VGA Video Control Functions
  208.         CL = 04h    ;Everex VGA Horizontal Pan Control
  209.         CH = amount to pan left or right (-128 to 127)
  210.         (Typical values range from -4 to 3)
  211. Exit:   AL = 70h    ;Everex VGA is present/function successful
  212. -------------------------------------------------------------------------
  213.     * Everex VGA Vertical Pan Control * (NTSC and PAL boards only)
  214. Entry:  AX = 7000h    ;Everex Extended VGA BIOS Function
  215.         BX = 0007h    ;Everex VGA Video Control Functions
  216.         CL = 05h    ;Everex VGA Vertical Pan Control
  217.         CH = amount to pan up or down (-128 to 127)                
  218.          (Typical values range from -4 to 3)
  219. Exit:   AL = 70h    ;Everex VGA is present/function successful
  220. -------------------------------------------------------------------------
  221.     * Everex VGA Backdoor Set Mode * 
  222. Entry:  AX = 7000h    ;Everex Extended VGA BIOS Function
  223.          BX = 0009h    ;Everex VGA Backdoor Set Mode
  224.          CH = Set Mode AL parameter
  225.          CL = Set Mode BL parameter
  226. Exit:   AL = 70h    ;Everex VGA is present/function successful
  227. -------------------------------------------------------------------------