cegal() Function in EGA.LIB May Not Work Properly

ID: Q43335

The information in this article applies to:

SUMMARY

When using cegal() in the EGA.LIB with Function f1, cegal() doesn't perform correctly. An example is shown below.

MORE INFORMATION

Perform the following function in C

   outp(CRTC_INDEX,INDEX);

where CRTC_INDEX is the port address and INDEX is the register.

The mouse does not see the change in the EGA register; therefore, the above C call may cause the mouse to not perform properly because the call bypasses the BIOS routines.

The following are examples of two ways to perform this call:

KBCategory: kbhw KBSubcategory: Additional reference words: program

Last Reviewed: September 16, 1996