Japanese

★Enumeration constants



ListReference

constant

FALSE



ListReference

constant

TRUE


Logical constant 1 (false, true)

Format

    enum BooleanLogic {
      FALSE = 0,
      TRUE =1
    };

function

    FALSE : false TRUE : true 



ListReference

constant

OFF



ListReference

constant

ON


Logical constant 2 (switch)

Format

    enum Bool eanSwitch {
      OFF = 0,
      ON = 1
    };

function

    OFF : Disabled ON : Enabled 



ListReference

constant

OK



ListReference

constant

NG


Constants for result determination (success, failure)

Format

    enum Judgment {
      OK = 0,
      NG = -1
    };

function

      OK : Success NG : Failure 



ListReference

constant

X



ListReference

constant

Y



ListReference

constant

Z



ListReference

constant

S



ListReference

constant

Sh



ListReference

constant

Sv



ListReference

constant

XY



ListReference

constant

XYZ



ListReference

constant

XYZS



ListReference

constant

XYZSS


Simple expression when declaring an array

Format

    enum ps {
      X,
      Y,
      Z,
      XYZ,
      XYZS,
      XYZSS,
      XY = Z,
      S = XYZ,
      Sh = S,
      Sv = XYZS
    };

function

    X     : First element of the array
    Y     : Second element of the array
    Z     : Third element of the array
    S     : Fourth element of the array
    Sh    : Fourth element of the array
    Sv    : Fifth element of the array
    XY    : For arrays of 2-dimensional information
    XYZ   : For arrays of 3-dimensional information
    XYZS  : For arrays with 3-dimensional information plus a linear scale
    XYZSS : For arrays with 3-dimensional information plus a secondary scale



ListReference

constant

M00



ListReference

constant

M01



ListReference

constant

M02



ListReference

constant

M10



ListReference

constant

M11



ListReference

constant

M12



ListReference

constant

M20



ListReference

constant

M21



ListReference

constant

M22



ListReference

constant

M30



ListReference

constant

M31



ListReference

constant

M32



ListReference

constant

MTRX



ListReference

constant

mtrx


matrix element number

Format

    enum mtrx {
      M00, M01, M02,
      M10, M11, M12,
      M20, M21, M22,
      M30, M31, M32,
      MTRX
    };



ListReference

constant

TV_320x224



ListReference

constant

TV_320x240



ListReference

constant

TV_320x256



ListReference

constant

TV_352x224



ListReference

constant

TV_352x240



ListReference

constant

TV_352x256



ListReference

constant

TV_640x224



ListReference

constant

TV_640x240



ListReference

constant

TV_640x256



ListReference

constant

TV_704x224



ListReference

constant

TV_704x240



ListReference

constant

TV_704x256



ListReference

constant

TV_320x448



ListReference

constant

TV_320x480



ListReference

constant

TV_320x512



ListReference

constant

TV_352x448



ListReference

constant

TV_352x480



ListReference

constant

TV_352x512



ListReference

constant

TV_640x448



ListReference

constant

TV_640x480



ListReference

constant

TV_640x512



ListReference

constant

TV_704x448



ListReference

constant

TV_704x480



ListReference

constant

TV_704x512



ListReference

constant

TV_dummy1



ListReference

constant

TV_dummy2



ListReference

constant

TV_dummy3



ListReference

constant

TV_dummy4



ListReference

constant

tvsz


TV screen mode

Format

    enum tvsz {
      TV_320x224, TV_320x240, TV_320x256, TV_dummy1,
      TV_352x224, TV_352x240, TV_352x256, TV_dummy2,
      TV_640x224, TV_640x240, TV_640x256, TV_dummy3,
      TV_704x224, TV_704x240, TV_704x256, TV_dummy4,

      TV_320x448, TV_320x480, TV_320x512, TV_dummy5,
      TV_352x448, TV_352x480, TV_352x512, TV_dummy6,
      TV_640x448, TV_640x480, TV_640x512, TV_dummy7,
      TV_704x448, TV_704x480, TV_704x512, TV_dummy8
    };

reference

 slInitSystem
 slSetTVMode
 slSetScrTVMode
 slSetSprTVMode 



ListReference

constant

SORT_BFR



ListReference

constant

SORT_MIN



ListReference

constant

SORT_MAX



ListReference

constant

SORT_CEN


Type of sort criteria

Format

    enum base {
      SORT_BFR,
      SORT_MIN,
      SORT_MAX,
      SORT_CEN
    };

function

    SORT_BFR - Use the position of the last displayed polygon
    SORT_MIN - Use the nearest point among the 4 points
    SORT_MAX - Use the farthest point among the 4 points
    SORT_CEN - Use the average position of the 4 points



ListReference

constant

Single_Plane



ListReference

constant

Dual_Plane


Front/back determination flag

Format

    enum pln {
      Single_Plane,
      Dual_Plane
    };

function

    Single_Plane - Single-sided polygon
    Dual_Plane - Double-sided polygon (do not see the result of front/back determination)




ListReference

constant

CLRate31_1



ListReference

constant

CLRate30_2



ListReference

constant

CLRate29_3



ListReference

constant

CLRate28_4



ListReference

constant

CLRate27_5



ListReference

constant

CLRate26_6



ListReference

constant

CLRate25_7



ListReference

constant

CLRate24_8



ListReference

constant

CLRate23_9



ListReference

constant

CLRate22_10



ListReference

constant

CLRate21_11



ListReference

constant

CLRate20_12



ListReference

constant

CLRate19_13



ListReference

constant

CLRate18_14



ListReference

constant

CLRate17_15



ListReference

constant

CLRate16_16



ListReference

constant

CLRate15_17



ListReference

constant

CLRate14_18



ListReference

constant

CLRate13_19



ListReference

constant

CLRate12_20



ListReference

constant

CLRate11_21



ListReference

constant

CLRate10_22



ListReference

constant

CLRate9_23



ListReference

constant

CLRate8_24



ListReference

constant

CLRate7_25



ListReference

constant

CLRate6_26



ListReference

constant

CLRate5_27



ListReference

constant

CLRate4_28



ListReference

constant

CLRate3_29



ListReference

constant

CLRate2_30



ListReference

constant

CLRate1_31



ListReference

constant

CLRate0_32


Color calculation ratio

Format

    enum color_rate{
      CLRate31_1,
      CLRate30_2,
      CLRate29_3,
      CLRate28_4,
      CLRate27_5,
      CLRate26_6,
      CLRate25_7,
      CLRate24_8,
      CLRate23_9,
      CLRate22_10,
      CLRate21_11,
      CLRate20_12,
      CLRate19_13,
      CLRate18_14,
      CLRate17_15,
      CLRate16_16,
      CLRate15_17,
      CLRate14_18,
      CLRate13_19,
      CLRate12_20,
      CLRate11_21,
      CLRate10_22,
      CLRate9_23,
      CLRate8_24,
      CLRate7_25,
      CLRate6_26,
      CLRate5_27,
      CLRate4_28,
      CLRate3_29,
      CLRate2_30,
      CLRate1_31,
      CLRate0_32
    };




ListReference

constant

SMPC_SH2_DIRECT



ListReference

constant

SMPC_CONTROL


SMPC input/output select mode

Format

    enum SmpcSelect {
      SMPC_SH2_DIRECT,
      SMPC_CONTROL
    };

function

    SMPC_SH2_DIRECT -- SH2 Direct
    SMPC_CONTROL -- SMPC Control

reference

 slGetPortSelect1
 slGetPortSelect2
 slSetPortSelect1
 slSetPortSelect2
 slGetStatus 



ListReference

constant

SMPC_EXL_ENA



ListReference

constant

SMPC_EXL_DIS


SMPC external latch input mode

Format

    enum SmpcExtLatch {
      SMPC_EXL_ENA,
      SMPC_EXL_DIS
    };

function

    SMPC_EXL_ENA -- Enable external latch input
    SMPC_EXL_DIS -- Disable external latch input

reference

 slGetPortExt1
 slGetPortExt2
 slSetPortExt1
 slSetPortExt2
 slGetStatus 



ListReference

constant

SMPC_RES_ON



ListReference

constant

SMPC_RES_OFF


SMPC reset button status

Format

    enum SmpcResetButton {
      SMPC_RES_ON,
      SMPC_RES_OFF
    };

function

    SMPC_RES_ON -- Reset button ON
    SMPC_RES_OFF -- Reset button OFF

reference

 slCheckReset
 slGetStatus 



ListReference

constant

SMPC_AREA_RSV_0



ListReference

constant

SMPC_AREA_JP



ListReference

constant

SMPC_AREA_AJ_NTSC



ListReference

constant

SMPC_AREA_RSV_3



ListReference

constant

SMPC_AREA_NA



ListReference

constant

SMPC_AREA_SA_NTSC



ListReference

constant

SMPC_AREA_KO



ListReference

constant

SMPC_AREA_RSV_7



ListReference

constant

SMPC_AREA_RSV_8



ListReference

constant

SMPC_AREA_RSV_9



ListReference

constant

SMPC_AREA_AJ_PAL



ListReference

constant

SMPC_AREA_RSV_B



ListReference

constant

SMPC_AREA_EU_PAL



ListReference

constant

SMPC_AREA_SA_PAL



ListReference

constant

SMPC_AREA_RSV_E



ListReference

constant

SMPC_AREA_RSV_F


area code

Format

    enum SmpcAreaCode {
      SMPC_AREA_RSV_0,
      SMPC_AREA_JP,
      SMPC_AREA_AJ_NTSC,
      SMPC_AREA_RSV_3,
      SMPC_AREA_NA,
      SMPC_AREA_SA_NTSC,
      SMPC_AREA_KO,
      SMPC_AREA_RSV_7,
      SMPC_AREA_RSV_8,
      SMPC_AREA_RSV_9,
      SMPC_AREA_AJ_PAL,
      SMPC_AREA_RSV_B,
      SMPC_AREA_EU_PAL,
      SMPC_AREA_SA_PAL,
      SMPC_AREA_RSV_E,
      SMPC_AREA_RSV_F
    };

function

    SMPC_AREA_RSV_0, -- Use prohibited
    SMPC_AREA_JP, -- Japan region
    SMPC_AREA_AJ_NTSC -- Asia NTSC region 
    SMPC_AREA_RSV_3 -- Use prohibited 
    SMPC_AREA_NA -- North America region 
    SMPC_AREA_SA_NTSC -- Latin America NTSC region 
    SMPC_AREA_KO -- South Korea region 
    SMPC_AREA_RSV_7 -- Use prohibited
    SMPC_AREA_RSV_8 -- Use Prohibited 
    SMPC_AREA_RSV_9 -- Prohibited to use 
    SMPC_AREA_AJ_PAL -- Asia PAL region 
    SMPC_AREA_RSV_B -- Prohibited to use 
    SMPC_AREA_EU_PAL -- Europe PAL region 
    SMPC_AREA_SA_PAL -- Latin America PAL region 
    SMPC_AREA_RSV_E -- Prohibited to use
    SMPC_AREA_RSV_F -- Prohibited to use

reference

 slGetStatus 



ListReference

constant

SMPC_OPT_DIS



ListReference

constant

SMPC_OPT_ENA


Acquisition time optimization mode

Format

    enum SmpcOptimize {
      SMPC_OPT_DIS,
      SMPC_OPT_ENA
    };

function

    SMPC_OPT_DIS -- Disable acquisition time optimization
    SMPC_OPT_ENA -- Enable acquisition time optimization

reference

 slGetOptimize
 slSetOptimize
 slGetStatus 



ListReference

constant

SMPC_PORT_15



ListReference

constant

SMPC_PORT_255



ListReference

constant

SMPC_PORT_RSV



ListReference

constant

SMPC_PORT_ZERO


SMPC port mode

Format

    enum SmpcPortMode {
      SMPC_PORT_15,
      SMPC_PORT_255,
      SMPC_PORT_RSV,
      SMPC_PORT_ZERO
    };

function

    SMPC_PORT_15 -- 15 byte mode
    SMPC_PORT_255 -- 255 byte mode
    SMPC_PORT_RSV -- Setting prohibited
    SMPC_PORT_ZERO -- 0 byte mode

reference

 slGetPortMode1
 slGetPortMode2
 slSetPortMode1
 slSetPortMode2
 slGetStatus 



ListReference

constant

SMPC_ENGLISH



ListReference

constant

SMPC_DEUTSCH



ListReference

constant

SMPC_FRANCAIS



ListReference

constant

SMPC_ESPANOL



ListReference

constant

SMPC_ITALIANO



ListReference

constant

SMPC_JAPAN


SMPC memory language number

Format

    enum SmpcLanguage {
      SMPC_ENGLISH,
      SMPC_DEUTSCH,
      SMPC_FRANCAIS,
      SMPC_ESPANOL,
      SMPC_ITALIANO,
      SMPC_JAPAN
    };

function

    SMPC_ENGLISH -- English
    SMPC_DEUTSCH -- German
    SMPC_FRANCAIS -- French
    SMPC_ESPANOL -- Spanish
    SMPC_ITALIANO -- Italian
    SMPC_JAPAN -- Japanese

reference

 slGetLanguage
 slSetLanguage
 slGetStatus 



ListReference

constant

SMPC_EFFECT_OFF



ListReference

constant

SMPC_EFFECT_ON


SMPC memory sound effect mode

Format

    enum SmpcSoundEffect {
      SMPC_EFFECT_OFF,
      SMPC_EFFECT_ON
    }; 

function

    SMPC_EFFECT_OFF -- Sound effect OFF
    SMPC_EFFECT_ON -- Sound effect ON

reference

 slGetSoundEffect
 slSetSoundEffect
 slGetStatus 



ListReference

constant

SMPC_SOUND_MONO



ListReference

constant

SMPC_SOUND_STEREO


SMPC memory audio output mode

Format

    enum SmpcSoundOutput {
      SMPC_SOUND_MONO,
      SMPC_SOUND_STEREO
    };

function

    SMPC_SOUND_MONO -- Mono
    SMPC_SOUND_STEREO -- Stereo

reference

 slGetSoundOutput
 slSetSoundOutput
 slGetStatus 



ListReference

constant

SMPC_HELP_DIS



ListReference

constant

SMPC_HELP_ENA


SMPC memory help window mode

Format

    enum SmpcHelpWindow {
      SMPC_HELP_DIS,
      SMPC_HELP_ENA
    };

function

    SMPC_HELP_DIS -- Do not display
    SMPC_HELP_ENA -- Display

reference

 slGetHelpWindow
 slSetHelpWindow
 slGetStatus 



ListReference

constant

SMPC_DMY



ListReference

constant

SMPC_JAN



ListReference

constant

SMPC_FEB



ListReference

constant

SMPC_MRA



ListReference

constant

SMPC_APR



ListReference

constant

SMPC_MAY



ListReference

constant

SMPC_JUN



ListReference

constant

SMPC_JUL



ListReference

constant

SMPC_AUG



ListReference

constant

SMPC_SEP



ListReference

constant

SMPC_OCT



ListReference

constant

SMPC_NOV



ListReference

constant

SMPC_DEC


RTC month number

Format

    enum SmpcMonth {
      SMPC_DMY,
      SMPC_JAN,
      SMPC_FEB,
      SMPC_MAR,
      SMPC_APR,
      SMPC_MAY,
      SMPC_JUN,
      SMPC_JUL,
      SMPC_AUG,
      SMPC_SEP,
      SMPC_OCT,
      SMPC_NOV,
      SMPC_DEC
    };

function

    SMPC_DMY -- Dummy
    SMPC_JAN -- January
    SMPC_FEB -- February
    SMPC_MAR -- March
    SMPC_APR -- April
    SMPC_MAY -- May
    SMPC_JUN -- June
    SMPC_JUL -- July
    SMPC_AUG -- August
    SMPC_SEP -- September
    SMPC_OCT -- October
    SMPC_NOV -- November
    SMPC_DEC -- December

reference

 slGetStatus 



ListReference

constant

SMPC_MSHON



ListReference

constant

SMPC_SSHON



ListReference

constant

SMPC_SSHOFF



ListReference

constant

SMPC_SNDON



ListReference

constant

SMPC_SNDOFF



ListReference

constant

SMPC_CDON



ListReference

constant

SMPC_CDOFF



ListReference

constant

SMPC_SYSRES



ListReference

constant

SMPC_CKC352



ListReference

constant

SMPC_CKC320



ListReference

constant

SMPC_NMIREQ



ListReference

constant

SMPC_RESENA



ListReference

constant

SMPC_RESDIS



ListReference

constant

SMPC_GETSTS



ListReference

constant

SMPC_GETPER



ListReference

constant

SMPC_SETMEM



ListReference

constant

SMPC_SETTIM



ListReference

constant

SMPC_CMDMAX


SMPC command number

Format

    enum SmpcCommand {
      SMPC_MSHON,
      SMPC_SSHON,
      SMPC_SSHOFF,
      SMPC_SNDON,
      SMPC_SNDOFF,
      SMPC_CDON,
      SMPC_CDOFF,
      SMPC_SYSRES,
      SMPC_CKC352,
      SMPC_CKC320,
      SMPC_NMIREQ,
      SMPC_RESENA,
      SMPC_RESDIS,
      SMPC_GETSTS,
      SMPC_GETPER,
      SMPC_SETMEM,
      SMPC_SETTIM,
      SMPC_CMDMAX
    };

function

  SMPC_MSHON -- Master SH2-ON
  SMPC_SSHON -- Slave SH2-ON
  SMPC_SSHOFF -- Slave SH2-OFF
  SMPC_SNDON -- Sound-ON
  SMPC_SNDOFF -- Sound-OFF
  SMPC_CDON -- CD-ON
  SMPC_CDOFF -- CD-OFF
  SMPC_SYSRES -- Whole system reset
  SMPC_CKC352 -- Clock change 352 mode
  SMPC_CKC320 -- Clock change 320 mode
  SMPC_NMIREQ -- NMI request
  SMPC_RESENA -- Reset enable
  SMPC_RESDIS -- Reset disable
  SMPC_GETSTS -- Get status
  SMPC_GETPER -- Get peripheral
  SMPC_SETMEM -- SMPC Memory setting
  SMPC_SETTIM -- Time setting
  SMPC_CMDMAX -- Command number maximum value 



ListReference

constant

SMPC_NO_WAIT



ListReference

constant

SMPC_WAIT


SMPC command execution mode

Format

    enum SmpcWaitMode {
      SMPC_NO_WAIT,
      SMPC_WAIT
    };

function

  SMPC_NO_WAIT -- No waiting for command execution to finish
  SMPC_WAIT -- Waiting for command execution to finish 



ListReference

constant

winFar



ListReference

constant

winNear


Switching windows

Format

    enum {
      winFar,
      winNear
    };

function

    winFar -- Back window winNear -- Front window

return
Copyright SEGA ENTERPRISES, LTD., 1997