Search found 28 matches

by FaderX
Fri Jun 27, 2008 4:08 pm
Forum: PSP Development
Topic: Big Buffer in Kernel & Service mode
Replies: 14
Views: 4078

Hellcat wrote: IIRC even on the Slim, those 64MB are split up into two partitions (apart from the other partitions, the memory is broken into), and are not "in one pice".

So, even on the Slim you can't do a malloc() of 60MB, or such thing....
yea, i get what you mean, thx
by FaderX
Thu Jun 26, 2008 7:38 pm
Forum: PSP Development
Topic: Big Buffer in Kernel & Service mode
Replies: 14
Views: 4078

psar dumper has to be changed to allow streaming and not a full load, not just for cases like this, but also because the fat is almost running out of memory to hold lates updatest, a bit more and it will be impossible to hold it. I was planning to do it if they changed encryption in 4.00... but the...
by FaderX
Thu Jun 26, 2008 7:00 pm
Forum: PSP Development
Topic: Big Buffer in Kernel & Service mode
Replies: 14
Views: 4078

again, don't ever ask a question if you couldn't provide enough source for us to check. And please no source à la Ne0h. 1) why on earth do you need to have such big arrays ? 2) what is the source dealing with those arrays ? 3) are you creating a kernel pluggin only for slim version (because an over...
by FaderX
Sun Jun 22, 2008 4:55 pm
Forum: PSP Development
Topic: Big Buffer in Kernel & Service mode
Replies: 14
Views: 4078

Instead of trying to embed huge arrays in your thingy, you should instead be trying to allocate the memory. There are routines for allocating memory from the various partitions... consult the docs or look at existing source. void allocatmemory(void) { g_dataPSAR = (...
by FaderX
Sun Jun 22, 2008 3:46 pm
Forum: PSP Development
Topic: Big Buffer in Kernel & Service mode
Replies: 14
Views: 4078

The KERNEL partition is 8MB max PERIOD. All the rest of the memory is the user partition. You can't change that. The heap size only tells how much the app will take from the user partition. oh, now i know what you's mean, So is there a way to use the user portion to use the buffers, like a user mod...
by FaderX
Sun Jun 22, 2008 2:34 pm
Forum: PSP Development
Topic: Big Buffer in Kernel & Service mode
Replies: 14
Views: 4078

pretty insane I must say what you are doing and not shameful you are. If you PRX is loaded in a kernel partition, it wouldn't be able to fit your data size requirements : 24 MB + 30 MB ! Kernel partition can only be 8 MB at most. I'm booting straight into a elf that hasn't loaded any other prx's ye...
by FaderX
Sat Jun 21, 2008 3:06 pm
Forum: PSP Development
Topic: Big Buffer in Kernel & Service mode
Replies: 14
Views: 4078

Big Buffer in Kernel & Service mode

OK, im trying to do some stuff with a psar and i need to load it & im having trouble with buffers in kernel mode. Every other mode works, vsh, user etc. just not kernel. here's what im using...or tried using, static u8 g_dataPSAR[23*1000*1000] __attribute__((align...
by FaderX
Tue Jun 10, 2008 9:05 pm
Forum: PSP Development
Topic: Load prx in service mode
Replies: 3
Views: 1704

thanks it worked, id never would have guessed that i had to use the full path :s *gets embarrassed*

in 3.xx it must ave changed to either what i was using and the full path?. lol


thanks again.
by FaderX
Mon Jun 09, 2008 10:03 am
Forum: PSP Development
Topic: Load prx in service mode
Replies: 3
Views: 1704

Load prx in service mode

Hello, i've created a little app that required kernel mode, so i made a prx. But then i tried using service mode and thats what i want to create it for. but i try, SceUID mod = pspSdkLoadStartModule&#40;"kernel.prx", PSP_MEMORY_PARTITION_KERNEL&#41;; if &#40;mod < 0&#41; &a...
by FaderX
Tue May 20, 2008 9:49 pm
Forum: PSP Development
Topic: Permissions Error[SOLVED]
Replies: 13
Views: 3842

windows xp, and all i know that it compiles pbps n stuff, lets say i havent done the psp folder chmod thing, how would i go by doing it? :)


Edit: Done, fixed, thanks alot everyone
by FaderX
Mon May 19, 2008 5:21 pm
Forum: PSP Development
Topic: Permissions Error[SOLVED]
Replies: 13
Views: 3842

Does nobody pay attention? This has nothing to do with sudo. This has nothing to do with environment variables. This has nothing to do with cygwin. Read the README.PSP! The PSP cross compiled SDL, SDL_mixer, SDL_image should NOT get installed into /usr/local/include, and if they are, that means (wi...
by FaderX
Sun May 18, 2008 4:36 pm
Forum: PSP Development
Topic: Permissions Error[SOLVED]
Replies: 13
Views: 3842

I've tried installing from my desktop (drive C:) and ive tried installing from many other locations on my D drive, mostly in the cygwin paths and some at D's root. still they all don't work.....perm error :( i'll give sudo a go in a min. :)

Edit: im using cygwin btw if you may not have noticed :s lol
by FaderX
Wed May 14, 2008 5:08 pm
Forum: PSP Development
Topic: Permissions Error[SOLVED]
Replies: 13
Views: 3842

Permissions Error[SOLVED]

I'm trying to install the SDL, SDL_Mixer & SDL_Image, but when i do "make install" it gets to a certain point and won't do it because of a perm error, it may be because i have a user name call "Every One" but if thats the prob how do i change it to a different one so it'll wo...
by FaderX
Sun Apr 06, 2008 10:35 am
Forum: General Discussion
Topic: Happy 7th Birthday!
Replies: 19
Views: 51237

HAPPY BIRTHDAY ps2dev, this is the first time ive been around for it bday. lol

homebrew all da way.
by FaderX
Sat Apr 05, 2008 8:04 am
Forum: PSP Development
Topic: downloading files?? from internet.....How?
Replies: 27
Views: 14890

@FaderX: What exactly was going on when you started up your application? Did anything go wrong, or did nothing work? it loaded until i added libhttp functions. i also tried a prx which worked until it reached the http functions, moonlight has to be right about the global variable. im guna try it ag...
by FaderX
Mon Mar 24, 2008 4:45 pm
Forum: PSP Development
Topic: downloading files?? from internet.....How?
Replies: 27
Views: 14890

Insert_witty_name wrote:I've commited libhttp to the SDK, revision 2376.
Thanks man!!
by FaderX
Tue Mar 18, 2008 6:02 pm
Forum: PSP Development
Topic: Cannot Allocate Memory?? 3.XX Sha1 fails aswell
Replies: 5
Views: 2965

Oh does this have to bee in a separate kernel or vsh prx??
by FaderX
Sun Mar 16, 2008 11:16 am
Forum: PSP Development
Topic: Cannot Allocate Memory?? 3.XX Sha1 fails aswell
Replies: 5
Views: 2965

Yea i think i've also tried the 3.90 psar, it also failed, but ill give another try later.

Edit:

Tried again, still didnt work?? wtf
by FaderX
Sat Mar 15, 2008 4:54 pm
Forum: PSP Development
Topic: Cannot Allocate Memory?? 3.XX Sha1 fails aswell
Replies: 5
Views: 2965

Code: Select all

PSP_MODULE_INFO&#40;"Check", 0, 1, 1&#41;;
PSP_MAIN_THREAD_ATTR&#40;PSP_THREAD_ATTR_USER&#41;; 
PSP_HEAP_SIZE_MAX&#40;&#41;;
Heap is there
by FaderX
Sat Mar 15, 2008 1:59 pm
Forum: PSP Development
Topic: downloading files?? from internet.....How?
Replies: 27
Views: 14890

i also tried using a prx that loads, it fails aswell, i used the Cfe 2.2 ftpd.prx btw. any other idea's to get this working??
by FaderX
Sat Mar 15, 2008 11:36 am
Forum: PSP Development
Topic: Cannot Allocate Memory?? 3.XX Sha1 fails aswell
Replies: 5
Views: 2965

Cannot Allocate Memory?? 3.XX Sha1 fails aswell

Ok i've created a 3.XX game that loads, but.....Im trying to check to make sure the files are correct size etc. e.g 390.PBP SceUID fd; int size; dataPSAR = &#40;u8 *&#41;memalign&#40;0x40, 0x0100a830+256&#41;; if &#40;!dataPSAR&#41; &#123; ErrorExit&#40;6000, "Ca...
by FaderX
Tue Mar 11, 2008 4:22 pm
Forum: PSP Development
Topic: Pommel, Tachyon, Baryon
Replies: 21
Views: 9393

mirzab14 wrote:Thanks jas0nuk!

@FaderX-

It would be like this:

Code: Select all

if &#40;&#40;tachyon == 0x00140000 && baryon == 0x00030600&#41;&#41;
    &#123;
                printf&#40;"Motherboard = TA-079 v1 1g\n"&#41;;
               
    &#125;
Ok, Thanks bro
by FaderX
Sun Mar 09, 2008 10:27 am
Forum: PSP Development
Topic: Pommel, Tachyon, Baryon
Replies: 21
Views: 9393

so how do we specify which PSP model we have, like this?? if &#40;tachyon = 0x00200000|baryon = 0x00040600&#41; &#123; printf&#40;"Motherboard = TA-079 v3\n"&#41;; &#125; i really dont know how to get the standard mobo, if you know...please tell me...pleasseeee the ...
by FaderX
Tue Mar 04, 2008 3:46 pm
Forum: PSP Development
Topic: downloading files?? from internet.....How?
Replies: 27
Views: 14890

gambiting wrote:You have to define Heap size:

Code: Select all

PSP_HEAP_SIZE_MAX&#40;&#41;;
put it after psp module info.Should help.
thanks, but it still doesnt work, any more idea's??
by FaderX
Sun Mar 02, 2008 7:24 pm
Forum: PSP Development
Topic: Pommel, Tachyon, Baryon
Replies: 21
Views: 9393

KickinAezz is this em', int sceSysconGetTachyonWDTStatus&#40;&#41;; int sceSysconGetPommelVersion&#40;&#41;; int sceUpdaterGetBaryonVersion&#40;&#41;; If so, how do ya use em' like this??, int sceSysconGetTachyonWDTStatus&#40;void&#41;; int sceSysconGetPommelVersion&a...
by FaderX
Sun Mar 02, 2008 11:53 am
Forum: PSP Development
Topic: downloading files?? from internet.....How?
Replies: 27
Views: 14890

This is my main.c //Headers are here PSP_MODULE_INFO&#40;"DL_File", 0x0800, 1, 0&#41;; PSP_MAIN_THREAD_ATTR&#40;PSP_THREAD_ATTR_VSH&#41;; #define printf pspDebugScreenPrintf /* Exit callback */ int exit_callback&#40;int arg1, int arg2, void *common&#41; &#123; s...
by FaderX
Sat Mar 01, 2008 10:11 pm
Forum: PSP Development
Topic: downloading files?? from internet.....How?
Replies: 27
Views: 14890

thanks weltall & moonlight, i'll have a look in the morning, its about 10:00 & im tired coz i just got back from a engagement party.

i appreciate it the help,

FaderX
by FaderX
Sat Mar 01, 2008 12:45 pm
Forum: PSP Development
Topic: downloading files?? from internet.....How?
Replies: 27
Views: 14890

downloading files?? from internet.....How?

Hey all im new here, lol SO i have a homebrew which accesses the internet,.....How do you download a file do you use? copy_file&#40;"http&#58;//website.com/file.extension, "ms0&#58;/file.extension"&#41;; I've tried that & it currently doesn't work?? & im connec...