Search found 15 matches

by kolaaaa
Tue Oct 09, 2007 9:36 pm
Forum: PSP Development
Topic: Microsecond Accurate Hardware timer
Replies: 7
Views: 2350

For example, I read cop0 counter using this code in kernel mode : int getCycleCounter (void) { int value; __asm__ __volatile__( "mfc0 %0, $9 \n" : "=r" (value)); return value; } Maybe there are a better way...
by kolaaaa
Wed Aug 29, 2007 9:16 pm
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 23595

Hi, The 0-byte file is normal. You can check that on your computer without creating tables : prompt$ sqlite3 test.db sqlite>quit; and a empty file is created. But I can't find out your problem. I tried your query and it works on my PSP. Do you have print the errmsg string to know what SQLite is comp...
by kolaaaa
Wed Aug 29, 2007 4:47 am
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 23595

Hi,

If you want a ready to use script, see ooPo's scripts on /pspdev/psplibraries.
The library is on pspdev's repository, so you no longer need this old zip file.

For the library usage, it's that.
by kolaaaa
Wed Aug 01, 2007 10:51 pm
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 23595

Maybe there is a problem with absolute path, I will check that when I got time.

Thanks for telling me this bug.

kolaaaa

EDIT : this bug has been resolved
by kolaaaa
Wed Aug 01, 2007 10:13 pm
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 23595

Hi, This code works for me : char fileName [256]; sqlite3 *db; sprintf(fileName, "./test.db"); int rc = sqlite3_open(fileName, &db); if( rc ) { /* error */ } /* success */ I hope that will helps you. kola...
by kolaaaa
Mon Jun 04, 2007 7:26 pm
Forum: PSP Development
Topic: newlinb causing sdl_image to fail to build
Replies: 5
Views: 4399

Hi, I rebuild PSPSDK yesterday (on Mac OS) and I have the same problem. I finally succedded to build SDL_image : After the ./autogen.sh, edit your configure script and add "-lpspnet_inet" in the folowing lines : [...] LIBS="-ljpeg $LIBS -lpspnet_inet" [......
by kolaaaa
Mon May 28, 2007 7:57 am
Forum: PSP Development
Topic: BZ2 libriary for psp?
Replies: 7
Views: 2844

It's commited in /bzip2 .
by kolaaaa
Sun May 27, 2007 10:35 pm
Forum: PSP Development
Topic: BZ2 libriary for psp?
Replies: 7
Views: 2844

I confirm that the library is working proprely. All tests carried out by bzip2 are passed successfully on the PSP (compress and decompress some samples files, and compare them with references files).

Do I add the lib on pspdev ?
by kolaaaa
Sun May 27, 2007 6:26 pm
Forum: PSP Development
Topic: BZ2 libriary for psp?
Replies: 7
Views: 2844

Yes you are right, it's the wrong path for bzlib.h and libbz2.a. I'll correct that, and few other mistake (LDFLAGS=.... is not necessary, I was very tired).
I will make some tests to be sure that the library work as we want to. And I'll add it to the repository if admins accept it ?

kolaaaa
by kolaaaa
Sun May 27, 2007 7:15 am
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 23595

Now it is in the pspdev repository in "/sqlite"

kolaaaa
by kolaaaa
Sun May 27, 2007 7:09 am
Forum: PSP Development
Topic: BZ2 libriary for psp?
Replies: 7
Views: 2844

Hi, I guess it is not in the repository (but there is zlib). I made a Makefile, it build and install the library, but I didn't test it. 1 - Download and unpack : bzip2 1.0.4 2 - Copy this Makefile , instead of the one include in the official source 3 - Then in your shell : $ make $ make install This...
by kolaaaa
Fri May 25, 2007 8:14 am
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 23595

Hi, I will commit it as soon as I have write access to the pspdev repository. For now, I made a patch of the same release, for those how prefers, SQLite 3.3.17 for PSP rev. 33 patch . Use it like that : 1 - Unpack original SQLite 3.3.17 source from SQLite Site 2 - Copy the patch to the root of sourc...
by kolaaaa
Thu May 24, 2007 10:15 am
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 23595

You can download it here : SQLite 3.3.17 for PSP rev. 33

README.PSP is include for building instructions.

Thanks for reporting problems (if any)
by kolaaaa
Thu May 24, 2007 6:56 am
Forum: PSP Development
Topic: SQLite for PSP
Replies: 34
Views: 23595

SQLite for PSP

Hello all,

I port "SQLite" to the PSP by writing the OS dependent part.
This C library allow your homebrew to create database and query it with SQL langage.

If anyone interrested, ask me.
I also can upload it somewhere.

kolaaaa
by kolaaaa
Mon Apr 16, 2007 11:32 pm
Forum: PSP Development
Topic: SQLite or an other database
Replies: 3
Views: 2047

SQLite or an other database

Hello, I'm working since few month on a Guitar Pro's clone for PSP (well, just a tablature reader). I have finish the parser and some of graphics functions. For the moment tablature is just scrolling at the screen. Now my goals is to create a database, a kind of iTunes's like. So, here's my question...