PS2DEV network    

  > HOME
  > ABOUT

  > FORUMS
  > VIEW SVN
  > MAILING LIST
  > WIKI
  > QUOTES
  > DOCS

 PS2
  > TUTORIALS
  > LOADERS
  > TOOLS
  > SAMPLE CODE
  > DEMOS
  > PROJECTS

 PSP
  > TUTORIALS
  > TOOLS
  > DEMOS
  > PROJECTS

 PS3
  > LINKS
  > TUTORIALS
  > TOOLS
  > DEMOS
  > PROJECTS

   RSS


 USER ID (register)
 
 PASSWORD
 



 
  System Call Reference(EE )
This area is for building a documentation reference on each EE system call.

SetGsCrt
Need description of SetGsCrt here. Would be great if someone could provide a C wrapper for it too.

Code taken from duke's printf example in file gslib.asm

andi a0,s1,1
andi a1,s2,FFh
andi a2,s3,1
lui v1,0
addi v1,v1,2
syscall 0
jr ra
nop


FlushCache
Need description of FlushCache here. Would be great if someone could provide a C wrapper for it too.

Code taken from duke's printf example in file printf.asm

lui a0,0
lui v1,0
ori v1,v1,64h
syscall 0


GsPutIMR
Need description of SetGsCrt here. Would be great if someone could provide a C wrapper for it too.

Code taken from duke's printf example in file gslib.asm

ALIGN 8
Init_GS: addu s1,a1,0
addu s2,a2,0
addu s3,a3,0
lui v1,1200h
daddu v0,zero,zero
ori v0,v0,200h
sd v0,1000h(v1)
lui a0,0
ori a0,a0,FF00h
ld v0,1000h(v1)
dsrl v0,v0,16
andi v0,v0,FFh
lui v1,0
addi v1,v1,71h
syscall 0
nop


System Calls
The following system call list was taken from www.kvaks.com

+0000 - RFU000_FullReset
+0001 - ResetEE
+0002 - SetGsCrt
+0003 - RFU003
+0004 - Exit
+0005 - RFU005
+0006 - LoadPS2Exe
+0007 - ExecPS2
+0008 - RFU008
+0009 - RFU009
+0010 - AddSbusIntcHandler
+0011 - RemoveSbusIntcHandler
+0012 - Interrupt2Iop
+0013 - SetVTLBRefillHandler
+0014 - SetVCommonHandler
+0015 - SetVInterruptHandler
+0016 - AddIntcHandler
+0017 - RemoveIntcHandler
+0018 - AddDmacHandler
+0019 - RemoveDmacHandler
+0020 - _EnableIntc
+0021 - _DisableIntc
+0022 - _EnableDmac
+0023 - _DisableDmac
+0024 - _SetAlarm
+0025 - _ReleaseAlarm
-0026 - _iEnableIntc
-0027 - _iDisableIntc
-0028 - _iEnableDmac
-0029 - _iDisableDmac
-0030 - _iSetAlarm
-0031 - _iReleaseAlarm
+0032 - CreateThread
+0033 - DeleteThread
+0034 - StartThread
+0035 - ExitThread
+0036 - ExitDeleteThread
+0037 - TerminateThread
-0038 - iTerminateThread
+0039 - DisableDispatchThread
+0040 - EnableDispatchThread
+0041 - ChangeThreadPriority
-0042 - iChangeThreadPriority
+0043 - RotateThreadReadyQueue
-0044 - iRotateThreadReadyQueue
+0045 - ReleaseWaitThread
-0046 - iReleaseWaitThread
+0047 - GetThreadId
+0048 - ReferThreadStatus
-0049 - iReferThreadStatus
+0050 - SleepThread
+0051 - WakeupThread
-0052 - iWakeupThread
+0053 - CancelWakeupThread
-0054 - iCancelWakeupThread
+0055 - SuspendThread
-0056 - iSuspendThread
+0057 - ResumeThread
-0058 - iResumeThread
+0059 - JoinThread
+0060 - RFU060
+0061 - RFU061
+0062 - EndOfHeap
+0063 - RFU063
+0064 - CreateSema
+0065 - DeleteSema
+0066 - SignalSema
-0067 - iSignalSema
+0068 - WaitSema
+0069 - PollSema
-0070 - iPollSema
+0071 - ReferSemaStatus
-0072 - iReferSemaStatus
+0073 - RFU073
+0074 - SetOsdConfigParam
+0075 - GetOsdConfigParam
+0076 - GetGsHParam
+0077 - GetGsVParam
+0078 - SetGsHParam
+0079 - SetGsVParam
+0080 - RFU080_CreateEventFlag
+0081 - RFU081_DeleteEventFlag
+0082 - RFU082_SetEventFlag
+0083 - RFU083_iSetEventFlag
+0084 - RFU084_ClearEventFlag
+0085 - RFU085_iClearEventFlag
+0086 - RFU086_WaitEvnetFlag
+0087 - RFU087_PollEvnetFlag
+0088 - RFU088_iPollEvnetFlag
+0089 - RFU089_ReferEventFlagStatus
-0090 - RFU090_iReferEventFlagStatus
+0091 - RFU091
+0092 - EnableIntcHandler
-0092 - iEnableIntcHandler
+0093 - DisableIntcHandler
-0093 - iDisableIntcHandler
+0094 - EnableDmacHandler
-0094 - iEnableDmacHandler
+0095 - DisableDmacHandler
-0095 - iDisableDmacHandler
+0096 - KSeg0
+0097 - EnableCache
+0098 - DisableCache
+0099 - GetCop0
+0100 - FlushCache
+0102 - CpuConfig
-0103 - iGetCop0
-0104 - iFlushCache
-0106 - iCpuConfig
+0107 - sceSifStopDma
+0108 - SetCPUTimerHandler
+0109 - SetCPUTimer
+0110 - ForceRead
+0111 - ForceWrite
+0112 - GsGetIMR
-0112 - iGsGetIMR
+0113 - GsPutIMR
-0113 - iGsPutIMR
+0114 - SetPgifHandler
+0115 - SetVSyncFlag
+0116 - RFU116
+0117 - print
+0118 - sceSifDmaStat
-0118 - isceSifDmaStat
+0119 - sceSifSetDma
-0119 - isceSifSetDma
+0120 - sceSifSetDChain
-0120 - isceSifSetDChain
+0121 - sceSifSetReg
+0122 - sceSifGetReg
+0123 - ExecOSD
+0124 - Deci2Call
+0125 - PSMode
+0126 - MachineType
+0127 - GetMemorySize

IOP syscalls
Here are the syscalls from IOP side.

Download -> syscallsIOP.txt



  > Locked
  > Edit Topic
  > Add Topic
  > Add Link
  > Add File
  > Move Topic
  > Delete Topic
  > Order Topics
  > Versions

Owned by oobles
last updated by lion on Sun May 18 05:35:19 GMT 2003
 
Site Content Copyright 2001-2007 © Authors. Read Legal Statement for Information
LiveKnowledge Software by Live Media