$REVOLUTION_SDK_ROOT/build/demos/videmo
Go to the $REVOLUTION_SDK_ROOT/build/demos/videmo directory and enter make. The executable file (*.elf file) will be created in the $REVOLUTION_SDK_ROOT/build/demos/videmo/bin/RVL/ directory.
You must configure DVDRoot before execution. Be sure to specify the folder name $REVOLUTION_SDK_ROOT/dvddata as the "DvdRoot" argument of the SetNdEnv command.
Go to the directory $REVOLUTION_SDK_ROOT/build/demos/videmo/bin/RVL/ and do one of the following:
ndrun script, using the .elf file as an argument.ide, using the .elf file as an argument.| color | Sample of a double-field frame buffer. This demo paints the whole screen with a single color and changes the color once a second. |
|---|---|
| moving | Sample of single-field 60 Hz rendering (field rendering). This demo renders the screen with a simple pattern and moves it. This sample shows how to use VIGetNextField in field-rendering mode. |
| moving.30Hz | Sample showing 30-Hz rendering. This demo works similarly to the moving demo, but in 30 Hz. It shows how to make 30-Hz games. |
| moving.progressive | Sample showing progressive display. This demo is the same as the moving demo, except that it uses progressive scan for the display. This demo shows how to make progressive display settings. |
| viewer | BMP file viewer. This demo opens every BMP file under DVDRoot/pictures and shows it on the screen. Files with the "BMA" and "BMB" extensions are pairs and appear on screen simultaneously. The BMA file is treated as the image for the "above" field and the BMB file is treated as the image for the "below" field. (For an explanation of "above" and "below" fields, see "Video Interface Library (VI)" in the Revolution Graphics Programmer's Guide.))Six versions of the viewer are generated. The viewer_NTSC_INT viewer is for the NTSC interlaced mode; the viewer_NTSC_DS viewer is for the NTSC double-strike mode; and so on. To add a picture, place a BMP file in the DVDRoot/picture directory. Any files with extensions other than BMP, BMA, and BMB are ignored. Subdirectories under the pictures directory are also ignored. |
| smp-onetri_PAL | This is a PAL version of the smp-onetri sample demo. For more information, see GX Sample Demo Manual.By default, this demo shows PAL 50 Hz mode using Y scaling. By pressing the A Button, you can toggle the mode to PAL 60, then PAL 50Hz with black bars, and then back to PAL 50Hz using Y scaling. |
| smp-onetri_Progressive | This uses the smp_onetri sample demo to test switching from interlaced to progressive.This sample demo shows how to check the VI retrace interrupt timing and to test for delay when switching from interlace to progressive scan. If the VI retrace interrupt is delayed, the display may not switch to progressive scan correctly. This demo first carries out interlaced scan and then automatically switches to progressive scan after about five seconds (six seconds with PAL). After switching to progressive scan, the result of the progressive switching test (the number of times the VI retrace interrupt was delayed) is displayed on the console. If there were no problems, the test result is "OK" (VI retrace interrupt delay count = 0). Be aware that this demo always results in "OK". If the results of similar tests with your application are not OK (VI retrace interrupt delay count < 0), check whether interrupts are being disabled for long periods during gameplay. |
| frb-vi-gamma | This test adds a VI gamma correction feature to the GX gamma demo (frb-gamma).Wii has two gamma correction modes. One is GX-based gamma correction; the other is VI-based gamma correction. This program tests both GX and VI gamma correction modes. To toggle between the GX and VI gamma correction modes, use the Z trigger. For details on other operations, see the page about the frb-gamma demo.
|
| cross-color | This test checks the trap filter feature (VISetTrapFilter).The trap filter feature is disabled by default under this demo. Press the A button to toggle the trap filter settings between enabled and disabled. The current status of the trap filter settings will be output to the console output. If trap filter settings are disabled, cross-color phenomena will appear on the concentric circles. |
| dimming | This test checks the functionality of the screen burn-in protection feature (VISetTimeToDimming and VIGetDimmingCount).The number displayed in the upper screen area (Count to dimming) indicates the count to execution of screen burn-in protection (the VIGetDimmingCount value). This value counts down from a set initial value and activates the screen burn-in protection when the count reaches 0.Pressing the A Button, + Button, or - Button on the Wii Remote changes the time until screen burn-in protection is executed. When the B Button is pressed, VIGetDimmingCount will be executed after 500 fields. This is used to check that the count to dimming does not get cleared when VIGetDimmingCount is executed.When the 1 Button is pressed on the Wii Remote, VIResetDimmingCount will be executed after 500 fields.The count to dimming is reset at the moment the 1 Button is pressed. It is also reset by VIResetDimmingCount after 500 fields.If the input status of the controller changes, these counts will return to initial values. Please also note that if the burn-in protection settings are turned off in the system settings menu, the burn-in protection will always be disabled. |
| moving.regions | This demo uses VIGetTvFormat to automatically configure the TV type.If you want to support all video formats with a single game image, use this demo for reference. In this demo the value of VIGetTvFormat is output to console output before and after VIInit. Use this to verify how the TV type that is output changes during the process. To execute a restart process using OSRestart, press the A Button. Use this to also verify the video type after restart.
|
2008/06/16 The part of moving.regions where progressive mode is determined is now performed by VIGetScanMode.
2008/05/09 Deleted the cgmsdemo test.
2008/03/07 Added the cgmsdemo test.
2007/07/17 Revised the text of the dimming test.( (Added VIResetDimmingCount.)
2006/10/25 Revised the text of the dimming test. (Added VISetTimeToDimming and removed VIEnableDimming.)
2006/09/22 Added the moving.regions test.
2006/09/21 In the descriptions, changed "screen saver" to "burn-in protection".
2006/09/13 Revised text about the dimming test.
2006/09/07 Added the dimming test.
2006/07/22 Added the cross-color test.
2006/06/16 Added the frb-vi-gamma test.
2006/06/05 Revised the DVDRoot settings description.
2006/06/05 Added the moving.progressive and smp-onetri_Progressive tests.
2006/03/01 Initial version.
CONFIDENTIAL