Search found 28 matches

by smartie_on_computer
Sat May 23, 2009 10:58 am
Forum: PSP Development
Topic: Using threads and Classes
Replies: 12
Views: 3343

Sorry, i will have to excuse myself here.

its working perfectly now, the reason why it was freezing was because i was not delaying the thread so it was looping the thread but not executing anything else.

so it works wonderfully now and thanks for your help J.F. and coolkehon!

Cheers
Roman
by smartie_on_computer
Sat May 23, 2009 10:30 am
Forum: PSP Development
Topic: Using threads and Classes
Replies: 12
Views: 3343

im pretty sure the heap size is fine...
the has a small amount of memory because the buffers are pointers to byte arrays defined in the main code. so the heap size should be fine.
by smartie_on_computer
Sat May 23, 2009 10:20 am
Forum: PSP Development
Topic: Using threads and Classes
Replies: 12
Views: 3343

coolkehon wrote:do you have enoph heap allocated for this thread
Heap?
by smartie_on_computer
Sat May 23, 2009 10:19 am
Forum: PSP Development
Topic: Using threads and Classes
Replies: 12
Views: 3343

yeah i figured that part, but no i didnt do both things at once, im not that stupid to do that lol
by smartie_on_computer
Sat May 23, 2009 10:09 am
Forum: PSP Development
Topic: Using threads and Classes
Replies: 12
Views: 3343

You're creating a kernel thread. If you want a user thread, be sure to use PSP_THREAD_ATTR_USER when creating the thread instead of 0. Kernel level stuff can't access user level stuff without setting k1. unsigned int k1; k1 = pspSdkSetK1(0); // do stuff here pspSdkSetK1(k1&a...
by smartie_on_computer
Sat May 23, 2009 8:51 am
Forum: PSP Development
Topic: Using threads and Classes
Replies: 12
Views: 3343

Using threads and Classes

Hey, Im back again with another annoying problem of mine... i've created a thread in my program and a class that has private and public members. the thread is created like this: class Camera { public: Camera(); ~Camera(); int stop(); i...
by smartie_on_computer
Fri May 15, 2009 4:11 pm
Forum: PSP Development
Topic: understanding the error code returned by sce* functions...?
Replies: 11
Views: 5165

yeah, i cant do that because i've declared a byte away globally and passed a pointer to it to a class, so when it compiles, its unable to determine the size of the byte array, instead i'll just use a #define WORK_SIZE 64*1024

Thanks for all your guys help
Cheers
Roman
by smartie_on_computer
Fri May 15, 2009 2:31 pm
Forum: PSP Development
Topic: understanding the error code returned by sce* functions...?
Replies: 11
Views: 5165

J.F. wrote:
The size of a pointer is the size of the pointer, not what it points to. :)
Yeah, i figured that. how would i figure out the size of what the pointer points to?
by smartie_on_computer
Fri May 15, 2009 2:22 pm
Forum: PSP Development
Topic: understanding the error code returned by sce* functions...?
Replies: 11
Views: 5165

ok i guess that would make sense too...

i solved the problem by the way, i replaced "sizeof(work)" with "(68*1024)"

'work' is a pointer to a byte array and i guess sizeof was unable to figure out how big it was
by smartie_on_computer
Thu May 14, 2009 3:19 pm
Forum: PSP Development
Topic: understanding the error code returned by sce* functions...?
Replies: 11
Views: 5165

TyRaNiD wrote:Well that error code isn't in the ones which came from puzzle bobble's debug symbols so there is really little way to tell what it means :)
so pretty much, sony have a whole list of error codes or probably a debug function that looks up error codes and prints out a error stating whats wrong?
by smartie_on_computer
Thu May 14, 2009 2:16 pm
Forum: PSP Development
Topic: PSPLink with chickHEN - any risk?
Replies: 5
Views: 3560

psplink is pretty much a debugging program designed for hombrew devs. psplink itself doesnt modify any files but you are able to brows the Flash0:/ , 1:/ , etc... As long as you dont modify the Flash files, you should be fine.

if im wrong, let me know.
by smartie_on_computer
Thu May 14, 2009 2:11 pm
Forum: PSP Development
Topic: understanding the error code returned by sce* functions...?
Replies: 11
Views: 5165

nothing? these forums aren't as active as they used to be :(
by smartie_on_computer
Wed May 13, 2009 4:45 pm
Forum: PSP Development
Topic: understanding the error code returned by sce* functions...?
Replies: 11
Views: 5165

understanding the error code returned by sce* functions...?

Hey Devs, i need a little help, i know that some of the higher, more experienced devs here can understand an error code that is produced by sce based functions. im just trying out some code and when i call this function result = sceUsbCamSetupVideo(&videoparam, work, sizeof(work&...
by smartie_on_computer
Mon Feb 23, 2009 2:25 pm
Forum: PSP Development
Topic: How do i read a crash report from psplink?
Replies: 8
Views: 3627

The alternative to working out where the problem is is to try and use psp-gdb, as long as your crash is repeatable it will be easy to track it down (as long as you build your app correctly :P) wow thnx for ur guys replies, ill use them nxt time, but jsut to note TyRaNiD, i cant use psp gdb because ...
by smartie_on_computer
Sun Feb 22, 2009 11:02 am
Forum: PSP Development
Topic: How do i read a crash report from psplink?
Replies: 8
Views: 3627

so how would i figure out what part of my code caused this error and waht the error was?
by smartie_on_computer
Sun Feb 22, 2009 6:48 am
Forum: PSP Development
Topic: How do i read a crash report from psplink?
Replies: 8
Views: 3627

How do i read a crash report from psplink?

Hey guys, each time my homebrew crashes i get errors from psplink bu they mean nothing to me because i cant tell what when wrong. for instance can someone tell me what this means and how you figured that out? host1:/> Exception - Bus error (data) Thread ID - 0x048E6D07 Th Nam...
by smartie_on_computer
Thu Feb 19, 2009 4:53 pm
Forum: PSP Development
Topic: Using psplink with 5.00m33 (Slim)
Replies: 6
Views: 3412

just another question in case anyone is still reading this, im trying to debug my homebrew app but it uses the usb camera (PSP Go!Cam/Chotto shot).

now PSPLink used to have wireless capabilities but now its limited to usb...

what happened there?
by smartie_on_computer
Mon Feb 16, 2009 5:48 pm
Forum: PSP Development
Topic: Using psplink with 5.00m33 (Slim)
Replies: 6
Views: 3412

oh... weird.. must have been something i've done wrong for the past few times trying to get it to work... because all of a sudden it works like a charm! lol and i've heard about the gdb problem and there is a fix for it. but i've never used gdb before because i can not find a tutorial on how to set ...
by smartie_on_computer
Mon Feb 16, 2009 1:26 pm
Forum: PSP Development
Topic: Using psplink with 5.00m33 (Slim)
Replies: 6
Views: 3412

thats the thing, i cant getit to load as a eboot, when it does, it jsut sits on a black screen with white text at the top like is usually does but does not connect by usb
by smartie_on_computer
Sun Feb 15, 2009 8:48 am
Forum: PSP Development
Topic: Using psplink with 5.00m33 (Slim)
Replies: 6
Views: 3412

Using psplink with 5.00m33 (Slim)

Hey guys, I have a psp slim loaded with 5.00m33-6. Now with psplink, i cant get my psp to launch the offical eboot.pbp that is made when compiling psplink but i am able to take the prx and have it load as a plugin. i have it running in vsh and game as a plugin but when im in vsh, how can i stop vsh ...
by smartie_on_computer
Fri Jun 20, 2008 8:31 pm
Forum: General Discussion
Topic: Can some one please get the SVN working [solved]
Replies: 4
Views: 186162

hehe, i stoped the firewall but didnt remember to disable it, im srry for this inconvenience. Delete this thread if u wish
by smartie_on_computer
Fri Jun 20, 2008 6:33 pm
Forum: General Discussion
Topic: Can some one please get the SVN working [solved]
Replies: 4
Views: 186162

not for me :S

Code: Select all

Roman@Asus ~
$ svn list svn://svn.ps2dev.org/psp
svn: Can't connect to host 'svn.ps2dev.org': Connection refused
by smartie_on_computer
Fri Jun 20, 2008 2:49 pm
Forum: General Discussion
Topic: Can some one please get the SVN working [solved]
Replies: 4
Views: 186162

Can some one please get the SVN working [solved]

Hey, SVN has been down for a bit too long and i want to get back into psp development. Downloading the files to pspsdk by file from websvn will not be pretty
by smartie_on_computer
Sun May 13, 2007 9:37 am
Forum: PSP Development
Topic: i've got an issue installing psptoolchain on opensuse...
Replies: 10
Views: 5509

what about from http://www.oopo.net/consoledev/ i see it has every thing in that...

also the computer did have a connection at one stage when installing it on cygwin, it all went well there so i copied the downloaded files to suse and tried it, ut thats how i got the error above
by smartie_on_computer
Sun May 13, 2007 8:09 am
Forum: PSP Development
Topic: i've got an issue installing psptoolchain on opensuse...
Replies: 10
Views: 5509

ok an update with the problem

ok im back again, i think i found what was wrong,the version of gcc and binutils that is install on suse is greater than the toolchain files. the computer has no access to the internet so im finding it difficult to find any way of getting the right version patches' i have tried to uninstall gcc and ...
by smartie_on_computer
Wed May 09, 2007 1:52 pm
Forum: PSP Development
Topic: i've got an issue installing psptoolchain on opensuse...
Replies: 10
Views: 5509

lol, sorry, my bad spelling ^-^
fixed it
by smartie_on_computer
Wed May 09, 2007 1:39 pm
Forum: PSP Development
Topic: i've got an issue installing psptoolchain on opensuse...
Replies: 10
Views: 5509

yea sorry, i made a post on that site too about it...
heres the image hosted at imageshack
Image
by smartie_on_computer
Wed May 09, 2007 12:58 pm
Forum: PSP Development
Topic: i've got an issue installing psptoolchain on opensuse...
Replies: 10
Views: 5509

i've got an issue installing psptoolchain on opensuse...

Hey every one i'm having a problem istalling the psp toolchain on opensuse 10.1 i can't figure the error out but the problem its falling over on is checking the target system type when installing binutils... i have install gcc, and the packages listed here Then i ran the toolchain script in Konsole,...