Provide some of the BIOS INT 10 functions (QNX)
int10 [options...] [command | &]
This command: | Displays: |
---|---|
id | current BIOS type |
modes | list of supported video modes |
query | list of supported BIOS types |
The int10 utility provides support for programs using the INT 10 software interrupt. It provides only those INT 10 BIOS functions (as well as the VESA Super VGA BIOS Extension) required by programs that use the Watcom Graphics Library. Once the emulator is running, programs can use the INT 10 software interrupt to change video modes and to set color-palette entries.
If you use -s, requests will be satisfied by executing code generated from the SVPMI script. Otherwise, int10 will execute the BIOS.
When programs using INT 10 calls terminate, the int10 utility attempts to restore the previous video mode.
To use Watcom Graphics Library functions, you must start int10 in the background. |
Auto-detect the video BIOS and display the list of modes:
int10 modes
Auto-detect the video BIOS and install the INT 10 service:
int10 &
Load an SVPMI script and install the INT 10 service:
int10 -s vga &
Since int10 interprets the BIOS code, this code runs slower than it would if it were running natively. Because of this speed delay, some BIOSs with tight timing restrictions may fail to work with int10. If this happens, you'll need to use the -s option.
int10 technical note (available on QUICS)
Watcom C -- Graphics Library Reference