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 

ps2sdk undefined funcs ..

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
DickyDick



Joined: 21 Aug 2004
Posts: 29

PostPosted: Sat Aug 21, 2004 2:40 am    Post subject: ps2sdk undefined funcs .. Reply with quote

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.
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Sat Aug 21, 2004 3:50 am    Post subject: Reply with quote

"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.
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Sat Aug 21, 2004 6:37 am    Post subject: Reply with quote

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
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 -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
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