forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Library function list
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
neofar



Joined: 21 Jan 2004
Posts: 47
Location: Spain

PostPosted: Tue Jun 14, 2005 6:08 pm    Post subject: Reply with quote

Code:
Module: #sceAtrac3plus# id=11
0xd1f59fdb - sceAtracStartEntry [Searching 0xd1f59fdb] >> Function added (id=455)
0xd5c28cc0 - sceAtracEndEntry [Searching 0xd5c28cc0] >> Function added (id=456)
0x780f88d1 - sceAtracGetAtracID [Searching 0x780f88d1] >> Function added (id=457)
0x61eb33f5 - sceAtracReleaseAtracID [Searching 0x61eb33f5] << Function exits!! (id=446)
0x08a9ceac - sceAtracSetData ERROR!! HASH don't match sceAtracSetData != 0x08a9ceac
0x3f6e26b5 - sceAtracSetHalfwayBuffer [Searching 0x3f6e26b5] >> Function added (id=458)
0x7a20e7af - sceAtracSetDataAndGetID [Searching 0x7a20e7af] << Function exits!! (id=445)
0x0eb8dc38 - sceAtracSetHalfwayBufferAndGetID ERROR!! HASH don't match sceAtracSetHalfwayBufferAndGetID != 0x0eb8dc38
0x6a8c3cd5 - sceAtracDecodeData [Searching 0x6a8c3cd5] << Function exits!! (id=105)
0x9ae849a7 - sceAtracGetRemainFrame [Searching 0x9ae849a7] << Function exits!! (id=438)
0x5d268707 - sceAtracGetStreamDataInfo [Searching 0x5d268707] << Function exits!! (id=99)
0x7db31251 - sceAtracAddStreamData [Searching 0x7db31251] << Function exits!! (id=104)
0x83e85ea0 - sceAtracGetSecondBufferInfo [Searching 0x83e85ea0] << Function exits!! (id=100)
0x83bf7afd - sceAtracSetSecondBuffer [Searching 0x83bf7afd] << Function exits!! (id=103)
0xe23e3a35 - sceAtracGetNextDecodePosition [Searching 0xe23e3a35] << Function exits!! (id=439)
0xa2bbe8be - sceAtracGetSoundSample ERROR!! HASH don't match sceAtracGetSoundSample != 0xa2bbe8be
0x31668baa - sceAtracGetChannel [Searching 0x31668baa] << Function exits!! (id=98)
0xd6a5f2f7 - sceAtracGetMaxSample [Searching 0xd6a5f2f7] >> Function added (id=459)
0x36faabfb - sceAtracGetNextSample [Searching 0x36faabfb] << Function exits!! (id=441)
0xa554a158 - sceAtracGetBitrate [Searching 0xa554a158] >> Function added (id=460)
0xfaa4f89b - sceAtracGetLoopStatus [Searching 0xfaa4f89b] >> Function added (id=461)
0x868120b5 - sceAtracSetLoopNum [Searching 0x868120b5] << Function exits!! (id=437)
0xca3ca3d2 - sceAtracGetBufferInfoForReseting [Searching 0xca3ca3d2] << Function exits!! (id=444)
0x644e5607 - sceAtracResetPlayPosition [Searching 0x644e5607] << Function exits!! (id=440)
0xe88f759b - sceAtracGetInternalErrorInfo [Searching 0xe88f759b] << Function exits!! (id=443)

Code:
Module: #sceDisplay# id=46
0x210EAB3A - sceDisplayGetAccumulatedHcount [Searching 0x210eab3a] >> Function added (id=462)
0x773DD3A3 - sceDisplayGetCurrentHcount [Searching 0x773dd3a3] >> Function added (id=463)
0xdba6c4c4 - sceDisplayGetFramePerSec [Searching 0xdba6c4c4] >> Function added (id=464)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
cvoila



Joined: 14 Jun 2005
Posts: 1
Location: France

PostPosted: Tue Jun 14, 2005 7:34 pm    Post subject: Reply with quote

sceSsl_lib module looks like... OpenSSL

Code:
0xb40d11ea SSLv3_client_method
0x54a7d8f3 SSL_clear
0xebfb0e3c SSL_new
0x84833472 SSL_free
0xb9c8cce6 SSL_set_bio
0xaa3b27cf SSL_get_verify_result
0xd49a570c SSL_get_default_timeout
0xe7c29542 SSL_read
0xb7ca8717 SSL_write
0x3e3133d6 SSL_shutdown
0xb4d78e98 SSL_CTX_ctrl
0xfb8273fe SSL_CTX_new
0x588f2fe8 SSL_CTX_free
0xaebf278b SSL_CTX_set_verify
0xb3b04c58 SSL_get_error
0x80608663 SSL_set_connect_state
0x88897d26 SSL_get_current_cipher
0x42df4592 SSL_CTX_set_quiet_shutdown
0xe14101e4 SSL_CTX_get_quiet_shutdown
0x4af959e3 SSL_set_quiet_shutdown
0x6a19e0aa SSL_get_quiet_shutdown
0x86d4034d SSL_set_shutdown
0xd1205c58 SSL_get_shutdown
0x57f2e960 SSL_version
0xe92302c5 SSL_get_SSL_CTX
0x104f749d SSL_state
0x5605c9fe SSL_set_verify_result
0xc97d0510 SSL_want
0xb81ad643 SSL_CTX_remove_session
0xbdad0841 SSL_SESSION_free
0x69f1b678 SSL_set_session
0x4214b7af SSL_CTX_set_timeout
0x795b9edf SSL_CTX_get_timeout
0x4e0f2ccc SSL_CTX_flush_sessions
0xa2ce8dcd SSL_CIPHER_get_name
0xc0abbb57 SSL_use_certificate
0x8390b321 SSL_use_PrivateKey
0x9d8a385e CRYPTO_thread_id
0xd84e2411 CRYPTO_lock
0xa2619268 CRYPTO_set_mem_functions
0xb0b90785 CRYPTO_get_mem_functions
0x064f5df3 CRYPTO_get_locked_mem_functions
0x6053b79c CRYPTO_malloc_locked
0xe5fc4992 CRYPTO_free_locked
0x0861d934 CRYPTO_malloc
0x5e5c873a CRYPTO_free
0x5ded429a BIO_new
0x3e040fd4 BIO_free
0x675ac5aa BIO_read
0xced07eae BIO_write
0xafd1d124 BIO_gets
0x9566709f BIO_ctrl
0x1ec64594 BIO_push
0x732f4e44 BIO_pop
0x959557f5 BIO_free_all
0x624cb314 BIO_copy_next_retry
0x28b4de33 BIO_new_socket
0x3454e622 BIO_printf
0x1c2728a5 RAND_set_rand_method
0x4ae72675 RAND_get_rand_method
0x56e19ceb RAND_cleanup
0xdea6edb2 RAND_seed
0x21f2a35c RAND_bytes
0x101d418a ERR_free_strings
0x9cdca0d7 ERR_put_error
0x04e677af ERR_clear_error
0xe78ad94d ERR_get_error
0x47f7b97f ERR_peek_error
0xd8c05497 ERR_remove_state
0x09c45275 EVP_PKEY_new
0x7317c1bc EVP_PKEY_free
0xa920b39e d2i_PrivateKey
0xbe5ff9f1 PEM_do_header
0x0217e73c PEM_ASN1_read_bio
Back to top
View user's profile Send private message
neofar



Joined: 21 Jan 2004
Posts: 47
Location: Spain

PostPosted: Tue Jun 14, 2005 7:56 pm    Post subject: Reply with quote

Code:
Module: #sceSsl_lib# id=24
0xb40d11ea - SSLv3_client_method [Searching 0xb40d11ea] >> Function added (id=465)
0x54a7d8f3 - SSL_clear [Searching 0x54a7d8f3] << Function exits!! (id=320)
0xebfb0e3c - SSL_new [Searching 0xebfb0e3c] << Function exits!! (id=328)
0x84833472 - SSL_free [Searching 0x84833472] << Function exits!! (id=321)
0xb9c8cce6 - SSL_set_bio [Searching 0xb9c8cce6] << Function exits!! (id=410)
0xaa3b27cf - SSL_get_verify_result [Searching 0xaa3b27cf] << Function exits!! (id=425)
0xd49a570c - SSL_get_default_timeout [Searching 0xd49a570c] << Function exits!! (id=432)
0xe7c29542 - SSL_read [Searching 0xe7c29542] << Function exits!! (id=322)
0xb7ca8717 - SSL_write [Searching 0xb7ca8717] << Function exits!! (id=326)
0x3e3133d6 - SSL_shutdown [Searching 0x3e3133d6] << Function exits!! (id=323)
0xb4d78e98 - SSL_CTX_ctrl [Searching 0xb4d78e98] << Function exits!! (id=403)
0xfb8273fe - SSL_CTX_new [Searching 0xfb8273fe] << Function exits!! (id=405)
0x588f2fe8 - SSL_CTX_free [Searching 0x588f2fe8] << Function exits!! (id=404)
0xaebf278b - SSL_CTX_set_verify [Searching 0xaebf278b] << Function exits!! (id=419)
0xb3b04c58 - SSL_get_error [Searching 0xb3b04c58] << Function exits!! (id=406)
0x80608663 - SSL_set_connect_state [Searching 0x80608663] << Function exits!! (id=435)
0x88897d26 - SSL_get_current_cipher [Searching 0x88897d26] << Function exits!! (id=431)
0x42df4592 - SSL_CTX_set_quiet_shutdown [Searching 0x42df4592] << Function exits!! (id=429)
0xe14101e4 - SSL_CTX_get_quiet_shutdown [Searching 0xe14101e4] << Function exits!! (id=428)
0x4af959e3 - SSL_set_quiet_shutdown [Searching 0x4af959e3] << Function exits!! (id=426)
0x6a19e0aa - SSL_get_quiet_shutdown [Searching 0x6a19e0aa] << Function exits!! (id=424)
0x86d4034d - SSL_set_shutdown [Searching 0x86d4034d] << Function exits!! (id=412)
0xd1205c58 - SSL_get_shutdown [Searching 0xd1205c58] << Function exits!! (id=409)
0x57f2e960 - SSL_version [Searching 0x57f2e960] << Function exits!! (id=325)
0xe92302c5 - SSL_get_SSL_CTX [Searching 0xe92302c5] >> Function added (id=466)
0x104f749d - SSL_state [Searching 0x104f749d] << Function exits!! (id=324)
0x5605c9fe - SSL_set_verify_result [Searching 0x5605c9fe] << Function exits!! (id=427)
0xc97d0510 - SSL_want [Searching 0xc97d0510] << Function exits!! (id=327)
0xb81ad643 - SSL_CTX_remove_session [Searching 0xb81ad643] << Function exits!! (id=430)
0xbdad0841 - SSL_SESSION_free [Searching 0xbdad0841] << Function exits!! (id=415)
0x69f1b678 - SSL_set_session [Searching 0x69f1b678] << Function exits!! (id=411)
0x4214b7af - SSL_CTX_set_timeout [Searching 0x4214b7af] << Function exits!! (id=418)
0x795b9edf - SSL_CTX_get_timeout [Searching 0x795b9edf] << Function exits!! (id=417)
0x4e0f2ccc - SSL_CTX_flush_sessions [Searching 0x4e0f2ccc] << Function exits!! (id=423)
0xa2ce8dcd - SSL_CIPHER_get_name [Searching 0xa2ce8dcd] << Function exits!! (id=420)
0xc0abbb57 - SSL_use_certificate [Searching 0xc0abbb57] << Function exits!! (id=413)
0x8390b321 - SSL_use_PrivateKey [Searching 0x8390b321] << Function exits!! (id=422)
0x9d8a385e - CRYPTO_thread_id [Searching 0x9d8a385e] >> Function added (id=467)
0xd84e2411 - CRYPTO_lock [Searching 0xd84e2411] >> Function added (id=468)
0xa2619268 - CRYPTO_set_mem_functions [Searching 0xa2619268] >> Function added (id=469)
0xb0b90785 - CRYPTO_get_mem_functions [Searching 0xb0b90785] >> Function added (id=470)
0x064f5df3 - CRYPTO_get_locked_mem_functions [Searching 0x064f5df3] >> Function added (id=471)
0x6053b79c - CRYPTO_malloc_locked [Searching 0x6053b79c] >> Function added (id=472)
0xe5fc4992 - CRYPTO_free_locked [Searching 0xe5fc4992] >> Function added (id=473)
0x0861d934 - CRYPTO_malloc [Searching 0x0861d934] >> Function added (id=474)
0x5e5c873a - CRYPTO_free [Searching 0x5e5c873a] >> Function added (id=475)
0x5ded429a - BIO_new [Searching 0x5ded429a] >> Function added (id=476)
0x3e040fd4 - BIO_free [Searching 0x3e040fd4] >> Function added (id=477)
0x675ac5aa - BIO_read [Searching 0x675ac5aa] >> Function added (id=478)
0xced07eae - BIO_write [Searching 0xced07eae] >> Function added (id=479)
0xafd1d124 - BIO_gets [Searching 0xafd1d124] >> Function added (id=480)
0x9566709f - BIO_ctrl [Searching 0x9566709f] >> Function added (id=481)
0x1ec64594 - BIO_push [Searching 0x1ec64594] >> Function added (id=482)
0x732f4e44 - BIO_pop [Searching 0x732f4e44] >> Function added (id=483)
0x959557f5 - BIO_free_all [Searching 0x959557f5] >> Function added (id=484)
0x624cb314 - BIO_copy_next_retry [Searching 0x624cb314] >> Function added (id=485)
0x28b4de33 - BIO_new_socket [Searching 0x28b4de33] >> Function added (id=486)
0x3454e622 - BIO_printf [Searching 0x3454e622] >> Function added (id=487)
0x1c2728a5 - RAND_set_rand_method [Searching 0x1c2728a5] >> Function added (id=488)
0x4ae72675 - RAND_get_rand_method [Searching 0x4ae72675] >> Function added (id=489)
0x56e19ceb - RAND_cleanup [Searching 0x56e19ceb] >> Function added (id=490)
0xdea6edb2 - RAND_seed [Searching 0xdea6edb2] >> Function added (id=491)
0x21f2a35c - RAND_bytes [Searching 0x21f2a35c] >> Function added (id=492)
0x101d418a - ERR_free_strings [Searching 0x101d418a] >> Function added (id=493)
0x9cdca0d7 - ERR_put_error [Searching 0x9cdca0d7] >> Function added (id=494)
0x04e677af - ERR_clear_error [Searching 0x04e677af] >> Function added (id=495)
0xe78ad94d - ERR_get_error [Searching 0xe78ad94d] >> Function added (id=496)
0x47f7b97f - ERR_peek_error [Searching 0x47f7b97f] >> Function added (id=497)
0xd8c05497 - ERR_remove_state [Searching 0xd8c05497] >> Function added (id=498)
0x09c45275 - EVP_PKEY_new [Searching 0x09c45275] >> Function added (id=499)
0x7317c1bc - EVP_PKEY_free [Searching 0x7317c1bc] >> Function added (id=500)
0xa920b39e - d2i_PrivateKey [Searching 0xa920b39e] >> Function added (id=501)
0xbe5ff9f1 - PEM_do_header [Searching 0xbe5ff9f1] >> Function added (id=502)
0x0217e73c - PEM_ASN1_read_bio [Searching 0x0217e73c] >> Function added (id=503)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Tue Jun 14, 2005 8:21 pm    Post subject: Reply with quote

neofar wrote:
Code:
Module: #sceSsl_lib# id=24
0xb40d11ea - SSLv3_client_method [Searching 0xb40d11ea] >> Function added (id=465)
0x54a7d8f3 - SSL_clear [Searching 0x54a7d8f3] << Function exits!! (id=320)
...
I guess you meant "exists" ? :)
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
neofar



Joined: 21 Jan 2004
Posts: 47
Location: Spain

PostPosted: Tue Jun 14, 2005 8:55 pm    Post subject: Reply with quote

pixel wrote:
neofar wrote:
Code:
Module: #sceSsl_lib# id=24
0xb40d11ea - SSLv3_client_method [Searching 0xb40d11ea] >> Function added (id=465)
0x54a7d8f3 - SSL_clear [Searching 0x54a7d8f3] << Function exits!! (id=320)
...
I guess you meant "exists" ? :)


jeje .... ;P .... yes 'exists'
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Vampire



Joined: 12 Apr 2005
Posts: 138

PostPosted: Tue Jun 14, 2005 10:10 pm    Post subject: Reply with quote

sceSircs @ sceSIRCS_IrDA_Driver

0x71eef62d sceSircsSend


sceSircs_driver @ sceSIRCS_IrDA_Driver
0x62411801 sceSircsInit
0x19155a2f sceSircsEnd
0x71eef62d sceSircsSend


btw: SIRCS = Sony Integrated Remote Control System
now i only need a photodiode and a scope to do some research ;-)
Back to top
View user's profile Send private message
rasmus



Joined: 21 Jul 2004
Posts: 17
Location: Göteborg, Sweden

PostPosted: Thu Jun 16, 2005 12:48 am    Post subject: Reply with quote

ThreadManForKernel:
0x278c0df5 sceKernelWaitThreadEnd

sceSuspendForKernel:
0x98A1D061 sceKernelPowerRebootStart

Edit 1, added some more:

memlmd:
0x8BDB1A3E sceUtilsGetLoadModuleABLength

ModuleMgrForKernel:
0xA6E8C1F5 sceKernelRebootPhaseForKernel

UtilsForKernel:
0x78934841 sceKernelGzipDecompress

SysclibForKernel:
0xAB7592FF memcpy
0x68A78817 memchr
0xA48D2592 memmove
0x7F8A6F23 bcmp
0x097049BD bcopy
0x86FEFCE9 bzero
0x243665ED rindex
0xEC6F1CF2 strcpy
0xC0AB8932 strcmp
0x476FD94A strcat
0xB1DC2AE8 strchr
0x89B79CB1 strcspn
0x52DF196C strlen
0xB49A7697 strncpy
0x7AB35214 strncmp
0x90C5573D strnlen
0x0DFB7B6C strpbrk
0x4C0E0274 strrchr
0x62AE052F strspn
0x0D188658 strstr
0x87F8D2DA strtok

Edit 2, added this:

LoadCoreForKernel
0x929B5C69 sceKernelGetModuleListWithAlloc
0x8D8A8ACE sceKernelAssignModule
0x05D915DB sceKernelGetModuleIdListForKernel
0x52A86C21 sceKernelGetModuleFromUID


Last edited by rasmus on Tue Jun 21, 2005 4:59 am; edited 6 times in total
Back to top
View user's profile Send private message
PspPet



Joined: 30 Mar 2005
Posts: 210

PostPosted: Thu Jun 16, 2005 12:53 am    Post subject: Reply with quote

All of the USB interface (not UsbBus_driver)
(some already in database, will look into more automatic updating since there are 100s more to go...)
Code:

;; ForUser
; sceUsb
0xae5de6af sceUsbStart
0xc2464fa0 sceUsbStop
0xc21645a4 sceUsbGetState
0x4e537366 sceUsbGetDrvList
0x112cc951 sceUsbGetDrvState
0x586db82c sceUsbActivate
0xc572a9c8 sceUsbDeactivate
0x5be0e002 sceUsbWaitState
0x1c360735 sceUsbWaitCancel

;; System level (not ForUser) - same order
; sceUsb_driver
0xae5de6af sceUsbStart
0xc2464fa0 sceUsbStop
0xc21645a4 sceUsbGetState
0x4e537366 sceUsbGetDrvList
0x112cc951 sceUsbGetDrvState
0x586db82c sceUsbActivate
0xc572a9c8 sceUsbDeactivate
0x5be0e002 sceUsbWaitState
0x1c360735 sceUsbWaitCancel
Back to top
View user's profile Send private message Send e-mail Visit poster's website
alonetrio



Joined: 15 May 2005
Posts: 34

PostPosted: Thu Jun 16, 2005 9:31 am    Post subject: Reply with quote

here some new function but i have only the name so think it's useless for the moment. sorry ;)


Code:
------------------------ GUM
sceGuSetMatrix
sceGumSetMatrixStack
sceGumLoadIdentity
sceGumSetCurMatrix
sceGumUpdateMatrix
sceGumLoadContext
sceGumStoreContext
sceGumRotateX
sceGumRotateY
sceGumRotateZ
sceGumRotateXYZ
sceGumRotateZYX
sceGumTranslate
sceGumScale
sceGumMultMatrix
sceGumPerspective
sceGumOrtho
sceGumLookAt
sceGumMatrixMode
sceGumPushMatrix
sceGumPopMatrix
sceGumLoadMatrix
sceGumStoreMatrix
sceGumDrawArray
sceGuDrawArray
sceGumDrawArrayN
sceGuDrawArrayN
sceGumDrawBezier
sceGuDrawBezier
sceGumDrawSpline
sceGuDrawSpline


--------------------- GU
sceGuSendCommandf
sceGuSendCommandi
sceGuGetMemory
sceGuInit
sceGuTerm
sceGuStart
sceGuSetDither
sceGuPatchDivide
sceGuColorMaterial
sceGuSpecular
sceGuTexScale
sceGuFinish
sceGuFinishId
sceGuCallMode
sceGuSignal
sceGuBreak
sceGuContinue
sceGuCallList
sceGuSendList
sceGuCheckList
sceGuSync
sceGuSignalSync
sceGuEnable
sceGuDisable
sceGuGetStatus
sceGuGetAllStatus
sceGuSetStatus
sceGuSetAllStatus
sceGuSetMatrix
sceGuDrawArray
sceGuDrawArrayN
sceGuDrawBezier
sceGuDrawSpline
sceGuBeginObject
sceGuEndObject
sceGuDrawSprite
sceGuSpriteMode
sceGuCopyImage
sceGuClearColor
sceGuClearStencil
sceGuClearDepth
sceGuClear
sceGuDrawBuffer
sceGuDrawBufferList
sceGuDepthBuffer
sceGuDispBuffer
sceGuDisplay
sceGuSwapBuffers
sceGuViewport
sceGuDepthRange
sceGuDepthOffset
sceGuOffset
sceGuPatchPrim
sceGuAmbient
sceGuColor
sceGuMaterial
sceGuAmbientColor
sceGuModelColor
sceGuFrontFace
sceGuPatchFrontFace
sceGuShadeModel
sceGuLight
sceGuLightMode
sceGuLightAtt
sceGuLightSpot
sceGuLightColor
sceGuTexMode
sceGuTexFlush
sceGuTexFilter
sceGuTexFunc
sceGuTexEnvColor
sceGuTexWrap
sceGuTexLevelMode
sceGuTexMapMode
sceGuTexProjMapMode
sceGuTexSync
sceGuTexImage
sceGuTexOffset
sceGuTexSlope
sceGuClutMode
sceGuClutLoad
sceGuFog
sceGuColorFunc
sceGuAlphaFunc
sceGuDepthFunc
sceGuDepthMask
sceGuPixelMask
sceGuScissor
sceGuStencilFunc
sceGuLogicalOp
sceGuStencilOp
sceGuBlendFunc
sceGuBoneMatrix
sceGuMorphWeight
sceGuDebugPrint
sceGuDebugFlush
sceGuSetCallback


Alonetrio
Back to top
View user's profile Send private message Visit poster's website
loser



Joined: 07 Feb 2005
Posts: 25

PostPosted: Thu Jun 16, 2005 2:50 pm    Post subject: Reply with quote

http://www.internalreality.com/nid.html

javascript based Nid calculator in case you're really keen
Back to top
View user's profile Send private message Visit poster's website
neofar



Joined: 21 Jan 2004
Posts: 47
Location: Spain

PostPosted: Thu Jun 16, 2005 5:24 pm    Post subject: Reply with quote

Code:
Module: #sceGUM#
0x6caa7395 - sceGuSetMatrix
0xe131286e - sceGumSetMatrixStack
0xeb46c9c0 - sceGumLoadIdentity
0xc90eb8b2 - sceGumSetCurMatrix
0x912495cc - sceGumUpdateMatrix
0xe4ed089e - sceGumLoadContext
0xa7244948 - sceGumStoreContext
0x82c8f916 - sceGumRotateX
0x14b7f3f4 - sceGumRotateY
0x2c5d3e63 - sceGumRotateZ
0x26f87634 - sceGumRotateXYZ
0x69a86f73 - sceGumRotateZYX
0x96610ae6 - sceGumTranslate
0x38316a7d - sceGumScale
0xd3f752a4 - sceGumMultMatrix
0x8f68eef4 - sceGumPerspective
0xd62b6be4 - sceGumOrtho
0x5303852a - sceGumLookAt
0x9fd01858 - sceGumMatrixMode
0xcba9aab1 - sceGumPushMatrix
0x28c54317 - sceGumPopMatrix
0xfc39c411 - sceGumLoadMatrix
0xdd08d6bc - sceGumStoreMatrix
0xea4c24b3 - sceGumDrawArray
0x5071e27a - sceGuDrawArray
0x9dc7e834 - sceGumDrawArrayN
0x5bc74146 - sceGuDrawArrayN
0x76898734 - sceGumDrawBezier
0x9c6dc914 - sceGuDrawBezier
0xb5874f5a - sceGumDrawSpline
0x0510d59d - sceGuDrawSpline


Code:
Module: #sceGU#
0x445b4057 - sceGuSendCommandf
0xc467eb3e - sceGuSendCommandi
0xcccc2edc - sceGuGetMemory
0x3624ae78 - sceGuInit
0x74149c02 - sceGuTerm
0x5f01916f - sceGuStart
0x58f73755 - sceGuSetDither
0x9f92f1f7 - sceGuPatchDivide
0x41810056 - sceGuColorMaterial
0xffef73eb - sceGuSpecular
0x7debf6fa - sceGuTexScale
0xba8cf6b9 - sceGuFinish
0x748a3e9a - sceGuFinishId
0xba640d21 - sceGuCallMode
0x96cdbba5 - sceGuSignal
0x965ca48b - sceGuBreak
0xc346b5c5 - sceGuContinue
0xa109d5df - sceGuCallList
0xff4aa179 - sceGuSendList
0x14b38e31 - sceGuCheckList
0xe8d57dc6 - sceGuSync
0x0f32aa45 - sceGuSignalSync
0x7e0eadde - sceGuEnable
0x4b4f39fc - sceGuDisable
0xe23d564b - sceGuGetStatus
0x7a69a18e - sceGuGetAllStatus
0x117a6250 - sceGuSetStatus
0x9e6d4ff2 - sceGuSetAllStatus
0x6caa7395 - sceGuSetMatrix
0x5071e27a - sceGuDrawArray
0x5bc74146 - sceGuDrawArrayN
0x9c6dc914 - sceGuDrawBezier
0x0510d59d - sceGuDrawSpline
0xb2ec763d - sceGuBeginObject
0xf80c91bb - sceGuEndObject
0xf3870132 - sceGuDrawSprite
0x369f1278 - sceGuSpriteMode
0x05750a7c - sceGuCopyImage
0xd9f56690 - sceGuClearColor
0x8f2316e1 - sceGuClearStencil
0xa0547747 - sceGuClearDepth
0x388d8736 - sceGuClear
0xcb7dc84f - sceGuDrawBuffer
0xfbf63762 - sceGuDrawBufferList
0xe4a45c4a - sceGuDepthBuffer
0xa79e81d7 - sceGuDispBuffer
0x9b14983b - sceGuDisplay
0x1290e81a - sceGuSwapBuffers
0xe4e2ad90 - sceGuViewport
0xf0e6ee76 - sceGuDepthRange
0x3e91b57c - sceGuDepthOffset
0x178a6887 - sceGuOffset
0x71096c1d - sceGuPatchPrim
0xe350525e - sceGuAmbient
0x0f2615a4 - sceGuColor
0x9094a8c2 - sceGuMaterial
0xbc927494 - sceGuAmbientColor
0x53a44c1f - sceGuModelColor
0x68522d68 - sceGuFrontFace
0xeb5dd392 - sceGuPatchFrontFace
0x5c5f727c - sceGuShadeModel
0x8d9b9a1a - sceGuLight
0x5ba364bb - sceGuLightMode
0x6768dc54 - sceGuLightAtt
0xecf09c07 - sceGuLightSpot
0x43e715b7 - sceGuLightColor
0x3a4d566b - sceGuTexMode
0x8641512c - sceGuTexFlush
0x3ba5c5cc - sceGuTexFilter
0x16ab1034 - sceGuTexFunc
0xbdea3115 - sceGuTexEnvColor
0x8053c305 - sceGuTexWrap
0x9a2224d3 - sceGuTexLevelMode
0xd4042f7c - sceGuTexMapMode
0xbe7b518f - sceGuTexProjMapMode
0x806b7b05 - sceGuTexSync
0x7e5aed26 - sceGuTexImage
0xb07562ab - sceGuTexOffset
0xe4ebcee2 - sceGuTexSlope
0x050a7eb0 - sceGuClutMode
0x29631777 - sceGuClutLoad
0xb47bc55f - sceGuFog
0x4eedc120 - sceGuColorFunc
0xf99f7ffb - sceGuAlphaFunc
0xa24af273 - sceGuDepthFunc
0xe587a0ab - sceGuDepthMask
0x59441f22 - sceGuPixelMask
0xb8730cb7 - sceGuScissor
0xb3483885 - sceGuStencilFunc
0xb0b70670 - sceGuLogicalOp
0xf668966a - sceGuStencilOp
0xc14ca370 - sceGuBlendFunc
0x00cd91e3 - sceGuBoneMatrix
0x6fa368ce - sceGuMorphWeight
0x420e7db5 - sceGuDebugPrint
0x85144720 - sceGuDebugFlush
0xfbcd6a8f - sceGuSetCallback

Quote:
take a look > http://pspdev.ofcode.com/api.post.php

if you want to add info, please contact with me or djhuevo to get access
thanks
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
djhuevo



Joined: 10 Mar 2005
Posts: 47

PostPosted: Fri Jun 17, 2005 12:58 am    Post subject: Reply with quote

sceGu is a static lib, not a PRX module.
_________________
sobreviviendo en la tierra de los trolldev
Back to top
View user's profile Send private message
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Sun Jun 19, 2005 10:11 am    Post subject: Reply with quote

LoadCoreForKernel

0x8d8a8ace - sceKernelAssignModule
0xaff947d4 - sceKernelCreateAssignModule
0x929b5c69 - sceKernelGetModuleListWithAlloc
0x05d915db - sceKernelGetModuleIdListForKernel
0x0e760dba - sceKernelLinkLibraryEntries
0x0de1f600 - sceKernelLinkLibraryEntriesForUser
0xda1b09aa - sceKernelUnLinkLibraryEntries
0xcf8a41b1 - sceKernelFindModuleByName
0xfb8ae27d - sceKernelFindModuleByAddress

SysMemForKernel

0x4887802f - sceKernelMemset32

ModuleMgrForKernel

0xd8b73127 - sceKernelGetModuleIdByAddress
0xf0a26395 - sceKernelGetModuleId
0xa6e8c1f5 - sceKernelRebootPhaseForKernel

These are from 1.5, they may not exist in 1.0.
Back to top
View user's profile Send private message
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Sun Jun 19, 2005 9:36 pm    Post subject: Reply with quote

Vampire wrote:

now i only need a photodiode and a scope to do some research ;-)

I have a scope and IR photodiode, and tested with my tv remote control it works fine:



But I can't call sceSircsInit. If the program is not in kernel mode, the PSP freeze on startup, even before calling the function (perhaps when trying to map the sceSircs_driver function calls to the right syscalls) and in kernel mode it crash on calling sceSircsInit. Do you have an example, how to use this functions?
Back to top
View user's profile Send private message
Vampire



Joined: 12 Apr 2005
Posts: 138

PostPosted: Mon Jun 20, 2005 1:05 am    Post subject: Reply with quote

Shine wrote:
I have a scope and IR photodiode, and tested with my tv remote control it works fine

exactly what i was looking for...
Back to top
View user's profile Send private message
crazyc



Joined: 17 Jun 2005
Posts: 410

PostPosted: Wed Jun 22, 2005 11:16 am    Post subject: Reply with quote

StdioForKernel:
0x2ccf071a fdprintf
0x98220f3e sceKernelStdoutReopen
0xfb5380c5 sceKernelStderrReopen
Back to top
View user's profile Send private message
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Wed Jun 29, 2005 9:48 am    Post subject: Reply with quote

I've disassembled parts of the kernel and looks like the sceSircsSend function has this parameters (thanks to Vampire for the tip NOT to use sceSircs_driver :-)

Code:

STUB_START "sceSircs",0x40010000,0x00010005
  STUB_FUNC 0x71eef62d,sceSircsSend
STUB_END

int sceSircsSend(unsigned char* data, int count);


Return values are error codes (looks like the data address must start on 4 aligned addresses) or 0, if successful. First byte of the data array specifies the bit count (SIRCS has 12, 15 or 20 bits, see here for a detailed description of the protocol, with examples for remote control commands). The next bytes are the data, but looks like only the first 7 bits are used for every char (so might be signed char). With "count" you specify how many times the data is repeated, with 45 ms delay between each packet start.

You can use it like this:

Code:

unsigned char data[4];
data[0] = 12;
int test = 1234;
data[1] = test & 0x7f;
data[2] = (test >> 7) & 0x1f;
while (1) {
   sceSircsSend(data, 1);
   sceDisplayWaitVblankStart();
}


This sends the 12 bit data 1234, which is 010011010010 in binary. SIRCS sends LSB first, so the bits are sent like this: 010010110010.

The scope shows it:



The signal is modulated with 40 kHz, which can be used for a bandpass filter in a receiver:

Back to top
View user's profile Send private message
rinco



Joined: 21 Jan 2005
Posts: 255
Location: Canberra, Australia

PostPosted: Mon Jul 04, 2005 2:07 am    Post subject: Reply with quote

After reading how to interpret Sirc from Lirc (http://sourceforge.net/mailarchive/message.php?msg_id=8833252) I decided to have a go at controlling the PS2.

I've put together the following, and tried all sorts of permutations... but I can't seem to control the Ps2.

Code:

struct sirc_data {
        u8 type;
        u8 cmd;
        u16 dev;
} __packed__;

void send_code(int type, int dev, int cmd)
{
        struct sirc_data sd;
        int ret;

        sd.type = type; // 12, 15 or 20
        sd.cmd = cmd;
        sd.dev = dev;

        ret = sceSircsSend(&sd, 2);
        if (ret < 0)
        {
                printf ("sceSircsSend returned %d\n", ret);
        }
}

// eg, from scph-10150
//      LEFT                     0x00000000000DEB92
// in binary
//      1101 111   0 1011 1001 0010
// reversed
//      111 1011   0 1001 0011 1010
// gives us
//      0x7b       0x93a
//

        do {
                send_code(20, 0x93a, 0x7b);
                sceDisplayWaitVblankStart();
        } while (1);


Any ideas?

edit: works great now... sample in sdk... thanks heaps Shine
Back to top
View user's profile Send private message
ninjadave



Joined: 04 Jul 2005
Posts: 8
Location: London

PostPosted: Tue Jul 05, 2005 8:24 pm    Post subject: Reply with quote

Are the firmware libraries for 1.50 the same as 1.0? Or have they been tweaked & recompiled - hence moving some of the entry points?
Back to top
View user's profile Send private message
Vampire



Joined: 12 Apr 2005
Posts: 138

PostPosted: Tue Jul 05, 2005 11:32 pm    Post subject: Reply with quote

ninjadave wrote:
Are the firmware libraries for 1.50 the same as 1.0? Or have they been tweaked & recompiled - hence moving some of the entry points?

They have added some new functions and also removed some...
... and most, if not all, of the entry points have changed.
http://forums.ps2dev.org/viewtopic.php?t=2142
Back to top
View user's profile Send private message
SANiK



Joined: 05 Jul 2005
Posts: 29

PostPosted: Fri Jul 08, 2005 6:59 am    Post subject: Reply with quote

Vampire wrote:
ninjadave wrote:
Are the firmware libraries for 1.50 the same as 1.0? Or have they been tweaked & recompiled - hence moving some of the entry points?

They have added some new functions and also removed some...
... and most, if not all, of the entry points have changed.
http://forums.ps2dev.org/viewtopic.php?t=2142


So, will the entry points have to be constantly updated everytime there's a new firmware release?
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Fri Jul 08, 2005 7:49 am    Post subject: Reply with quote

By entrypoints he was referring to the the function's direct address in memory. We've already overcome the requirement of using a direct function address, so this is no longer a problem.
Back to top
View user's profile Send private message
white rabbit



Joined: 06 Jul 2005
Posts: 60

PostPosted: Sun Jul 10, 2005 4:05 am    Post subject: Reply with quote

mrbrown wrote:
By entrypoints he was referring to the the function's direct address in memory. We've already overcome the requirement of using a direct function address, so this is no longer a problem.


Please excuse myignorance, but how? I have searched these forums, but there are too many hits, and I'm not 100% sure of what keywords to look for, or is this burried in the SDK?

I assumed there must be a way around this, otherwise a production UMD would need multiple versions for each firmware released.
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sun Jul 10, 2005 4:17 am    Post subject: Reply with quote

Start with this post. If you declare your program to be a kernel module (the 0x1000 flag to PSP_MODULE_INFO()), then your kernel library stubs are automatically resolved for you when your program loads.
Back to top
View user's profile Send private message
ninjadave



Joined: 04 Jul 2005
Posts: 8
Location: London

PostPosted: Thu Jul 14, 2005 12:44 am    Post subject: Reply with quote

djhuevo wrote:
sceGu is a static lib, not a PRX module.


Where does the lib live? I can't see it in the flash dump... I was assuming it is part of the firmware, but not so sure now. I'm at work right now, so I can't look at the PSPSDK source chp has put togther to use it to find how that interfaces to it.
Back to top
View user's profile Send private message
ector



Joined: 12 May 2005
Posts: 195

PostPosted: Thu Jul 14, 2005 2:18 am    Post subject: Reply with quote

ninjadave wrote:
djhuevo wrote:
sceGu is a static lib, not a PRX module.


Where does the lib live?


Uhm, he said it was STATIC. Linked into each executable.
sceGu is just a wrapper API that generates display lists. sceGe is what you use to send these display lists to the gfx card.
Incidentally, chip-nat har cloned large parts of sceGu and an implementation is available in the free SDK.
Back to top
View user's profile Send private message
Arwin



Joined: 12 Jul 2005
Posts: 426

PostPosted: Fri Jul 15, 2005 1:15 am    Post subject: Reply with quote

Shouldn't the first post in this thread also have a link to http://svn.pspdev.org ?
Back to top
View user's profile Send private message
ninjadave



Joined: 04 Jul 2005
Posts: 8
Location: London

PostPosted: Fri Jul 15, 2005 7:32 pm    Post subject: Reply with quote

ector wrote:
ninjadave wrote:
djhuevo wrote:
sceGu is a static lib, not a PRX module.


Where does the lib live?


Uhm, he said it was STATIC. Linked into each executable.
sceGu is just a wrapper API that generates display lists. sceGe is what you use to send these display lists to the gfx card.
Incidentally, chip-nat har cloned large parts of sceGu and an implementation is available in the free SDK.


Urrrrr... Yes, but linked from where?
I am assuming from the bit you said about the free SDK that this is something that isn't on the firmware, but gets packaged up on UMDs, or in homebrew cases, the PSPSDK code is compiled into a staic lib as we can't make prx files yet, and linked into the code that way
...
i.e. there is no GU library on the firmware.
Back to top
View user's profile Send private message
ector



Joined: 12 May 2005
Posts: 195

PostPosted: Sat Jul 16, 2005 2:33 am    Post subject: Reply with quote

You got it right, sir.
Back to top
View user's profile Send private message
>NIL:



Joined: 14 May 2005
Posts: 26
Location: .ie

PostPosted: Sat Jul 16, 2005 11:42 am    Post subject: Reply with quote

Uart4ForKernel:
0x2fd96f62 - sceKernelUart4ReceiveBytesFix

I also found this new unidentified NID in sceHprm_driver (1.50) :
0x71b5fb67 - (Unknown). From the disassembly, this is most likely another "sceHprmIs(Something)Exist"
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group