#include "sgl.h"
Uint16 type;
void slSpecialPrioModeNbg0( type );
void slSpecialPrioModeNbg1( type );
void slSpecialPrioModeNbg2( type );
void slSpecialPrioModeNbg3( type );
void slSpecialPrioModeRbg0( type );
Uint16 type - Priority determination mode (described later).
void - returns nothing.
A special priority is applied dot by dot to colors whose lower 4 bits of the NBG2 color code are 0 and 1.
slSpecialPrioModeNbg2 ( spPRI_Dot );
slSpecialFuncCodeA ( sfCOL_01 );
slSpecialFuncSelectB ( 0 );
slSpecialFuncCodeA | slSpecialFuncSelectB | VDP2_SFPRMD |
#include "sgl.h"
Uint16 mode;
Uint16 flag;
void slSpecialPrioBitN01( mode, flag );
Uint16 mode - Screen for setting special priority bits (described later).
Uint16 flag - Whether to set special priority bits.
void - returns nothing.
slSpecialPrioBitN01 ( scnNBG0 , ON );
slPageNbg0 | slPageNbg1 | slSpecialPrioModeNbg0 | slSpecialPrioModeNbg1 |
VDP2_BMPNA | VDP2_PNCN0 | VDP2_PNCN1 |
#include "sgl.h"
Uint16 mode;
Uint16 flag;
void slSpecialPrioBitScr( mode ,flag );
Uint16 mode - Screen for setting special priority bits (described later)
Uint16 flag - Whether to set special priority bits.
void - returns nothing.
slSpecialPrioBitScr ( scnNBG2 , ON );
slPageNbg2 | slPageNbg3 | slSpecialPrioModeNbg2 | slSpecialPrioModeNbg3 |
VDP2_BMPNA |
#include "sgl.h"
Uint16 flag;
void slSpecialPrioBitNbg0( flag );
void slSpecialPrioBitNbg1( flag );
void slSpecialPrioBitNbg2( flag );
void slSpecialPrioBitNbg3( flag );
void slSpecialPrioBitRbg0( flag );
void slSpecialPrioBitBMN0( flag );
void slSpecialPrioBitBMN1( flag );
void slSpecialPrioBitBMR0( flag );
Uint16 flag - Whether to set special priority bits.
void - returns nothing.
slSpecialPrioBitRbg0 ( ON );
#include "sgl.h"
Uint16 type;
void slSpecialCCalcModeNbg0( type );
void slSpecialCCalcModeNbg1( type );
void slSpecialCCalcModeNbg2( type );
void slSpecialCCalcModeNbg3( type );
void slSpecialCCalcModeRbg0( type );
Uint16 type - Mode for enabling operations (described below).
void - returns nothing.
/* Color calculation settings. */
slColorCalc ( CC_RATE | CC_TOP | NBG1ON );
slColRateNbg1 ( CLRate20_12 );
/* Declaration of use of special color operation */
slSpecialCCalcModeNbg1 ( spPRI_Dot );
/* Set priority slPriorityNbg1 ( 5 );
slPriorityNbg3 ( 4 );
/* Special function settings */
slSpecialFuncCodeA ( sfCOL_01 );
slSpecialFuncSelectB ( 0 );
#include "sgl.h"
Uint16 mode;
Uint16 flag;
void slSpecialCCalcBitN01( mode, flag );
Uint16 mode - Screen for setting special color operation bits (described later)
Uint16 flag - Whether to set the special color operation bit.
void - returns nothing.
void slSpecialCCalcBitN01 ( scnNBG1 , ON );
slPageNbg0 | slPageNbg1 | slSpecialCCalcBitNbg0 | slSpecialCCalcBitNbg0 |
VDP2_BMPNA | VDP2_PNCN0 | VDP2_PNCN1 |
#include "sgl.h"
Uint16 mode;
Uint16 flag;
void slSpecialCCalcBitScr( mode, flag );
Uint16 mode - Screen for setting special color operation bits (described later)
Uint16 flag - Whether to set the special color operation bit.
void - returns nothing.
slSpecialCCalcBitScr ( scnNBG2 , ON );
slPageNbg2 | slPageNbg3 | slSpecialCCalcBitNbg2 | slSpecialCCalcBitNbg3 |
VDP2_BMPNA | VDP2_PNCN0 | VDP2_PNCN1 |
#include "sgl.h"
Uint16 flag;
void slSpecialCCalcBitNbg0( flag );
void slSpecialCCalcBitNbg1( flag );
void slSpecialCCalcBitNbg2( flag );
void slSpecialCCalcBitNbg3( flag );
void slSpecialCCalcBitRbg0( flag );
void slSpecialCCalcBitBMN0( flag );
void slSpecialCCalcBitBMN1( flag );
void slSpecialCCalcBitBMR0( flag );
Uint16 flag - Whether to set the special color operation bit.
void - returns nothing.
slSpecialCCalcBitNbg3 ( ON );
#include "sgl.h"
Uint16 type;
void slSpecialFuncCodeA( type );
void slSpecialFuncCodeB( type );
Uint16 type - Color code to enable special functionality (see below).
void - returns nothing.
slSpecialCCalcModeNbg1 ( spPRI_Dot );
slPriorityNbg1 ( 5 );
slPriorityNbg1 ( 4 );
slSpecialFuncCodeA ( sfCOL_cd );
#include "sgl.h"
Uint16 mode;
void slSpecialFuncSelectB( mode );
Uint16 mode - Scrolling screen using special function code B.
void - returns nothing.
slSpecialPrioModeNbg1 ( spPRI_Dot );
slPriorityNbg1 ( 5 );
slPriorityNbg1 ( 4 );
slSpecialFuncCodeB ( sfCOL_01 );
slSpecialFuncSelectB ( NBG1ON );