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 

Printing to pcterm (PSPLink)

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



Joined: 25 Apr 2005
Posts: 95

PostPosted: Sat Feb 09, 2008 4:59 pm    Post subject: Printing to pcterm (PSPLink) Reply with quote

I'm new to PSPlink and I was wondering if it is possible to put a printf like command in a PSP program, run it with PSPLink and print it to the pc terminal rather than a the PSP screen. If it is possible, what would that code look like? Thank you.
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sat Feb 09, 2008 5:05 pm    Post subject: Reply with quote

Code:
printf("Hello\n")
Back to top
View user's profile Send private message
Shapyi



Joined: 25 Apr 2005
Posts: 95

PostPosted: Sat Feb 09, 2008 5:23 pm    Post subject: Reply with quote

I thought it was something like that, it turned out I was using:

Code:
#define printf   pspDebugScreenPrintf


From one of the sample programs and not stdio.h. Thank you very much, this will save me a lot of headaches.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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