Search found 23 matches

by Noko
Thu Feb 19, 2009 8:20 pm
Forum: PSP Development
Topic: pspgl and memory
Replies: 2
Views: 1256

pspgl and memory

Imagine I have a game, and it displays 480x272 background image to user. At some point I want this image to fade out and a new one to appear. I am going to use pspgl, so these images are going to be textures, and because of pspgl limitations, they have to be 512x512 (closest power of 2). This is goi...
by Noko
Sat Nov 08, 2008 6:38 pm
Forum: PSP Development
Topic: PSP fw v 5.01
Replies: 4
Views: 2224

You will also be able to play all PSP games for free, but you wouldn't do that, right? right?
by Noko
Fri Nov 07, 2008 4:59 pm
Forum: PSP Development
Topic: does each thread has it's own memory space??
Replies: 1
Views: 1277

Welcome to past, bitches!

You're initializing m_StateQueue, not m_StateQ. It is a mystery why it works.
by Noko
Thu Nov 06, 2008 3:23 am
Forum: PSP Development
Topic: When making prx: Error, found no relocation sections
Replies: 2
Views: 1652

Oh

I found the mistake

I had LINK.c = psp-gcc in my Makefile which removes additional flags to linker
by Noko
Thu Nov 06, 2008 3:02 am
Forum: PSP Development
Topic: help please!! psp devkit on windows
Replies: 10
Views: 4053

create main.c somewhere with this code:

Code: Select all

main(){return 0;}
chdir to where you saved it and type this:

gcc main.c -o main
psp-gcc main.c -o main

and then paste results here
by Noko
Thu Nov 06, 2008 2:58 am
Forum: PSP Development
Topic: Creating C++ Class Libraries
Replies: 3
Views: 1603

psp-ar is used to create static libraries.

People don't usually make c++ libraries though; even if they write in sepples they export C functions.
by Noko
Thu Nov 06, 2008 2:51 am
Forum: PSP Development
Topic: When making prx: Error, found no relocation sections
Replies: 2
Views: 1652

When making prx: Error, found no relocation sections

I'm having troubles making my program run on lite. Everything compiles and links fine, but psp-prxgen fails with "Error, found no relocation sections" Here's the output of make: psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -Wall -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -I. -I...
by Noko
Sat Oct 11, 2008 5:24 am
Forum: PSP Development
Topic: sceIoOpen and sceIoOpenAsync
Replies: 3
Views: 1955

Did someone here use async file io? I'm doing something like this: SceUID f; SceInt64 asyncres; if&#40;&#40;f=sceIoOpenAsync&#40;path,PSP_O_RDONLY,0777&#41;&#41;<0&#41; return NULL; sceIoReadAsync&#40;f,buffer,bufsize&#41;; sceIoWaitAsync&#40;f,&asyncres&#...
by Noko
Fri Oct 10, 2008 10:42 pm
Forum: PSP Development
Topic: minumum hello world asm code for psp-as?
Replies: 4
Views: 1861

Andrey&#58;/cygdrive/b/src/noscript$ cat>hello.c #include "stdio.h" int main&#40;int argc,char **argv&#41;&#123; printf&#40;"Hello world!\n"&#41;; return 0; &#125; &#91;1&#93;+ Stopped cat > hello.c Andrey&#58;/cygdrive/b/src/noscript$ psp...
by Noko
Fri Oct 10, 2008 6:34 pm
Forum: PSP Development
Topic: selecting images
Replies: 11
Views: 4992

> old school lib code

...what?
by Noko
Fri Oct 10, 2008 6:31 pm
Forum: PSP Development
Topic: sceIoOpen and sceIoOpenAsync
Replies: 3
Views: 1955

sceIoOpen and sceIoOpenAsync

sceIoOpen and sceIoOpenAsync Are there real differences? Or can this whole async stuff be emulated using non-async functions? I'm asking this because apparently psp kernel is not reentrant, and when I call sceIoRead with a lot of bytes to read, syscalls from other threads (like reading psp joystick ...
by Noko
Fri Sep 12, 2008 7:26 pm
Forum: PSP Development
Topic: intraFont and openGL
Replies: 3
Views: 1829

/* * PSP Software Development Kit - http&#58;//www.pspdev.org * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in PSPSDK root for details. * * Copyright &#40;c&#41; 2005 Jesper Svennevid */ #include "guInternal....
by Noko
Thu Sep 11, 2008 8:06 pm
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 168010

KickinAezz: spaces in directory names?
by Noko
Thu Sep 11, 2008 3:46 pm
Forum: PSP Development
Topic: Just started - Please read
Replies: 4
Views: 2370

m_parent
by Noko
Wed Sep 10, 2008 7:09 pm
Forum: PSP Development
Topic: very weird SIGBUS error
Replies: 1
Views: 968

very weird SIGBUS error

I have some very strange error in SDL. Here's the output of gdb: GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copyin...
by Noko
Wed Sep 10, 2008 3:12 am
Forum: PSP Development
Topic: What happened to PSP-Insight in the new toolchain script?
Replies: 8
Views: 5335

I think this might be the reason Andrey&#58;/cygdrive/b/src/psptoolchain/build$ diff insight-6.4/config.sub gdb-6.4/config.sub 258a259 > | mipsallegrex | mipsallegrexel \ 337a339 > | mipsallegrex-* | mipsallegrexel-* \ 680a683,686 > psp&#41; > basic_machine=mipsallegrexel-psp > os=-elf > ;;
by Noko
Sun Sep 07, 2008 12:51 am
Forum: PSP Development
Topic: Memory stick read speed is very low
Replies: 2
Views: 1721

Ah, nevermind, I found the solution. Using larger buffer improves speed dramatically.
by Noko
Sat Sep 06, 2008 11:29 pm
Forum: PSP Development
Topic: psp-ld ?
Replies: 6
Views: 3175

Yes, what I means was you don't need to know about ld.
by Noko
Sat Sep 06, 2008 10:22 pm
Forum: PSP Development
Topic: An info please
Replies: 4
Views: 2310

Try mallocing 32MB, then 31MB, then 30 MB, until malloc succeeds.
by Noko
Sat Sep 06, 2008 10:20 pm
Forum: PSP Development
Topic: Trying to simply load a file in a buffer
Replies: 13
Views: 4619

g_dataOut2 is not a buffer, it's a pointer.

change your second line to

Code: Select all

static u8* g_dataOut2=g_dataOut;
By the way, why are you aligning g_dataOut?
by Noko
Sat Sep 06, 2008 10:15 pm
Forum: PSP Development
Topic: Memory stick read speed is very low
Replies: 2
Views: 1721

Memory stick read speed is very low

Here's the program I'm using to read file from memory stick: #include <pspkernel.h> #include <pspdebug.h> #include <pspctrl.h> #include <stdlib.h> #include <string.h> #include <pspiofilemgr.h> #include <time.h> #include <sys/time.h> #include <pspthreadman.h> PSP_MODULE_INFO&#40;"IOTEST"...
by Noko
Sat Sep 06, 2008 9:54 pm
Forum: PSP Development
Topic: psp-ld ?
Replies: 6
Views: 3175

You don't need ld for c++ programs, you link them with g++