SGL REFERENCE

Return to the top menu

Next


Graphic functions

slLight (Light source setting)
slPerspective (setting of perspective conversion table)
slPutPolygon (Polygon model drawing)
slWindow (Window settings)
slZdspLevel (display level specification)

Scroll function

sl1MapRA (RBG map set (using rotation parameter A))
sl1MapRB (RBG map set (use rotation parameter B))
sl16MapRA (RBG map set (using rotation parameter A))
slBack1ColSet (single color set for the back screen)
slBitMapNbg0,1 (Bitmap mode setting (NBG))
slBMPaletteNbg0,1 (Bitmap screen palette number setting (NBG))
slCharNbg0,1,2,3 (with NBG character control set)
slCharRbg0 (set RBG character control)
slColOffsetOn (Color offset enable setting)
slColOffsetBUse (color offset select)
slColOffsetA, B (Color offset setting)
slColorCalc (color calculation control set)
slColorCalcOn (Color calculation control enable set)
slColRAMMode (Set color RAM mode)
slColRateBACK (Back screen color calculation ratio set)
slColRateLNCL (color operation ratio set for line color screen)
slColRateNbg0,1,2,3 (NBG color calculation ratio set)
slColRateRbg0 (RBG color calculation ratio set)
slCurRpara (current rotation parameter change)
slDispCenterR (RBG rotation center coordinate set)
slKtableRA, B (coefficient table control setting)
slLine1ColSet (Line Single Color Set Matrix Set)
slLineColDisp (Line color screen enable set)
slLineColTable (Line color table set)
slLineScrollModeNbg0,1 (Set line scroll mode and vertical cell scroll mode)
slLineScrollTable0,1 (Line scroll table address setting)
slLookR (RBG arrangement coordinate set)
slMakeKtable (Create coefficient table)
slMapNbg0,1,2,3 (NBG map set)
slOverRA (RBG screen over processing set (use rotation parameter A))
slOverRB (RGB screen over processing set (use rotation parameter B))
slPageNbg0,1,2,3 (Register NBG pattern name data)
slPageRbg0 (Register RBG pattern name data)
slPlaneNbg0,1,2,3 (NBG plain size set)
slPlaneRA (RBG plane size set (use rotation parameter A))
slPlaneRB (RGB plane size set (use rotation parameter B))
slPriorityRbg0 (RBG priority set)
slPriorityNbg0,1,2,3 (NBG priority set)
slRparaInitSet (Store rotation parameter table in VRAM)
slRparaMode (Rotation parameter mode setting)
slScrAutoDisp (scroll registration (cycle pattern register setting))
slScrCycleSet (Set cycle pattern)
slScrDisp (parameterized scroll drawing settings)
slScrLineWindow0 (sets line window table 0)
slScrMatConv (Converts current matrix to scroll matrix)
slScrMatSet (matrix set)
slScrMosaicOn (Specify the surface for mosaic processing)
slScrMosSize (Specify the size of mosaic processing with H and V)
slScrPosNbg0,1,2,3 (NBG screen display position set)
slScrTransparent (Transparent display enable set)
slScrWindow0 (Set scroll rectangle window 0 )
slScrWindowModeNbg0,1,2,3 (NBG window usage mode setting)
slShadowOn (shadow function setting)
slTVOff (drawing end declaration)
slTVOn (drawing start declaration)
slZoomModeNbg0,1 (Determine NBG scaling mode)
slZoomNbg0,1 (NBG scaling)
slZoomR (RBG scaling)
slZrotR (RBG Z-axis rotation)

Sprite function

slDispSprite (Specify position, scale, rotation angle and display sprite)
slPutSprite (displays sprites according to perspective transformation)
slSetSprite (Set of sprite data)
slSpriteType (Specify sprite data type)

Character display function

slDispHex (hexadecimal display)
slLocate (Calculation of display position (parameter is cell specification))
slPrint (Character string screen display)
slPrintFX (fixed-point number screen display)
slPrintHex (Hexadecimal display (high-order digit 0 is not displayed))
slPrintMatrix (Matrix screen display)

Matrix function

slGetMatrix (Copy current matrix to specified matrix)
slInitMatrix (Matrix variables and buffer initialization)
slInversMatrix (inverse matrix transformation of current matrix)
slLoadMatrix (Copy the specified matrix to the current matrix)
slLookAt (multiply gaze matrix on current matrix)
slMultiMatrix (multiply the current matrix by the specified matrix)
slPopMatrix (calling a temporarily saved matrix)
slPushMatrix (temporary allocation of matrix (matrix nesting up to 20))
slPushUnitMatrix (advance pointer and copy unit matrix to current matrix)
slRotAX (Rotation around an arbitrary axis through the origin)
slRotX (adds rotation around the X axis to the current matrix)
slRotXSC (Specify Sin and Cos to add rotation around the X axis)
slRotY (add rotation around the Y axis to the current matrix)
slRotYSC (specify Sin and Cos to add rotation around the Y axis)
slRotZ (Add rotation around the Z axis to the current matrix)
slRotZSC (Specify Sin and Cos to add rotation around the Z axis)
slScale (Current matrix scaling)
slTranslate (Transfer current matrix)
slTransposeMatrix (make the current matrix a transposed matrix)
slUnitMatrix (Make the specified matrix a unit matrix)

Operational function

slAng2Dec (Converts ANGLE angle value to BCD value)
slAng2FX (converts ANGLE type angular value to FIXED type numeric value )
slAng2Hex (converts ANGLE angle value to hexadecimal)
slAtan (returns the angle in the specified direction)
slCalcPoint (Substitute by multiplying the current matrix with the specified point)
slCos (returns cosine value for specified angle)
slDec2Hex (Conversion from BCD code to hexadecimal code)
slDivFX (Division (B / A))
slHex2Dec (convert hexadecimal code to BCD code)
slInnerProduct (Vector inner product)
slMulFX (Multiplication (A * B))
slRandom (Generate random numbers)
slSin (Returns the sine value for the specified angle)
slSquart (returns the square root of an unsigned integer value)
slSquartFX (returns unsigned fixed-point square root)
slTan (outputs the tangent value for the specified angle)

Event management function

slCloseEvent (delete event)
slExecuteEvent (event schedule management)
slGetEvent (Get area of ​​the same size as the event)
slGetWork (Get new WORK)
slInitEvent (Event management initialization)
slReturnEvent (releases the area acquired by the function “slGetEvent”)
slReturnWork (Returns the WORK area to the system)
slSetEvent (Event registration)
slSetEventNext (adds a new event after the specified event)

System management function

slCheckReset (Get SMPC reset button status)
slGetLanguage (Get SMPC memory language number)
slGetPeripheral (interrupt back (peripheral data only))
slGetSoundOutput (Get SMPC memory sound output mode)
slGetStatus (interrupt back (get SMPC status / peripheral data))
slInitPeripheral (System management / peripheral control initialization)
slIntBackCancel (Clear interrupt back setting flag)
slResetDisable (Reset Disable (No Wait Mode))
slResetDisableWait (reset disable (wait mode))
slResetEnable (Reset Enable (No Wait Mode))
slResetEnableWait (reset enable (wait mode))
slSetLanguage (Set SMPC memory language number)
slSetSmpcMemory (SMPC memory setting (no wait mode))
slSetSmpcMemoryWait (SMPC memory setting (wait mode))
slSetSoundOutput (Set SMPC memory sound output mode)
slSlaveOff (Slave SH2 OFF (no wait mode))
slSlaveOffWait (Slave SH2 OFF (wait mode))
slSlaveOn (Slave SH2 ON (no wait mode))
slSlaveOnWait (Slave SH2 ON (wait mode))

Peripheral control function

slGetOptimize (Get peripheral acquisition time optimization mode )
slGetPortMode1,2 (Gets the port mode of peripheral ports 1 and 2)
slSetOptimize (Sets the peripheral acquisition time optimization mode)
slSetPortMode1,2 (Sets the port mode for peripheral ports 1 and 2)

Sound function

slBGMCont (resumes playing BGM while paused)
slBGMFade (Change BGM playing volume)
slBGMOff (stop BGM performance)
slBGMOn (Start BGM performance)
slBGMPause (Pause BGM performance)
slBGMStat (Check during BGM playback)
slBGMTempo (Change BGM playing speed)
slCDDAOff (output stopped by CD-D / A)
slCDDAOn (Start output by CD-D / A)
slDSPOff (Stop playing DSP)
slInitSound (sound driver set and sound control CPU initialization)
slPCMOff (Performance stop by PCM sound source)
slPCMOn (Start playing with PCM sound source)
slPCMParmChange (PCM playback parameter change)
slPCMStat (Check during playback of specified PCM channel)
slSequenceCont (resume sound effect during pause)
slSeFade (Change the volume of the specified sound effect)
slSequenceOff (stops the specified sound effect)
slSequenceOn (Starting to generate the specified sound effect)
slSequencePan (change the direction of sound effect)
slSequencePause (pauses the specified sound effect)
slSuenceReset (Initialization of specified sound effect parameters)
slSequenceStat (Check while playing the specified sound effect)
slSequenceTempo (Change speed of specified sound effect)
slSndEffect (Sound effect switching by DSP)
slSndMapChange (current sound map change)
slSndMixChange (Switching the mixer corresponding to the tone bank)
slSndMixParmChange (mixer parameter change)
slSndPCMNum (returns an available PCM channel number)
slSndSeqNum (returns a free pronunciation management number)
slSndVolume (Whole volume set)
slSoundAllOff (Stop playing all sound sequences)
slSoundRequest (Set data to be passed directly to the sound driver)
slWaitSound (waiting for sound driver function execution)

Other functions

slCheckOnScreen (Checks if the specified coordinates are in the field of view)
slDMACopy (Block transfer using CPUDMA)
slDMAXCopy (Block transfer using CPUDMA)
slDMAWait (waits for DMA transfer to end)
slInitSynch (Always wait for V-BLANK and synchronize event processing to the screen)
slInitSystem (SGL system initialization)
slIntFunction (Register function to be executed during blanking)
slSynch (Synchronization with event processing unit time)
slTransferEntry (data transfer request during blanking)
slSetTrayCheck (CD tray open check)
slChashePurge
slDMAStatus (DMA transfer check)


Return to the top menu