ps2sdk undefined funcs ..

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
DickyDick
Posts: 29
Joined: Sat Aug 21, 2004 2:28 am

ps2sdk undefined funcs ..

Post by DickyDick »

just some undefined things in the ps2sdk..

sscanf
time

where can i find these?
Or do I have to make them myself?

I know what they are for, but perhaps there is a work-a-round.
pixel
Posts: 791
Joined: Fri Jan 30, 2004 11:43 pm

Post by pixel »

"ps2sdk" doesn't provide a full libc. Therefore, *scanf doesn't exist at all. If you REALLY need that, please have a look at newlib, which I however wouldn't trust.

For the time, maybe there's a syscall somewhere, I don't know. Well, there may be things missing, since everything was not completely reversed.
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
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

pixel wrote:For the time, maybe there's a syscall somewhere, I don't know. Well, there may be things missing, since everything was not completely reversed.
You can get the time, but it takes a bit of work. In the end you are sending some commands to the cdvd controller... I'm not sure if there is anything currently in ps2sdk to do it or not.
Shoot Pixels Not People!
Makeshift Development
Post Reply