forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

800200D9

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Sat Apr 11, 2009 8:06 am    Post subject: 800200D9 Reply with quote

Can anyone help me fix my code so it dont popup this error code at the start of the eboot?

I asked this awhile back, but now i cant find away to fix it.

http://www.sendspace.com/file/8k1nff

This is old, but is good to me. I'm not sure, but I think its in the struct under io.h . Let me know

thanks
Back to top
View user's profile Send private message AIM Address
PsPfReAK



Joined: 28 Mar 2009
Posts: 61

PostPosted: Sat Apr 11, 2009 8:14 am    Post subject: O.o Reply with quote

just post the code here, use the code tags when you do.
:)
Back to top
View user's profile Send private message Visit poster's website
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Sat Apr 11, 2009 2:32 pm    Post subject: Reply with quote

I already included the source. I made the eboot with it to show what it does if no one beleive me. I might try decrease the buffer size, and create a thread to operate on.
Back to top
View user's profile Send private message AIM Address
Smong



Joined: 04 Sep 2007
Posts: 82

PostPosted: Sat Apr 18, 2009 9:02 am    Post subject: Reply with quote

io.h:
Code:
struct files {
    char *signature;
    char *name[16*1024*1024];
    char *block[16*1024*1024];
    char *hash[16*1024*1024];
    int size[16*1024*1024];
    int len[16*1024*1024];
    int pos;
};

io.c:
Code:
#include "io.h"
struct files ctx;


You are trying to allocate ~320mb on a PSP. Make those arrays smaller.
_________________
(+[__]%)
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Tue Apr 21, 2009 10:58 am    Post subject: Reply with quote

How is that the problem? Do I need to make it less than the ram size?
Back to top
View user's profile Send private message AIM Address
NoEffex



Joined: 27 Nov 2008
Posts: 108

PostPosted: Tue Apr 21, 2009 11:23 am    Post subject: Reply with quote

Dariusc123456 wrote:
How is that the problem? Do I need to make it less than the ram size?
Very much so.
_________________
Programming with:
Geany + Latest PSPSDK from svn
Back to top
View user's profile Send private message
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Tue Apr 21, 2009 11:29 pm    Post subject: Reply with quote

>Chortle<
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group