Disabling Hardware Checks

During initialization under PCDOS, the configuration of the hardware and operating system is checked so that Vermont Views is properly initialized to run under a variety of configurations. Some hardware may have problems with some of these checks. Some versions of BIOS on IBM PC compatibles are not fully compatible with the IBM PC BIOS. For example, the check for an extended keyboard can cause some non-IBM machines with older versions of BIOS to crash.

You can bypass this and other checks that cause difficulties by calling init_nochk() before vv_init() and passing the configurations not to check for. These configurations include:

EGA Enhanced Graphics Adapter
CGA_RETRACE Waiting for retrace on CGA
KB_EXTEND BIOS extended keyboard support
PS2 PS/2 machines

For example, to make sure that vv_init() does not check for an extended keyboard and the PS/2 line of machines, the first statements in your main program would be:

init_nochk( KB_EXTEND | PS2 );

vv_init();


Home Contents Previous Next