Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>bios_mode()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
BIOS_MODE()
   Changes to non-standard video mode above BIOS mode 18.

   Syntax
         nModeN = BIOS_MODE(nXRes,nYRes,nIsColor,nModeN)

   Arguments
         nXRes       Sets the horizontal resolution for the monitor.

         nYRes       Sets the vertical resolution for the monitor.

         nIsColor    Sets whether the monitor is color or monochrome. A value
                     of 0 is monochrome and 1 is color.

         nModeN      Sets the extended BIOS mode as a decimal value.

   Returns
         nModeN      Returns the video mode that was set or returns a 0 if it
                     could not set the requested mode.

   Description
         BIOS_MODE() provides a method to change to a non-standard video above
         mode 18. The GENOA VGA card can change to 800 by 600 Super VGA by
         issuing a nModeN of decimal 41. (256 color not supported)
          +---------------------------------------------------------+
          |  Chipset  |       Adapter        |Mode (decimal numbers)|
          |           |                      |----------------------|
          |           |                      |   16 color 800x600   |
          ------------+----------------------+----------------------|
          |Tseng Labs |Orchid ProDesigner VGA|          41          |
          |           |Orchid ProDesigner Pls|          41          |
          |           |Genoa 5300            |          41          |
          |           |Genoa 5400            |          41          |
          |           |STB Extra/EM          |          41          |
          |           |Tseng                 |          41          |
          ------------+----------------------+----------------------|
          |Paradise   |Paradise Plus - 16    |          88          |
          |           |Paradise Professional |          88          |
          ------------+----------------------+----------------------|
          |Video Seven|Video Seven Fastwrite |          98          |
          |           |Video Seven VRAM      |          98          |
          +---------------------------------------------------------+

See Also: FLIP_INIT() GRAPHMODE() SET_DISPLY()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson