Japanese
List | Reference
macro constant
VDP2_VRAM_A0
function
#define VDP2_VRAM_A0 0x25e00000
List | Reference
macro constant
VDP2_VRAM_A1
function
#define VDP2_VRAM_A1 0x25e20000
List | Reference
macro constant
VDP2_VRAM_B0
function
#define VDP2_VRAM_B0 0x25e40000
List | Reference
macro constant
VDP2_VRAM_B1
function
#define VDP2_VRAM_B1 0x25e60000
List | Reference
macro constant
CGN01_RAM
CG data address for SGL default normal scroll 0 and 1
function
#define CGN01_RAM VDP2_VRAM_B1
List | Reference
macro constant
NBG0_MAP
SGL default normal scroll 0 map data address
function
#define NBG0_MAP ( CGN01_RAM +0x16000)
List | Reference
macro constant
NBG1_MAP
SGL default normal scroll 1 map data address
function
#define NBG1_MAP ( CGN01_RAM +0x18000)
List | Reference
macro constant
KTBL0_RAM
SGL default rotary scroll coefficient table address
function
#define KTBL0_RAM VDP2_VRAM_A1
List | Reference
macro constant
BACK_CRAM
SGL default back color address
function
#define BACK_CRAM ( KTBL0_RAM + 0x1fffe)
List | Reference
macro constant
RBG_PARA_ADR
SGL default rotation parameter table A address
function
#define RBG_PARA_ADR ( KTBL0_RAM + 0x1ff00)
List | Reference
macro constant
RBG_PARB_ADR
SGL default rotation parameter table B address
function
#define RBG_PARB_ADR ( RBG_PARA_ADR + 0x80)
List | Reference
macro constant
CGR0_RAM
SGL default rotational scroll CG data address
function
#define CGR0_RAM VDP2_VRAM_A0
List | Reference
macro constant
RBG0_MAP
SGL default rotation scroll map data address
function
#define RBG0_MAP VDP2_VRAM_B0
List | Reference
macro constant
VDP2_COLRAM
Color RAM start address
function
#define VDP2_COLRAM 0x25f00000
List | Reference
macro constant
CG_Size
Size of 1 cell (CG)
function
#define CG_Size (8*8)
List | Reference
macro constant
CG16Size
Size of 1 cell in 16 color mode
function
#define CG16Size (8*8/2)
List | Reference
macro constant
CG256Size
Size of 1 cell in 256 color mode
function
#define CG256Size (8*8)
List | Reference
macro constant
CG2048Size
Size of 1 cell in 2048 color mode
function
#define CG2048Size (8*8*2)
List | Reference
macro constant
CG32KSize
Size of 1 cell in 32000 colors RGB mode
function
#define CG32KSize (8*8*2)
List | Reference
macro constant
Line
1 line size
function
#define Line 64
List | Reference
macro constant
Page
1 page size
function
#define Page (64* Line )
List | Reference
macro constant
EXLTEN
external latch enable
function
#define EXLTEN 0x0200
reference
List | Reference
macro constant
EXSYEN
External sync enable
function
#define EXSYEN 0x0100
reference
List | Reference
macro constant
DASEL
Fill the image display area to the standard area
function
#define DASEL 0x0002
reference
List | Reference
macro constant
EXBGEN
Allows input of external screen data
function
#define EXBGEN 0x0001
reference
List | Reference
macro constant
CRM16_1024
Color RAM mode 16 bit 1024 colors
function
#define CRM16_1024 0
reference
List | Reference
macro constant
CRM16_2048
Color RAM mode 16 bit 2048 colors
function
#define CRM16_2048 1
reference
List | Reference
macro constant
CRM32_1024
Color RAM mode 32 bit 1024 colors
function
#define CRM32_1024 2
reference
List | Reference
macro constant
COL_TYPE_16
Color type 16 color palette mode
function
#define COL_TYPE_16 0x00
reference
List | Reference
macro constant
COL_TYPE_256
Color type 256 color palette mode
function
#define COL_TYPE_256 0x10
reference
List | Reference
macro constant
COL_TYPE_2048
Color type 2048 color palette mode
function
#define COL_TYPE_2048 0x20
reference
List | Reference
macro constant
COL_TYPE_32768
Color type 32000 colors RGB mode
function
#define COL_TYPE_32768 0x30
reference
List | Reference
macro constant
COL_TYPE_1M
Color type 16 million colors RGB mode
function
#define COL_TYPE_1M 0x40
reference
List | Reference
macro constant
CHAR_SIZE_1x1
Character size 1×1 cell
function
#define CHAR_SIZE_1x1 0
reference
List | Reference
macro constant
CHAR_SIZE_2x2
Character size 2×2 cells
function
#define CHAR_SIZE_2x2 1
reference
List | Reference
macro constant
PNB_2WORD
pattern name size 2 words
function
#define PNB_2WORD 0
reference
List | Reference
macro constant
PNB_1WORD
Pattern name size 1 word
function
#define PNB_1WORD 0x8000
reference
List | Reference
macro constant
CN_10BIT
Character number auxiliary mode 10 bits
function
#define CN_10BIT 0
reference
List | Reference
macro constant
CN_12BIT
Character number auxiliary mode 12 bits
function
#define CN_12BIT 0x4000
reference
List | Reference
macro constant
PL_SIZE_1x1
Plane size 1×1
function
#define PL_SIZE_1x1 0
reference
List | Reference
macro constant
PL_SIZE_2x1
Plane size 2×1
function
#define PL_SIZE_2x1 1
reference
List | Reference
macro constant
PL_SIZE_2x2
Plane size 2×2
function
#define PL_SIZE_2x2 3
reference
List | Reference
macro constant
NBG0ON
Enable NBG0
function
#define NBG0ON (1<<0)
reference
List | Reference
macro constant
NBG1ON
Enable NBG1
function
#define NBG1ON (1<<1)
reference
List | Reference
macro constant
NBG2ON
Enable NBG2
function
#define NBG2ON (1<<2)
reference
List | Reference
macro constant
NBG3ON
Enable NBG3
function
#define NBG3ON (1<<3)
reference
List | Reference
macro constant
RBG0ON
Enable RBG0
function
#define RBG0ON (1<<4)
reference
List | Reference
macro constant
LNCLON
Enable line color screen
function
#define LNCLON (1<<5)
reference
List | Reference
macro constant
SPRON
Enable sprite screen
function
#define SPRON (1<<6)
reference
List | Reference
macro constant
BACKON
Enable back color screen
function
#define BACKON (1<<5)
reference
List | Reference
macro constant
NBG0OFF
Disable NBG0
function
#define NBG0OFF (1<<16)
reference
List | Reference
macro constant
NBG1OFF
Disable NBG1
function
#define NBG1OFF (1<<17)
reference
List | Reference
macro constant
NBG2OFF
Disable NBG2
function
#define NBG2OFF (1<<18)
reference
List | Reference
macro constant
NBG3OFF
Disable NBG3
function
#define NBG3OFF (1<<19)
reference
List | Reference
macro constant
RBG0OFF
Disable RBG0
function
#define RBG0OFF (1<<20)
reference
List | Reference
macro constant
ZOOM_1
Reduction limit up to 1x
function
#define ZOOM_1 0
reference
List | Reference
macro constant
ZOOM_HALF
Reduction limit up to 1/2 times
function
#define ZOOM_HALF 1
reference
List | Reference
macro constant
ZOOM_QUARTER
Reduction limit up to 1/4 times
function
#define ZOOM_QUARTER 2
reference
List | Reference
macro constant
K_OFF
Do not load coefficient table
function
#define K_OFF 0
reference
List | Reference
macro constant
K_ON
Load coefficient table
function
#define K_ON 1
reference
List | Reference
macro constant
K_2WORD
2 words of coefficient data
function
#define K_2WORD 0
reference
List | Reference
macro constant
K_1WORD
Coefficient data 1 word
function
#define K_1WORD 2
reference
List | Reference
macro constant
K_MODE0
Rotation coefficient mode 0
function
#define K_MODE0 0
reference
List | Reference
macro constant
K_MODE1
Rotation coefficient mode 1
function
#define K_MODE1 4
reference
List | Reference
macro constant
K_MODE2
Rotation coefficient mode 2
function
#define K_MODE2 8
reference
List | Reference
macro constant
K_MODE3
Rotation coefficient mode 3
function
#define K_MODE3 12
reference
List | Reference
macro constant
K_LINECOL
Use line color data from coefficient data
function
#define K_LINECOL 0x10
reference
List | Reference
macro constant
K_DOT
Read coefficient data dot by dot
function
#define K_DOT 0x20
reference
List | Reference
macro constant
K_LINE
Read coefficient data line by line
function
#define K_LINE 0
reference
List | Reference
macro constant
K_FIX
Load coefficient data only once
function
#define K_FIX 0x40
reference
List | Reference
macro constant
R.A.
Use rotation parameter A
function
#define RA 0
reference
List | Reference
macro constant
R.B.
Use rotation parameter B
function
#define RB 1
reference
List | Reference
macro constant
K_CHANGE
Switch and use coefficient data
function
#define K_CHANGE 2
reference
List | Reference
macro constant
W_CHANGE
Switching coefficient data in the window
function
#define W_CHANGE 3
reference
List | Reference
macro constant
LnRd_Xst
Read Xst line by line
function
#define LnRd_Xst 0x01
reference
List | Reference
macro constant
LnRd_Yst
Read Yst line by line
function
#define LnRd_Yst 0x02
reference
List | Reference
macro constant
LnRd_KAst
Read KAst line by line
function
#define LnRd_KAst 0x04
reference
List | Reference
macro constant
CC_RATE
Add according to color calculation ratio
function
#define CC_RATE 0
reference
List | Reference
macro constant
CC_ADD
Add as is
function
#define CC_ADD 0x100
reference
List | Reference
macro constant
CC_TOP
Specify the percentage in the top image
function
#define CC_TOP 0
reference
List | Reference
macro constant
CC_2ND
Specify percentage in second image
function
#define CC_2ND 0x200
reference
List | Reference
macro constant
CC_EXT
Use extended color operations
function
#define CC_EXT 0x400
reference
List | Reference
macro constant
grdNBG0
Specify blur for NBG0
function
#define grdNBG0 0xa000
reference
List | Reference
macro constant
grdNBG1
Specify blur for NBG1
function
#define grdNBG1 0xc000
reference
List | Reference
macro constant
grdNBG2
Specify blur for NBG2
function
#define grdNBG2 0xd000
reference
List | Reference
macro constant
grdNBG3
Specify blur for NBG3
function
#define grdNBG3 0xe000
reference
List | Reference
macro constant
grdRBG0
Specify blur for RBG0
function
#define grdRBG0 0x9000
reference
List | Reference
macro constant
grdSPR
Specifying blur for the sprite screen
function
#define grdSPR 0x8000
reference
List | Reference
macro constant
COL_R
function
#define COL_R (1<<0)
List | Reference
macro constant
COL_G
function
#define COL_G (1<<5)
List | Reference
macro constant
COL_B
function
#define COL_B (1<<10)
reference
List | Reference
macro constant
CC_pr_CN
The priority is less than or equal to the color calculation condition number
function
#define CC_pr_CN 0
reference
List | Reference
macro constant
CC_PR_CN
The priority is the same as the color calculation condition number
function
#define CC_PR_CN 1
reference
List | Reference
macro constant
CC_PR_cn
The priority is greater than or equal to the color calculation condition number
function
#define CC_PR_cn 2
reference
List | Reference
macro constant
CC_MSB
When MSB is ON
function
#define CC_MSB 3
reference
List | Reference
macro constant
SPR_PAL
Palette only mode
function
#define SPR_PAL 0
reference
List | Reference
macro constant
SPR_PAL_RGB
Palette RGB mixed mode
function
#define SPR_PAL_RGB 1
reference
List | Reference
macro constant
scnNBG0
Use NBG0
function
#define scnNBG0 1
reference
List | Reference
macro constant
scnNBG1
Use NBG1
function
#define scnNBG1 0
reference
List | Reference
macro constant
scnNBG2
Use NBG2
function
#define scnNBG2 3
reference
List | Reference
macro constant
scnNBG3
Use NBG3
function
#define scnNBG3 2
reference
List | Reference
macro constant
scnRBG0
Use RBG0
function
#define scnRBG0 5
reference
List | Reference
macro constant
scnRBGA
Use rotation parameter A
function
#define scnRBGA 5
reference
List | Reference
macro constant
scnRBGB
Use rotation parameter B
function
#define scnRBGB 4
reference
List | Reference
macro constant
scnSPR
Use sprite face
function
#define scnSPR 4
reference
List | Reference
macro constant
scnROT
Use rotation parameter window
function
#define scnROT 7
reference
List | Reference
macro constant
scnCCAL
Use color calculation window
function
#define scnCCAL 6
reference
List | Reference
macro constant
scnLNCL
Uses line color screen
function
#define scnLNCL 7
reference
List | Reference
macro constant
scnBACK
Use back color screen
function
#define scnBACK 6
reference
List | Reference
macro constant
scnSPR0
List | Reference
macro constant
scnSPR1
List | Reference
macro constant
scnSPR2
List | Reference
macro constant
scnSPR3
List | Reference
macro constant
scnSPR4
List | Reference
macro constant
scnSPR5
List | Reference
macro constant
scnSPR6
List | Reference
macro constant
scnSPR7
Use sprite screen
function
#define scnSPR0 -7
#define scnSPR1 -8
#define scnSPR2 -5
#define scnSPR3 -6
#define scnSPR4 -3
#define scnSPR5 -4
#define scnSPR6 -1
#define scnSPR7 -2
reference
List | Reference
macro constant
bmNBG0
NBG0 of bitmap screen
function
#define bmNBG0 1
reference
List | Reference
macro constant
bmNBG1
NBG1 of bitmap screen
function
#define bmNBG1 0
reference
List | Reference
macro constant
bmRBG0
RBG0 of bitmap screen
function
#define bmRBG0 3
reference
List | Reference
macro constant
win_OR
Boolean sum of multiple windows
function
#define win_OR 0x80
reference
List | Reference
macro constant
win_AND
Boolean product of multiple windows
function
#define win_AND 0x00
reference
List | Reference
macro constant
win0_IN
Inside window 0
function
#define win0_IN 0x03
reference
List | Reference
macro constant
win0_OUT
outside window 0
function
#define win0_OUT 0x02
reference
List | Reference
macro constant
win1_IN
inside window 1
function
#define win1_IN 0x0c
reference
List | Reference
macro constant
win1_OUT
outside window 1
function
#define win1_OUT 0x08
reference
List | Reference
macro constant
spw_IN
Inside the sprite window
function
#define spw_IN 0x30
reference
List | Reference
macro constant
spw_OUT
outside the sprite window
function
#define spw_OUT 0x20
reference
List | Reference
macro constant
lineSZ1
Set line scroll size to 1 dot
function
#define lineSZ1 0x00
reference
List | Reference
macro constant
lineSZ2
Set line scroll size to 2 dots
function
#define lineSZ2 0x10
reference
List | Reference
macro constant
lineSZ4
Set line scroll size to 4 dots
function
#define lineSZ4 0x20
reference
List | Reference
macro constant
lineSZ8
Set line scroll size to 8 dots
function
#define lineSZ8 0x30
reference
List | Reference
macro constant
lineZoom
Use line zoom
function
#define lineZoom 0x08
reference
List | Reference
macro constant
lineVScroll
Use line vertical scrolling
function
#define lineVScroll 0x04
reference
List | Reference
macro constant
lineHScroll
Use line horizontal scrolling
function
#define lineHScroll 0x02
reference
List | Reference
macro constant
VCellScroll
Use vertical cell scrolling
function
#define VCellScroll 0x01
reference
List | Reference
macro constant
BM_512x256
Bitmap screen size 512×256
function
#define BM_512x256 0x02
reference
List | Reference
macro constant
BM_512x512
Bitmap screen size 512×512
function
#define BM_512x512 0x06
reference
List | Reference
macro constant
BM_1024x256
Bitmap screen size 1024×256
function
#define BM_1024x256 0x0a
reference
List | Reference
macro constant
BM_1024x512
Bitmap screen size 1024×512
function
#define BM_1024x512 0x0e
reference
List | Reference
macro constant
spPRI_Scrn
Special priority per screen
function
#define spPRI_Scrn 0
reference
List | Reference
macro constant
spPRI_Char
Special priority per cell
function
#define spPRI_Char 1
reference
List | Reference
macro constant
spPRI_Dot
Special priority per dot
function
#define spPRI_Dot 2
reference
List | Reference
macro constant
spCCAL_Scrn
Special color calculation for each screen
function
#define spCCAL_Scrn 0
reference
List | Reference
macro constant
spCCAL_Char
Special color calculations for each cell
function
#define spCCAL_Char 1
reference
List | Reference
macro constant
spCCAL_Dot
Special color calculation per dot
function
#define spCCAL_Dot 2
reference
List | Reference
macro constant
spCCAL_MSB
Special color calculation using MSB
function
#define spCCAL_MSB 3
reference
List | Reference
macro constant
sfCOL_01
When the lower 4 bits of dot color data are 0, 1
function
#define sfCOL_01 0x01
reference
List | Reference
macro constant
sfCOL_23
When the lower 4 bits of dot color data are 2 or 3
function
#define sfCOL_23 0x02
reference
List | Reference
macro constant
sfCOL_45
When the lower 4 bits of dot color data are 4 or 5
function
#define sfCOL_45 0x04
reference
List | Reference
macro constant
sfCOL_67
When the lower 4 bits of dot color data are 6 or 7
function
#define sfCOL_67 0x08
reference
List | Reference
macro constant
sfCOL_89
When the lower 4 bits of dot color data are 8 or 9
function
#define sfCOL_89 0x10
reference
List | Reference
macro constant
sfCOL_ab
When the lower 4 bits of dot color data are a, b
function
#define sfCOL_ab 0x20
reference
List | Reference
macro constant
sfCOL_cd
When the lower 4 bits of dot color data are c and d
function
#define sfCOL_cd 0x40
reference
List | Reference
macro constant
sfCOL_ef
When the lower 4 bits of dot color data are e, f
function
#define sfCOL_ef 0x80
reference
List | Reference
macro constant
Div_A
function
#define Div_A 1
reference
List | Reference
macro constant
Div_B
function
#define Div_B 2
reference
return Copyright SEGA ENTERPRISES, LTD., 1997