Answers Database
How do I set the graphics mode in XDE (editLCA) for DOS?
Record #1370
Problem Title:
How do I set the graphics mode in XDE (editLCA) for DOS?
Problem Description:
The default mode for XDE is VGA4 (4-Color VGA 640 x 480) but there are several r
esolutions and color pallets availible for the DOS-based XDE. How do I set one
as default?
Solution 1:
In order to set the default graphics mode for XDE, the following line needs to b
e added to your autoexec.bat :
SET GRMODE=<graphics_mode>
A list of graphics modes are shown below.
It is suggested that before setting this environment variable to execute XDE wit
h the desired graphics mode from the commandline to be sure there are no conflic
ts with your video card. To do so, type the following from a DOS prompt :
XDE -G <graphics_mode>
These are the acceptable graphics_mode entries:
VGA4 (4-Color VGA 640 x 480)
VGA8 (8-Color VGA 640 x 480)
VGA16 (16-Color VGA 640 x 480)
VGAP4 (4-Color VGA 800 x 600)
VGAP8 (8-Color VGA 800 x 600)
VGAP16 (16-Color VGA 800 x 600)
VESA16 (16-Color VGA 800 x 600)
End of Record #1370
For the latest news, design tips, and patch information on the Xilinx design environment, check out the Xilinx Expert Journals! |