Japanese
SGL User's Manual
Function Reference | Structure Reference | SGL Supplementary Manual | SGL System Variable List
SGL REFERENCE

Function reference



Extended bitmap functions

slInitBitMap
slInitBitMapNbg0
slInitBitMapNbg1
slInitBitMapRbg0
slBitMapBase
slLocateBitMap
slClearBitMap
slBMPset
slBMPoint
slBMCircle
slBMLine
slBMBox
slBMBoxFill
slBMGet
slBMPut
slBMSprPut

DMA functions

slDMACopy
slDMAXCopy
slDMAWait
slDMAStatus
slCashPurge

Event functions

slInitEvent
slGetEvent
slSetEvent
slSetEventNext
slReturnEvent
slCloseEvent
slExecuteEvent
slGetWork
slReturnWork
EventBuf
WorkBuf
RemainEvent
RemainWork

System functions

slInitSystem
slSetTVMode
slSetScrTVMode
slSetSprTVMode
slDynamicFrame

Interrupt function group

slSynch
slInitSynch
slIntFunction
slSynchFunction
slTransferEntry
slNoOperation

Numerical calculation functions

slSin
slCos
slTan
slAtan
slSquart
slSquartFX
slMulFX
slDivFX
slInnerProduct
slNormal Vector
slRandom
slBezier
slBallCollision
slSlaveFunc

Matrix calculation functions

slInitMatrix
slPushMatrix
slPushUnitMatrix
slIncMatrixPtr
slPopMatrix
slDecMatrixPtr
slUnitMatrix
slUnitAngle
slUnitTranslate
slLoadMatrix
slCopyMatrix
slRegistMatrix
slGetMatrix
slGetTranslate
slLoadTranslate
slInversMatrix
slTransposeMatrix
slRotX
slRotXSC
slRotY
slRotYSC
slRotZ
slRotZSC
slRotAX
slTranslate
slRegistTranslate
slScale
slMultiMatrix
slLookAt
slCheckOnScreen
slCheckOnScreen0
slCalcPoint
slConvert3Dto2DFX
slConvert3Dto2D

Debug support functions

slCurScrn
slCurColor
slDispHex
slPrintHex
slPrintFX
slPrintMatrix
slPrint
slHex2Dec
slExtendScroll
set_vbar
reset_vbar
slLocate
slLocateNbg
slLocateNbg0
slLocateNbg1
slLocateNbg2
slLocateNbg3
slLocatePage

Peripheral functions

slInitPeripheral
slGetPortDir1
slGetPortDir2
slSetPortDir1
slSetPortDir2
slGetPortData1
slGetPortData2
slSetPortData1
slSetPortData2
slGetPortSelect1
slGetPortSelect2
slSetPortSelect1
slSetPortSelect2
slGetPortExt1
slGetPortExt2
slSetPortExt1
slSetPortExt2
slGetOptimize
slSetOptimize
slGetPortMode1
slGetPortMode2
slSetPortMode1
slSetPortMode2
slCheckReset
slClearReset
slIntBackCancel
slGetLanguage
slSetLanguage
slGetSoundEffect
slSetSoundEffect
slGetSoundOutput
slSetSoundOutput
slGetHelpWindow
slSetHelpWindow
slGetStatus
slGetPeripheral

Polygon drawing functions

slPutPolygon
slPutPolygonS
slDispPolygon
slPutObject
slInitGouraud
slPutPolygonX
slGouraudTblCopy
slSetGouraudTbl
slSetGouraudColor
slLight
slSetFlatColor
slSetAmbient
slSetNearClipFlag
slWindowClipLevel
slSetDepthLimit
slSetDepthTbl
slDispPlaneLevel

VDP2 color calculation functions

slLineColTable
slLine1ColSet
slLineColDisp
slColorCalc
slColorCalcMode
slColorCalcOn
slGradationOn
slGradationOff
slColRate
slColRateNbg0
slColRateNbg1
slColRateNbg2
slColRateNbg3
slColRateRbg0
slColRateLNCL
slColRateBACK
slColRateSpr0
slColRateSpr1
slColRateSpr2
slColRateSpr3
slColRateSpr4
slColRateSpr5
slColRateSpr6
slColRateSpr7
slBackColTable
slBack1ColSet

VDP2 cell formatting functions

slCharNbg0
slCharNbg1
slCharNbg2
slCharNbg3
slCharRbg0
slPageNbg0
slPageNbg1
slPageNbg2
slPageNbg3
slPageRbg0
slPlaneNbg0
slPlaneNbg1
slPlaneNbg2
slPlaneNbg3
slPlaneRA
slPlaneRB
slOverRA
slOverRB
slMapNbg0
slMapNbg1
slMapNbg2
slMapNbg3
sl1MapRA
sl1MapRB
slOverPatRA
slOverPatRB
sl16MapRA
sl16MapRB
slScrAscSet
setASC_1to8
setASC_1to4
SGL_ASCII_CG

VDP2 color offset functions

slColOffsetOn
slColOffsetOff
slColOffsetAUse
slColOffsetBUse
slColOffsetA
slColOffsetB
slColOffsetScrn

VDP2 VRAM color RAM setting functions

slVRAMMode
slScrCycleSet
slScrAutoDisp
slScrDisp
slColRAMMode
slColRAMOffsetNbg0
slColRAMOffsetNbg1
slColRAMOffsetNbg2
slColRAMOffsetNbg3
slColRAMOffsetRbg0
slColRAMOffsetSpr

VDP2 rotational scroll setting functions

slRparaInitSet
slCurRpara
slRparaMode
slMakeKtable
slKtableRA
slKtableRB
slRparaReadCtrlRA
slRparaReadCtrlRB

VDP2 special calculation functions

slSpecialPrioModeNbg0
slSpecialPrioModeNbg1
slSpecialPrioModeNbg2
slSpecialPrioModeNbg3
slSpecialPrioModeRbg0
slSpecialPrioBitN01
slSpecialPrioBitScr
slSpecialPrioBitNbg0
slSpecialPrioBitNbg1
slSpecialPrioBitNbg2
slSpecialPrioBitNbg3
slSpecialPrioBitRbg0
slSpecialPrioBitBMN0
slSpecialPrioBitBMN1
slSpecialPrioBitBMR0
slSpecialCCalcModeNbg0
slSpecialCCalcModeNbg1
slSpecialCCalcModeNbg2
slSpecialCCalcModeNbg3
slSpecialCCalcModeRbg0
slSpecialCCalcBitN01
slSpecialCCalcBitScr
slSpecialCCalcBitNbg0
slSpecialCCalcBitNbg1
slSpecialCCalcBitNbg2
slSpecialCCalcBitNbg3
slSpecialCCalcBitRbg0
slSpecialCCalcBitBMN0
slSpecialCCalcBitBMN1
slSpecialCCalcBitBMR0
slSpecialFuncCodeA
slSpecialFuncCodeB
slSpecialFuncSelectB

VDP2 function group

slScrPosNbg0
slScrPosNbg1
slScrPosNbg2
slScrPosNbg3
slScrMoveNbg0
slScrMoveNbg1
slScrMoveNbg2
slScrMoveNbg3
slLookR
slDispCenterR
slZoomNbg0
slZoomNbg1
slZoomMode
slZoomModeNbg0
slZoomModeNbg1
slZoomR
slScrScaleNbg0
slScrScaleNbg1
slScrScaleR
slScrMatConv
slScrTransparent
slZrotR
slScrMatSet

Scroll functions

slTVOn
slTVOff
slGetHCount
slGetVCount
slExtSignal
slBitMapNbg0
slBitMapNbg1
slBitMapRbg0
slBMPaletteNbg0
slBMPaletteNbg1
slBMPaletteRbg0
slSpriteWinMode
slSpriteCCalcCond
slSpriteCCalcNum
slSpriteColMode
slSpriteType
slScrMosaicOn
slScrMosSize
slScrWindow0
slScrWindow1
slScrLineWindow0
slScrLineWindow1
slScrWindowMode
slScrWindowModeNbg0
slScrWindowModeNbg1
slScrWindowModeNbg2
slScrWindowModeNbg3
slScrWindowModeRbg0
slScrWindowModeSPR
slScrWindowModeROT
slScrWindowModeCCAL
slPriority
slPriorityNbg0
slPriorityNbg1
slPriorityNbg2
slPriorityNbg3
slPriorityRbg0
slPrioritySpr0
slPrioritySpr1
slPrioritySpr2
slPrioritySpr3
slPrioritySpr4
slPrioritySpr5
slPrioritySpr6
slPrioritySpr7
slShadowOn
slTpShadowMode
slLineScrollMode
slLineScrollModeNbg0
slLineScrollModeNbg1
slLineScrollTable0
slLineScrollTable1
slVCellTable

SMPC command issuing function group

slSoundOn
slSoundOff
slNMIRequest
slResetEnable
slResetDisable
slSetSmpcMemory
slSetDateTime
slSoundOnWait
slSoundOffWait
slNMIRequestWait
slResetEnableWait
slResetDisableWait
slSetSmpcMemoryWait
slSetDateTimeWait

Sound sequence playback functions

slBGMOn
slBGMPause
slBGMCont
slBGMOff
slBGMFade
slBGMTempo
slBGMStat
slSequenceOn
slSequenceOff
slSequenceFade
slSequenceTempo
slSequencePause
slSequenceCont
slSequencePan
slSequenceReset
slSequenceStat
slSndMapChange
slSndSeqNum

sound functions

slInitSound
slWaitSound
slSoundAllOff
slCDDAOn
slCDDAOff
slPCMOn
slPCMOff
slPCMParmChange
slPCMStat
slSndPCMNum
slSndEffect
slSndMixParmChange
slSoundRequest
slDSPOff
slSndVolume
slSoundAllPause
slSoundAllCont
slSndFlush

Sprite drawing functions

slSetScreenDist
slGetFrameData
slPerspective
slZdspLevel
slDispSprite
slDispSpriteHV
slDispSpriteSZ
slDispSprite4P
slPutSprite
slSetSprite
slWindow
slCurWindow
slSprWinNum
slFrameClipSize
slCheckSlave

Function Reference | Structure Reference | SGL Supplementary Manual | SGL System Variable List
SGL User's Manual
Copyright SEGA ENTERPRISES, LTD., 1997