★ SGL User's Manual ★ PROGRAMMER'S STRUCTDisplay device | TV screen mode | Graphic mode | Interlaced mode | Resolution: Vertical x Horizontal |
|---|---|---|---|---|
| NTSC method | normal | Graphic A | Non-interlaced | 320 x 224 |
| 320 x 240 | ||||
| Interlace | 320 x 448 | |||
| 320 x 480 | ||||
| Graphic B | Non-interlaced | 352 x 224 | ||
| 352 x 240 | ||||
| Interlace | 352 x 448 | |||
| 352 x 480 | High resolution | Graphic A | Non-interlaced | 640 x 224 |
| 640 x 240 | ||||
| Interlace | 640 x 448 | |||
| 640 x 480 | ||||
| Graphic B | Non-interlaced | 704 x 224 | ||
| 704 x 240 | ||||
| Interlace | 704 x 448 | |||
| 704 x 480 |
For details on the screen mode, refer to "HARDWARE MANUAL vol.2: VDP2 User's Manual".
In SGL, use the library function "slInitSystem" to initialize scrolling and set screen mode.
In addition, this function "slInitSystem" also performs initialization and initial settings other than scrolling at the same time, but for details, refer to the default list at the end of the reference manual "Function Reference".
| Resolution (pixels) | ||
|---|---|---|
| Width 320 x length 224 | 352 horizontal x 240 vertical | |
| Substituted value | TV_320x224 | TV_352x240 |
When the resolution is 320 x 224 pixels (non-interlaced), there is no texture, and the drawing processing unit is 1 (1/60 seconds), the function "slInitSystem" is as shown in the figure below.
<Fig. 8-4 Example of using the function "slInitSystem">● System initialization ●slInitSystem (TV_320x224, NULL, 1); | | | | | Drawing processing unit: 1 (1/60 seconds) | No texture Resolution: 320 x 224 pixels
★ SGL User's Manual ★ PROGRAMMER'S STRUCT