EasyManua.ls Logo

COBHAM GRMON3 - Page 200

COBHAM GRMON3
239 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GRMON3-UM
June 2019, Version 3.1.0
200 www.cobham.com/gaisler
93. svga - syntax
NAME
svga - Commands for the SVGA controller
SYNOPSIS
svga subcommand ?args...?
svga index subcommand ?args...?
DESCRIPTION
This command provides functions to control the SVGACTRL core. If more than one core exists in the system,
then the index of the core to control should be specified after the svga command (before the subcommand). The
'info sys' command lists the device indexes.
svga custom ?period horizontal_active_video horizontal_front_porch
horizontal_sync horizontal_back_porch vertical_active_video
vertical_front_porch vertical_sync vertical_back_porch?
The svga custom command can be used to specify a custom format. The custom format will have prece-
dence when using the svga draw command. If no parameters are given, then is will print the current custom
format.
svga draw file bitdepth
The svga draw command will determine the resolution of the specified picture and select an appropriate
format (resolution and refresh rate) based on the video clocks available to the core. The required file format
is ASCII PPM which must have a suitable amount of pixels. For instance, to draw a screen with resolution
640x480, a PPM file which is 640 pixels wide and 480 pixels high must be used. ASCII PPM files can
be created with, for instance, the GNU Image Manipulation Program (The GIMP). The color depth can
be either 16 or 32 bits.
svga draw test_screen fmt bitdepth
The svga draw test_screen command will show a simple grid in the resolution specified via the format
fmt selection (see svga formats to list all available formats). The color depth can be either 16 or 32 bits.
svga frame ?adress?
Show or set start address of framebuffer memory
svga formats
Show available display formats
svga formatsdetailed
Show detailed view of available display formats
EXAMPLE
Draw a 1024x768, 60Hz test image
grmon3> svga draw test_screen 12 32

Table of Contents