Search found 21 matches

by carlosedp
Wed Jul 02, 2008 5:38 am
Forum: PSP Development
Topic: Python on Nanodesktop
Replies: 2
Views: 1438

Have you tried my port of Stackless Python for PSP.

It runs in user mode and is updated to the latest 2.5.2.

Take a look on: http://code.google.com/p/pspstacklesspython/

Carlos
by carlosedp
Wed Jul 02, 2008 3:33 am
Forum: PSP Development
Topic: PSP Stackless Python 2.5.2 released
Replies: 0
Views: 1547

PSP Stackless Python 2.5.2 released

I would like to announce that the latest release of PSP Stackless Python has been released. The interpreter has been updated to the latest Python 2.5.2 and includes all the updated libraries from fraca7 repositories. For more information check the ChangeLog: http://code.google.com/p/pspstacklesspyth...
by carlosedp
Fri Nov 30, 2007 3:27 am
Forum: PSP Development
Topic: localtime doesnt return the correct date/month/year
Replies: 21
Views: 9716

Guys,

No clue on why the time functions doesnt works... am I linking to the correct libraries?

Thanks
by carlosedp
Wed Nov 21, 2007 10:54 pm
Forum: PSP Development
Topic: PSP Stackless Python project website
Replies: 2
Views: 1461

I report that the SVN repository is now, up-to-date with the latest modifications for the 2.5.1 Release1 file.

From now on, all commits will go directly to this repository.

Carlos
by carlosedp
Wed Nov 21, 2007 5:03 am
Forum: PSP Development
Topic: PSP Stackless Python project website
Replies: 2
Views: 1461

PSP Stackless Python project website

After working on the release of PSP Stackless Python 2.5.1, I created a project website to host the project. There you will find out the last releases, source code zips, SVN repository, Issue tracker and a Wiki with information about module usage and much more. Check more information in my last post...
by carlosedp
Thu Nov 15, 2007 4:45 am
Forum: PSP Development
Topic: PSP Stackless Python 2.5.1 released....
Replies: 3
Views: 1487

Until now, I have been working in my own machine because I cannot access SVN from here so my repository is a local SVN.

Probably I will set up a project in google code to keep the SVN and the issues for the project.

Maybe tomorrow (since its a holiday in Brazil) I can set it up.

Carlos
by carlosedp
Thu Nov 15, 2007 3:56 am
Forum: PSP Development
Topic: PSP Stackless Python 2.5.1 released....
Replies: 3
Views: 1487

PSP Stackless Python 2.5.1 released....

Hi guys, I justed posted on my dev blog about the release of Stackless Python fod PSP 2.5.1. This is the latest release and have almost all functionality the full Python release have. Check on http://themindcaster.blogspot.com/2007/11/stackless-python-251-for-psp.html for more info. Please, post fee...
by carlosedp
Wed Nov 14, 2007 5:30 am
Forum: PSP Development
Topic: localtime doesnt return the correct date/month/year
Replies: 21
Views: 9716

Well, I think I am.... tell me if is there anything wrong... Here is my makefile: TARGET = StacklessPSP BUILD_PRX = 1 PSP_FW_VERSION = 371 RELEASE_NAME = StacklessPSP RELEASE_VERSION = 2.5.1 RELEASE_DIRECTORY = ~/$(RELEASE_NAME)-$(RELEASE_VERSION) EXTRA_TARGETS = EBOO...
by carlosedp
Wed Nov 14, 2007 3:15 am
Forum: PSP Development
Topic: localtime doesnt return the correct date/month/year
Replies: 21
Views: 9716

One thing I noticed that is very weird is that the file newlib-1.15.0/newlib/libc/sys/psp/libcglue.c already does this mapping from the original C call to the PSP call... like this: /* Time routines. These wrap around the routines provided by the kernel. */ #ifdef F__gettimeofday int _gettimeofday&a...
by carlosedp
Tue Nov 13, 2007 7:27 am
Forum: PSP Development
Topic: localtime doesnt return the correct date/month/year
Replies: 21
Views: 9716

Hi cools, I got this problem too. Fixed it replacing the following: time() -> sceKernelLibcTime() like: time_t now; sceKernelLibcTime(&now); printf("Time is: %s\n", ctime(&now)); gettimeofday() -> sceKernelLibcGettimeofday(): ...
by carlosedp
Fri Oct 19, 2007 7:16 am
Forum: PSP Development
Topic: localtime doesn't use the configured timezone
Replies: 8
Views: 3604

initTimezone() function improved with DST support.

I have improved the initTimezone function above with support for DST. I have tested on FW 3.71. void initTimezone() { int tzOffset = 0; int dst = 0; sceUtilityGetSystemParamInt(PSP_SYSTEMPARAM_ID_INT_TIMEZONE, &tzOffset); sceUtilityGetSystemParamInt&#...
by carlosedp
Tue Jul 03, 2007 7:59 am
Forum: PSP Development
Topic: Stackless for PSP Progress... OGG, MP3, SSL
Replies: 1
Views: 1329

Stackless for PSP Progress... OGG, MP3, SSL

Well... here it goes guys.... another update on Stackless Python for PSP. Check it out here: ttp://themindcaster.blogspot.com/2007/07/stackless-python-for-psp-progress.html I have added OGG, MP3 and SSL support for it. More details on my post. Please, as soon as you have any feedback, report to me e...
by carlosedp
Thu Jun 28, 2007 5:18 am
Forum: PSP Development
Topic: MP3 and OGG support on Python for PSP
Replies: 4
Views: 2297

I will use libMad for MP3 and libTremor for OGG.

Since Ghoti is going to help me on this streaming functionality, he is the one worth the credits... i will wrap the functions and trim the edges to make it all work correctly... :)

Ciao..
by carlosedp
Thu Jun 28, 2007 3:10 am
Forum: PSP Development
Topic: MP3 and OGG support on Python for PSP
Replies: 4
Views: 2297

Sorry for the delay guys, the modules are currently functional but I started working together with Ghoti on a streaming approach for mp3. It would ease up a lot of memory since the music wont be loaded entirely into RAM. In a few more days I will have a fully streaming support for the MP3 part and h...
by carlosedp
Tue Jun 26, 2007 9:08 am
Forum: PSP Development
Topic: MP3 and OGG support on Python for PSP
Replies: 4
Views: 2297

MP3 and OGG support on Python for PSP

I have added support for MP3 and OGG playback inside my current Stackless Python port. I still need to clean up and document the functions. Its based on libtremor and libmad that are available from the SVN. The API will be more or less the same... like: import pspogg, psp2d pspmp3.init(chann...
by carlosedp
Tue Jun 26, 2007 5:09 am
Forum: PSP Development
Topic: First Stackless-PSP tutorial
Replies: 0
Views: 1275

First Stackless-PSP tutorial

I created a small tutorial based on a tutorial created by Sakya. The example is very simple, there is a player agent and a "computer driven" NPC agent. Both can run around the screen. The point here is to demonstrate the functionality of Stackless and the ease it allows on development for ...
by carlosedp
Thu Jun 21, 2007 1:26 am
Forum: PSP Development
Topic: time() function returns date in 1970
Replies: 4
Views: 1841

Thanks a lot Sakya, It was a problem in my environment... I substituted the PSPDEV tree in my cygwin install and the time() function returned the correct time and date.

Thanks a lot for pointing out.

Carlos
by carlosedp
Wed Jun 20, 2007 11:12 pm
Forum: PSP Development
Topic: time() function returns date in 1970
Replies: 4
Views: 1841

Same problem here... 01/01/1970 ... and time in GMT (here i'm GMT-3).

Maybe I have a problem in my environment... dunno because I have installed it all from scrach following the wiki.

If you could point me out what to check....

Thanks,

Carlos
by carlosedp
Wed Jun 20, 2007 10:31 pm
Forum: PSP Development
Topic: time() function returns date in 1970
Replies: 4
Views: 1841

time() function returns date in 1970

I'm working on the port of Stackless for PSP.. I found out a problem where I could replicate in a small C app. When calling the time() function, it returns me the time in GMT but the date is 01/01/1970. If I substituted the time() function by sceKernelLibcTime() function, it returns me the correct t...
by carlosedp
Wed Jun 20, 2007 3:55 am
Forum: PSP Development
Topic: Stackless Python 2.4.4 port for PSP
Replies: 2
Views: 1687

Reading some commentaries about my post, I saw that there are a lot of questions related to what is Stackless and how to "run" it. I advise these people to visit the sites indicated in my post to know more about use cases and idioms on Stackless. The sites are: Stackless Python - www.stack...
by carlosedp
Tue Jun 19, 2007 6:01 am
Forum: PSP Development
Topic: Stackless Python 2.4.4 port for PSP
Replies: 2
Views: 1687

Stackless Python 2.4.4 port for PSP

Hi guys, This email is to annouce that I created a port of Stackless Python to PSP... it is based on Jerome´s work on the Python port. The full post can be seen in my blog: http://themindcaster.blogspot.com/2007/06/stackless-python-port-for-sony-psp.html Thanks for everyone that helped me out. Carlos