one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
value | meaning |
---|---|
SCL_NON_INTER | :Non-interlaced |
SCL_SINGLE_INTER | : Single dense interlace |
SCL_DOUBLE_INTER | :Double dense interlace |
value | meaning |
---|---|
SCL_224LINE | :224 lines |
SCL_240LINE | :240 lines |
SCL_256LINE | :256 lines |
value | meaning |
---|---|
SCL_NORMAL_A | :320 pixels: Normal graphic A |
SCL_NORMAL_B | :352 pixels: Normal graphic B |
SCL_HIRESO_A | :640 pixels: High resolution graphic A |
SCL_HIRESO_B | :704 pixels: High resolution graphic B |
SCL_NORMAL_AE | :320 pixels: Dedicated normal graphic A |
SCL_NORMAL_BE | :352 pixels: Dedicated normal graphic B |
SCL_HIRESO_AE | : 640 pixels: Dedicated high resolution graphic A |
SCL_HIRESO_BE | : 704 pixels: Dedicated high resolution graphic B |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
sample() { SclVramConfig tp; SCL_InitVramConfigTb(&tp); tp.vramModeB = ON /* Divide and use VRAM B */ tp.vramB0 = SCL_RBG0_CHAR; /* Place RBG0 character data */ tp.vramB1 = SCL_RBG0_PN; /* Put RBG0 pattern name data */ SCL_SetVramConfig(&tp); }
one | Title | Function | Function name | No |
sclnum | :Scroll surface number |
Select from 6 sides: SCL_NBG0, SCL_NBG1, SCL_NBG2, SCL_NBG3, SCL_RBG0, SCL_RBG1 | |
scfg | : Scroll configuration data pointer |
one | Title | Function | Function name | No |
image | :NBG0 256 colors (with 1/2 reduced display) |
VRAM A | : Place NBG0 character pattern data |
VRAM B | : Place pattern name table of NBG0 |
Uint16 cycle[] = { /* Cycle pattern table */ 0x4444,0xffff, /* VRAM A(A0) */ 0xffff,0xffff, /* VRAM A1 unused */ 0x00ff,0xffff, /* VRAM B(B0) */ 0xffff,0xffff, /* VRAM B1 not used */ } sample() { SCL_SetCycleTable(&cycle); }
image | :NBG0 16.77 million color bitmap data |
VRAM A | : Place bitmap data of NBG0 |
VRAM B | : Place bitmap data of NBG0 |
Uint16 cycle[] = { /* Cycle pattern table */ 0x4444,0x4444, /* VRAM A(A0) */ 0xffff,0xffff, /* VRAM A1 unused */ 0x4444,0x4444, /* VRAM B(B0) */ 0xffff,0xffff, /* VRAM B1 not used */ } sample() { SCL_SetCycleTable(&cycle); }
image | :RBG0 256 color bitmap data |
NBG0 16-color bitmap data (with 1/4 reduction) | |
NBG1 16-color bitmap data (with 1/2 reduction) | |
NBG2 16 color character data/pattern name data | |
NBG3 16 color character data/pattern name data | |
VRAM A0 | : Place RBG0 bitmap data |
VRAM A1 | : Place rotation parameter coefficient table |
Place rotation parameter table | |
VRAM B0 | : Place bitmap data of NBG0 |
Place NBG1 bitmap data | |
VRAM B1 | :Arrange NBG2 character data and pattern name data |
Place NBG3 character data and pattern name data☆ |
Uint16 cycle[] = { /* Cycle pattern table */ 0xffff,0xffff, /* VRAM A0 */ 0xffff,0xffff, /* VRAM A1 */ 0x4444,0xff55, /* VRAM B0 */ 0x23ff,0x67ff, /* VRAM B1 */ }sample() { SclVramConfig tp; SCL_InitVramConfigTb(&tp); tp.vramModeA = ON /* Divide and use VRAM A */ tp.vramA0 = SCL_RBG0_CHAR; /* Place RBG0 bitmap data */ tp.vramA1 = SCL_RBG0_K; /* Place rotation parameter coefficient table */ SCL_SetVramConfig(&tp); SCL_SetCycleTable(&cycle); }
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
sx | : Size specification in the X direction |
sy | : Specify the size in the Y direction |
NBG0,NBG1 | :1/4~256 |
RBG0,RBG1 | :Any |
one | Title | Function | Function name | No |
value | meaning |
---|---|
1 | Only rotation parameter A is used |
2 | Use rotation parameters A and B |
value | meaning |
---|---|
SCL_SPR | Display only sprite framebuffer |
SCL_SPR | Display only sprite framebuffer |
SCL_RBG0 | Show RBG0 and sprite framebuffer |
SCL_NON | Do not show |
value | meaning |
---|---|
SCL_RBG0 | Show RBG0 |
SCL_RBG1 | Show RBG1 |
SCL_NON | Do not show. |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
angelXy | : Set the angle of the X or Y axis |
angleZ | : Set the Z-axis angle |
angleD | : Set screen rotation angle |
mode | : Rotation mode. The first argument sets which axis, X or Y, is valid for the axis. |
SCL_X_AXIS: Scroll X-axis rotation | |
SCL_Y_AXIS: Scroll Y-axis rotation (cannot be specified for RBG1 side) |
one | Title | Function | Function name | No |
angelXy | : Set the angular increment of the X-axis or Y-axis |
angleZ | : Set the angle increment of the Z axis |
angleD | : Set the angle increment for screen rotation. |
one | Title | Function | Function name | No |
surface | : Specify which rotational parameter table to set the data for. |
(SCL_RBG_TB_A,SCL_RBG_TB_B) | |
datap | : Data table pointer |
x | :Data size in the X direction |
y | :Data size in Y direction |
one | Title | Function | Function name | No |
surface | :Screen type SCL_NBG0|SCL_NBG1|SCL_NBG2|SCL_NBG3|SCL_RBG0|SCL_RBG1 |
x | : Horizontal mosaic size (0 to 15, 0 turns off mosaic) |
y | : Vertical mosaic size (0 to 15) cannot be set to rotation plane (RBG0, RBG1). |
one | Title | Function | Function name | No |
address | : Specify where to place the line color table on VRAM. |
tbsize | : Specify the size of the table. |
palNumTb | : Specify the data for each line by pallet number. |
16 colors 0~15 | |
256 colors 0-255 | |
2048 colors 0 to 2047 |
one | Title | Function | Function name | No |
address | : Specify where to place the line color table on VRAM. |
dataSize | : Specify the number of data tables. |
dataTb | : Specify the data for each line in 5bitRGB. |
void sample(void) { Uint16 DataTB;DataTB = 0x0000; /* Black */ SCL_SetBack(SCL_VDP2_VRAM,1,&DataTB); }
one | Title | Function | Function name | No |
win | : Specify the window type. |
SCL_W0 = Specify W0 window | |
SCL_W1 = Specify W1 window | |
logic | : On the screen specified here, overlapping of multiple windows will be processed using AND. |
The default is OR processing. | |
enable | : Specify the screen where the window will be displayed. |
area | : Specifies the window to enable outside the window. |
By default, inside is enabled. |
Specifying constants | logic | enable | area | meaning |
---|---|---|---|---|
SCL_NBG0 | ○ | ○ | ○ | NBG0 of the transparent processing window |
SCL_NBG1 | ○ | ○ | ○ | NBG1 of transparent processing window |
SCL_NBG2 | ○ | ○ | ○ | NBG2 of transparent processing window |
SCL_NBG3 | ○ | ○ | ○ | NBG3 of transparent processing window |
SCL_RBG0 | ○ | ○ | ○ | RBG0 of transparency processing window |
SCL_RBG1 | ○ | ○ | ○ | RBG1 of transparency processing window |
SCL_EXBG | ○ | ○ | ○ | EXBG of transparent processing window |
SCL_SPR | ○ | ○ | ○ | Sprite in transparency window |
SCL_RP | ○ | △ | ○ | Rotation parameters window |
SCL_CC | ○ | ○ | ○ | Color calculation window |
SCL_NON | ○ | ○ | ○ | unspecified |
startX | : Starting point X coordinate of rectangular data |
startY | : Y coordinate of starting point of rectangular data |
endX | : End point X coordinate of rectangle data |
endY | : End point Y coordinate of rectangular data |
one | Title | Function | Function name | No |
win | : Specify the window type. |
SCL_W0 = Specify W0 window | |
SCL_W1 = Specify W1 window | |
logic | : On the screen specified here, the overlapping of multiple windows will be processed using AND. |
The default is OR processing. | |
enable | : Specify the screen where the window will be displayed. |
area | : Specifies the window to enable outside the window. |
By default, inside is enabled. | |
address | : Specify where to place the line window table on VRAM. |
sy | :Start of Y coordinate |
tbSize | : Size of line window table |
tb | : Line window table pointer |
one | Title | Function | Function name | No |
logic | : On the screen specified here, the overlapping of multiple windows will be processed using AND. |
The default is OR processing. | |
enable | : Specify the screen where the window will be displayed. |
area | : Specifies the window to enable outside the window. |
By default, inside is enabled. |
one | Title | Function | Function name | No |
type | : Sprite type SCL_SPR_TYPE0,SCL_SPR_TYPE1...SCL_SPR_TYPEF |
colMode | :Color mode SCL_PALETTE,SCL_MIX (SCL_MIX: mix of palette and RGB) |
winMode | :Window mode SCL_MSB_SHADOW,SCL_SP_WINDOW |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
surface | :Screen type SCL_SPR,SCL_NBG0,SCL_NBG1,SCL_NBG2,SCL_NBG3,SCL_RBG0,SCL_RBG1,SCL_LNCL |
index | : Writing start pallet number |
num | :Size of color data table |
color | :Color data table (Unit32 or Unit 16) |
one | Title | Function | Function name | No |
surface | :Screen type |
SCL_SPR|SCL_NBG0|SCL_NBG1|SCL_NBG2|SCL_NBG3|SCL_RBG0|SCL_RBG1|SCL_LNCL | |
The same palette can be shared on multiple screens using OR operation. | |
numOfColors | :Number of colors |
transparent | : Set whether to disable transparent display. |
| |
|
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
surface | :Screen type |
SCL_SPR,SCL_NBG0,SCL_NBG1,SCL_NBG2,SCL_NBG3,SCL_RBG0,SCL_RBG1 | |
interval | :Interval (specified in 1/60 seconds) |
index | : Start of palette number to change |
numOfCol | : Number of colors |
numOfTbl | : Number of tables |
changeTbl[] | : Conversion table |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
colMixPriority | : Sprite priority number (0 to 7) |
mode | :mode |
SCL_IF_FRONT,SCL_IF_EQUAL,SCL_IF_BEHIND |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
surfaces | :Screen type |
SCL_SP0|SCL_SP1...SCL_SP7|SCL_NBG0|SCL_NBG1| | |
SCL_NBG2|SCL_NBG3|SCL_RBG0|SCL_RBG1|SCL_EXBG | |
Multiple specifications can be specified simultaneously by using the OR operation. | |
interval | :Interval (specified in 1/60 seconds) |
time | : Specify the time it takes to complete the color change. (specified in 1/60 seconds) |
startRate | : Starting percentage |
endRate | : Percentage at end |
one | Title | Function | Function name | No |
offsetreg | : Specify which color offset register to use. |
SCL_OFFSET_A,SCL_OFFSET_B | |
surfaces | :Screen type |
SCL_SP0|SCL_SP1...SCL_SP7|SCL_NBG0|SCL_NBG1| | |
SCL_NBG2|SCL_NBG3|SCL_RBG0|SCL_RBG1|SCL_EXBG | |
Multiple specifications can be specified simultaneously by using the OR operation. | |
red | : Color specification (red) |
green | : Color specification (green) |
blue | : Color specification (blue) |
one | Title | Function | Function name | No |
offsetReg | : Specify which color offset register to use. |
SCL_OFFSET_A,SCL_OFFSET_B | |
red | : Color specification (red) -255 to 255 |
green | : Color specification (green) -255 to 255 |
blue | : Color specification (blue) -255 to 255 |
one | Title | Function | Function name | No |
offsetReg | : Specify which color offset register to use. |
SCL_OFFSET_A,SCL_OFFSET_B | |
interval | :Interval (specified in 1/60 seconds) |
time | : Specify the time it takes to complete the color change. (specified in 1/60 seconds) |
start | : Start color specification (red) -255 ~ 255 |
Start color specification (green) -255 to 255 | |
Start color specification (blue) -255 to 255 | |
end | : Specify end color (red) -255 to 255 |
Specify end color (green) -255 to 255 | |
Specify end color (blue) -255 to 255 |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
surface | :Screen type |
SCL_SPR,SCL_NBG0,SCL_NBG1,SCL_NBG2,SCL_NBG3, | |
SCL_RBG0,SCL_RBG1,SCL_EXBG |
one | Title | Function | Function name | No |
surface | :Screen type |
SCL_SPR,SCL_NBG0,SCL_NBG1,SCL_NBG2,SCL_NBG3, | |
SCL_RBG0,SCL_RBG1,SCL_EXBG |
one | Title | Function | Function name | No |
enable | : Specify the screen where the shadow will be displayed. |
Multiple items can be specified at the same time using the OR operation. | |
SCL_NBG0|SCL_NBG1|SCL_NBG2|SCL_NBG3| | |
SCL_RBG0|SCL_RBG1|SCL_BACK|SCL_EXBG|SCL_NON |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |
one | Title | Function | Function name | No |