Zoom Functions
The
following
is description of
the
zoom driver
interrupt
functions
loaded by the ZOOM programs.
A function is selected by
placing the
function code in the AX register and performing a
softrware
interrupt.
The interrupt number is initialized at the
time the ZOOM program is loaded.
Zoom Display
Function Code
AX = 0
Arguments
BX = zoom factor
Description
Zooms
the display based on given
zoom factor.
Valid zoom
factors are from 0 through 7.
Lattice C Example
#include<dos.h>
zoom(factor)
int factor;
{
union REGS in,out;
in.x.ax = 0;
in.x.bx = factor;
int86(zoom__int,&in,&out);
}
Center Zoom Window
Function Code
AX = 1
Arguments
BX = x coordinate to center
CX = y coordinate to center
Description
This
function will attempt to position the zoom window in such
a manner as to make the coordinates x,y appear as close to the
middle of the display as possible.
This is useful when using
a mouse or other input device for panning and scrolling.
Lattice C Example
#include<dos.h>
m a i n ()
-59-
Содержание Qtec VGA 1024
Страница 1: ......
Страница 2: ......
Страница 4: ......
Страница 8: ......
Страница 9: ...INSTALLATION ...
Страница 10: ......
Страница 33: ...SOFTWARE UTILITIES ...
Страница 34: ......
Страница 48: ......
Страница 49: ...SOFTWARE DRIVERS ...
Страница 50: ......
Страница 68: ......
Страница 69: ...FOR SOFTWARE DEVELOPERS ...
Страница 70: ......
Страница 104: ......
Страница 105: ...HARDWARE REFERENCE ...
Страница 106: ......
Страница 111: ...SERVICE ...
Страница 112: ......
Страница 118: ......
Страница 119: ......
Страница 120: ......
Страница 121: ......
Страница 122: ......
Страница 123: ......