Contents of the \UTILS directory: README.TXT - This file BEFUNC.BAS - Interpreted BASIC source code library for EGA hardware register manipulations BMFUNC.BAS - Interpreted BASIC source code library for Mouse calls EGATEST.C --- EGATEST.H | CEFUNC.H | EGATESTC.MAK | EGATESTL.MAK | Demonstrates EGA register interface programming EGATESTM.MAK | EGATESTS.MAK | CEFUNCC.LIB | CEFUNCL.LIB | CEFUNCM.LIB | CEFUNCS.LIB --- MOUSETST.C --- MENU.C | MOUSUTIL.C | FUNCSUBS.ASM | KB.ASM | MOUSETST.H | CMFUNC.H | Interactively demonstrates mouse programming calls ASM.INC | MOUSTSTC.MAK | MOUSTSTL.MAK | MOUSTSTM.MAK | MOUSTSTS.MAK | CMFUNCC.LIB | CMFUNCL.LIB | CMFUNCM.LIB | CMFUNCS.LIB --- EGA.COM --------| Device driver for EGA, VGA, and 8514/A video adapters. EGA.SYS --------| You install EGA.SYS by using a DEVICE= command in your CONFIG.SYS file; you install EGA.COM by typing EGA at the system prompt. The difference between the two is that EGA.COM can be disabled by typing EGA OFF at the system prompt. Installing this driver replaces the shadow register support built into the mouse driver, providing better EGA, VGA, and 8514/A support than the default support built into the mouse driver. You should install the EGA device driver before you install the mouse driver. If you experience problems running any of the EGA sample programs on these disks on an EGA, VGA, or 8514/A video adapter, try installing the EGA device driver and running the program again. Two major demonstration programs are presented in this directory. MOUSETST interactively demonstrates most of the mouse functions using any or all of the video modes. EGATEST demonstrates EGA Shadow Register Interface programming. EGATEST uses many of the concepts and techniques described in Chapter 10. Both programs are provided with MAKE files and libraries for compiling and linking using your choice of memory models. Notice the last letter in each filename. The letters S, C, M, and L refer to the small, compact, medium, and large memeory models. Use the MAKE file with the appropriate letter to build the desired program. For example, to build the MOUSETST.EXE program using the medium memory model, type MAKE MOUSTSTM.MAK at the DOS prompt. This MAKE file will automatically select the corresponding medium model library. Note: To rebuild one of these programs using a different memory model, first delete all *.OBJ files from the \UTILS directory. This ensures that the program will be recompiled by the MAKE file.