Printing to pcterm (PSPLink)

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

Moderators: cheriff, TyRaNiD

Post Reply
Shapyi
Posts: 95
Joined: Mon Apr 25, 2005 9:31 am

Printing to pcterm (PSPLink)

Post by Shapyi »

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.
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

Code: Select all

printf("Hello\n")
Shapyi
Posts: 95
Joined: Mon Apr 25, 2005 9:31 am

Post by Shapyi »

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

Code: Select all

#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.
Post Reply