Search found 9 matches

by gloupygloup
Thu May 12, 2005 6:21 pm
Forum: PSP Development
Topic: malloc newbie question
Replies: 22
Views: 9461

Hehe,

i have find a way around and im starting getting things to show.
Soon as i got something i will post it here.
by gloupygloup
Thu May 12, 2005 8:08 am
Forum: PSP Development
Topic: malloc newbie question
Replies: 22
Views: 9461

I wonder if you dont have to give the pointer to your variable to sceKernelAllocPartitionMemory and that it return only OK or ERROR.

im going to have a try
by gloupygloup
Thu May 12, 2005 7:40 am
Forum: PSP Development
Topic: malloc newbie question
Replies: 22
Views: 9461

Edit : post deleted ( wrong manipulation = double post )
by gloupygloup
Thu May 12, 2005 7:31 am
Forum: PSP Development
Topic: malloc newbie question
Replies: 22
Views: 9461

Just for information i have tried the sceKernelAllocPartitionMemory like that : data = (int*)sceKernelAllocPartitionMemory(sizeof(int)*20); int i; data[0] = 0xFFFF; pgFillvram(0); while(1) { pgPr...
by gloupygloup
Thu May 12, 2005 7:07 am
Forum: PSP Development
Topic: malloc newbie question
Replies: 22
Views: 9461

well i need dynamic allocation since that i have make a couple of emulator and i would like to give it a try to port them into PSP.

Im going to find a way around this problem but it will ugly :D
by gloupygloup
Thu May 12, 2005 3:58 am
Forum: PSP Development
Topic: malloc newbie question
Replies: 22
Views: 9461

hmm ok , i m going to do something about that so.
by gloupygloup
Thu May 12, 2005 3:52 am
Forum: PSP Development
Topic: malloc newbie question
Replies: 22
Views: 9461

Orion_ : i have checked your plasma wich work fine dont you alloc anything in memory ?
by gloupygloup
Thu May 12, 2005 3:43 am
Forum: PSP Development
Topic: malloc newbie question
Replies: 22
Views: 9461

Thanks, of course i have added the malloc.h ;-) but not the -lc
im going to test that right away.

Thanks !
by gloupygloup
Thu May 12, 2005 3:34 am
Forum: PSP Development
Topic: malloc newbie question
Replies: 22
Views: 9461

malloc newbie question

Hi there, im trying to build a little things on my own but im not familiar with the PS2SDK.I can compile the HelloWorld sample, make some change, have it running but when i want to make an allocation like : int *data; data = malloc(1024); it compile but the compiler tell me undefined refence for mal...