Library function list

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

User avatar
neofar
Posts: 47
Joined: Wed Jan 21, 2004 2:40 am
Location: Spain
Contact:

Post by neofar »

Code: Select all

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 &#91;Searching 0x61eb33f5&#93; << Function exits!! &#40;id=446&#41;
0x08a9ceac - sceAtracSetData ERROR!! HASH don't match sceAtracSetData != 0x08a9ceac
0x3f6e26b5 - sceAtracSetHalfwayBuffer &#91;Searching 0x3f6e26b5&#93; >> Function added &#40;id=458&#41;
0x7a20e7af - sceAtracSetDataAndGetID &#91;Searching 0x7a20e7af&#93; << Function exits!! &#40;id=445&#41;
0x0eb8dc38 - sceAtracSetHalfwayBufferAndGetID ERROR!! HASH don't match sceAtracSetHalfwayBufferAndGetID != 0x0eb8dc38
0x6a8c3cd5 - sceAtracDecodeData &#91;Searching 0x6a8c3cd5&#93; << Function exits!! &#40;id=105&#41;
0x9ae849a7 - sceAtracGetRemainFrame &#91;Searching 0x9ae849a7&#93; << Function exits!! &#40;id=438&#41;
0x5d268707 - sceAtracGetStreamDataInfo &#91;Searching 0x5d268707&#93; << Function exits!! &#40;id=99&#41;
0x7db31251 - sceAtracAddStreamData &#91;Searching 0x7db31251&#93; << Function exits!! &#40;id=104&#41;
0x83e85ea0 - sceAtracGetSecondBufferInfo &#91;Searching 0x83e85ea0&#93; << Function exits!! &#40;id=100&#41;
0x83bf7afd - sceAtracSetSecondBuffer &#91;Searching 0x83bf7afd&#93; << Function exits!! &#40;id=103&#41;
0xe23e3a35 - sceAtracGetNextDecodePosition &#91;Searching 0xe23e3a35&#93; << Function exits!! &#40;id=439&#41;
0xa2bbe8be - sceAtracGetSoundSample ERROR!! HASH don't match sceAtracGetSoundSample != 0xa2bbe8be
0x31668baa - sceAtracGetChannel &#91;Searching 0x31668baa&#93; << Function exits!! &#40;id=98&#41;
0xd6a5f2f7 - sceAtracGetMaxSample &#91;Searching 0xd6a5f2f7&#93; >> Function added &#40;id=459&#41;
0x36faabfb - sceAtracGetNextSample &#91;Searching 0x36faabfb&#93; << Function exits!! &#40;id=441&#41;
0xa554a158 - sceAtracGetBitrate &#91;Searching 0xa554a158&#93; >> Function added &#40;id=460&#41;
0xfaa4f89b - sceAtracGetLoopStatus &#91;Searching 0xfaa4f89b&#93; >> Function added &#40;id=461&#41;
0x868120b5 - sceAtracSetLoopNum &#91;Searching 0x868120b5&#93; << Function exits!! &#40;id=437&#41;
0xca3ca3d2 - sceAtracGetBufferInfoForReseting &#91;Searching 0xca3ca3d2&#93; << Function exits!! &#40;id=444&#41;
0x644e5607 - sceAtracResetPlayPosition &#91;Searching 0x644e5607&#93; << Function exits!! &#40;id=440&#41;
0xe88f759b - sceAtracGetInternalErrorInfo &#91;Searching 0xe88f759b&#93; << Function exits!! &#40;id=443&#41;

Code: Select all

Module&#58; #sceDisplay# id=46
0x210EAB3A - sceDisplayGetAccumulatedHcount &#91;Searching 0x210eab3a&#93; >> Function added &#40;id=462&#41;
0x773DD3A3 - sceDisplayGetCurrentHcount &#91;Searching 0x773dd3a3&#93; >> Function added &#40;id=463&#41;
0xdba6c4c4 - sceDisplayGetFramePerSec &#91;Searching 0xdba6c4c4&#93; >> Function added &#40;id=464&#41;
cvoila
Posts: 1
Joined: Tue Jun 14, 2005 6:47 pm
Location: France

Post by cvoila »

sceSsl_lib module looks like... OpenSSL

Code: Select all

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
User avatar
neofar
Posts: 47
Joined: Wed Jan 21, 2004 2:40 am
Location: Spain
Contact:

Post by neofar »

Code: Select all

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

Post by pixel »

neofar wrote:

Code: Select all

Module&#58; #sceSsl_lib# id=24
0xb40d11ea - SSLv3_client_method &#91;Searching 0xb40d11ea&#93; >> Function added &#40;id=465&#41;
0x54a7d8f3 - SSL_clear &#91;Searching 0x54a7d8f3&#93; << Function exits!! &#40;id=320&#41;
...
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.
User avatar
neofar
Posts: 47
Joined: Wed Jan 21, 2004 2:40 am
Location: Spain
Contact:

Post by neofar »

pixel wrote:
neofar wrote:

Code: Select all

Module&#58; #sceSsl_lib# id=24
0xb40d11ea - SSLv3_client_method &#91;Searching 0xb40d11ea&#93; >> Function added &#40;id=465&#41;
0x54a7d8f3 - SSL_clear &#91;Searching 0x54a7d8f3&#93; << Function exits!! &#40;id=320&#41;
...
I guess you meant "exists" ? :)
jeje .... ;P .... yes 'exists'
Vampire
Posts: 138
Joined: Tue Apr 12, 2005 8:16 am

Post by Vampire »

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 ;-)
rasmus
Posts: 17
Joined: Wed Jul 21, 2004 9:30 am
Location: Göteborg, Sweden

Post by rasmus »

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.
PspPet
Posts: 210
Joined: Wed Mar 30, 2005 2:13 am
Contact:

Post by PspPet »

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: Select all

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

;; System level &#40;not ForUser&#41; - same order
; sceUsb_driver
0xae5de6af sceUsbStart
0xc2464fa0 sceUsbStop
0xc21645a4 sceUsbGetState
0x4e537366 sceUsbGetDrvList
0x112cc951 sceUsbGetDrvState
0x586db82c sceUsbActivate
0xc572a9c8 sceUsbDeactivate
0x5be0e002 sceUsbWaitState
0x1c360735 sceUsbWaitCancel
User avatar
alonetrio
Posts: 34
Joined: Sun May 15, 2005 12:10 am
Contact:

Post by alonetrio »

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

Code: Select all

------------------------ 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
loser
Posts: 25
Joined: Mon Feb 07, 2005 10:27 am
Contact:

Post by loser »

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

javascript based Nid calculator in case you're really keen
User avatar
neofar
Posts: 47
Joined: Wed Jan 21, 2004 2:40 am
Location: Spain
Contact:

Post by neofar »

Code: Select all

Module&#58; #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: Select all

Module&#58; #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
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
djhuevo
Posts: 47
Joined: Thu Mar 10, 2005 3:50 pm

Post by djhuevo »

sceGu is a static lib, not a PRX module.
sobreviviendo en la tierra de los trolldev
crazyc
Posts: 408
Joined: Fri Jun 17, 2005 10:13 am

Post by crazyc »

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.
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Post by Shine »

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:

Image

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?
Vampire
Posts: 138
Joined: Tue Apr 12, 2005 8:16 am

Post by Vampire »

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...
crazyc
Posts: 408
Joined: Fri Jun 17, 2005 10:13 am

Post by crazyc »

StdioForKernel:
0x2ccf071a fdprintf
0x98220f3e sceKernelStdoutReopen
0xfb5380c5 sceKernelStderrReopen
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Post by Shine »

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: Select all

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

int sceSircsSend&#40;unsigned char* data, int count&#41;;
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: Select all

unsigned char data&#91;4&#93;;
data&#91;0&#93; = 12;
int test = 1234;
data&#91;1&#93; = test & 0x7f;
data&#91;2&#93; = &#40;test >> 7&#41; & 0x1f;
while &#40;1&#41; &#123;
	sceSircsSend&#40;data, 1&#41;;
	sceDisplayWaitVblankStart&#40;&#41;;
&#125;
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:

Image

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

Image
rinco
Posts: 255
Joined: Fri Jan 21, 2005 2:12 pm
Location: Canberra, Australia

Post by rinco »

After reading how to interpret Sirc from Lirc (http://sourceforge.net/mailarchive/mess ... 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: Select all

struct sirc_data &#123;
        u8 type;
        u8 cmd;
        u16 dev;
&#125; __packed__;

void send_code&#40;int type, int dev, int cmd&#41;
&#123;
        struct sirc_data sd;
        int ret;

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

        ret = sceSircsSend&#40;&sd, 2&#41;;
        if &#40;ret < 0&#41;
        &#123;
                printf &#40;"sceSircsSend returned %d\n", ret&#41;;
        &#125;
&#125;

// 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 &#123;
                send_code&#40;20, 0x93a, 0x7b&#41;;
                sceDisplayWaitVblankStart&#40;&#41;;
        &#125; while &#40;1&#41;;
Any ideas?

edit: works great now... sample in sdk... thanks heaps Shine
ninjadave
Posts: 8
Joined: Mon Jul 04, 2005 7:54 pm
Location: London

Post by ninjadave »

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?
Vampire
Posts: 138
Joined: Tue Apr 12, 2005 8:16 am

Post by Vampire »

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
SANiK
Posts: 29
Joined: Tue Jul 05, 2005 5:25 am

Post by SANiK »

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?
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

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.
white rabbit
Posts: 60
Joined: Wed Jul 06, 2005 7:03 pm

Post by white rabbit »

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.
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

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.
ninjadave
Posts: 8
Joined: Mon Jul 04, 2005 7:54 pm
Location: London

Post by ninjadave »

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.
ector
Posts: 195
Joined: Thu May 12, 2005 10:22 pm

Post by ector »

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.
Arwin
Posts: 426
Joined: Tue Jul 12, 2005 7:00 pm

Post by Arwin »

Shouldn't the first post in this thread also have a link to http://svn.pspdev.org ?
ninjadave
Posts: 8
Joined: Mon Jul 04, 2005 7:54 pm
Location: London

Post by ninjadave »

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.
ector
Posts: 195
Joined: Thu May 12, 2005 10:22 pm

Post by ector »

You got it right, sir.
>NIL:
Posts: 26
Joined: Sat May 14, 2005 6:29 am
Location: .ie
Contact:

Post by >NIL: »

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"
Post Reply