DISPENV

Display environment

typedef struct {
        RECT disp;
        RECT screen;
        u_char isinter;
        u_char isrgb24;
        u_char pad0, pad1;
} DISPENV;

Members

disp Frame buffer display area. 
disp defines the display area within the frame buffer.
The width of disp can be set to 256, 320, 360, 512 or 640.
The height of disp can be set to 240 or 480.
screen Output screen display area. 
screen is calculated on the basis of a standard monitor screen and is
independent of the value of disp. The standard monitor screen uses
(0,0) for the coordinate of the upper left-hand corner and (256, 240)
for the coordinate of the lower right-hand corner.
isinter Interlaced mode flag
0: Non-interlaced mode
1: Interlaced mode
isrgb24 24-bit mode flag
0: 16-bit mode
1: 24 bit mode
pad0, pad1 System reserved

Explanation

DISPENV is used to specify parameters for the display environment such as screen display mode and frame buffer display position.