ABSTRACT

The primitive routines in the GRAPHSOL VGA library furnished with this book are organized in the listed fields. In the present chapter we will discuss the primitive routines in the first three groups. Because of their complexity, Chapter 10 is devoted

9.2 VGA Primitives for Set-Up, Control, and Query The VGA graphics programmer must perform operations that are preparatory, controlling, or inquisitory. For example, an application using VGA graphics could start its execution by setting the desired videomode and the read and write modes, initializing a segment register to the base address of the video buffer, and installing a set of color values in the pallet and border color registers. These preparations could also require investigating the present state of the video system in order to restore it at the conclusion of the application.