home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
maj
/
2199
/
docs
/
adapter.doc
next >
Wrap
Text File
|
1994-07-09
|
2KB
|
48 lines
adapter.doc April 1994
This procedure applies only to the Borland-compiled version
of Graphica.
Graphica always chooses the graphics mode that gives the
highest resolution for the adapter it finds. If you want
to select a particular graphics mode, you may set the
environment variable GRAPHMODE to one of the numeric
constants of "graphics_modes" enumeration type as defined
by Borland. The constants are as follows:
mode value
------------------ -----
CGA 320*200 C0 0
CGA 320*200 C1 1
CGA 320*200 C2 2
CGA 320*200 C3 3
CGA 640*200 4
MCGA 320*200 C0 0
MCGA 320*200 C1 1
MCGA 320*200 C2 2
MCGA 320*200 C3 3
MCGA 640*200 4
MCGA 640*480 5
EGA 640*200 0
EGA 640*350 1
EGAMONO 640*350 3
HERC 720*348 0
VGA 640*200 0
VGA 640*350 1
VGA 640*480 2
...where C0, C1, C2, and C3 refer to the four palettes on the
CGA and compatible systems. For example:
C>set graphmode=0
on a CGA adapter would allow you to see 4 colors at a
resolution of 320x200 instead of the default of 2 colors
at 640x200.
---------------
end of document