Search found 203 matches

by sauron_le_noir
Sat Aug 09, 2008 4:05 pm
Forum: PSP Development
Topic: main thread stack size question for slim et fat
Replies: 18
Views: 8991

thx Jf i've just recompile the entire toolchain with a fresh svn co and yes with PSP_HEAP_SIZE_KB(-256) the homebrew work on both psp fat and slim without having 2 builds The limitation of the zoom remains on the fat when the zoom is > 1.5 i"ve a out of memory error. Do you know what are the be...
by sauron_le_noir
Sat Aug 09, 2008 6:58 am
Forum: PSP Development
Topic: Preview of pdf reader for psp
Replies: 15
Views: 5859

yep forget to set ARGB buffer to null before fill it up can you send me your pdf and the zoom factor when you have problems i have see it when zoom factor is < 0.6 and zoom factor > 1.6 on slim because on fat in break due to lack of memory at zoom 1.5 on 1.7 zoom the library tri give it up because t...
by sauron_le_noir
Sat Aug 09, 2008 6:21 am
Forum: PSP Development
Topic: main thread stack size question for slim et fat
Replies: 18
Views: 8991

aka moonlight Why don't you use PSP_HEAP_SIZE_MAX? It will already allocate max memory in both. Anyways, you can change the hep before any malloc operations. In the file where you wrote PSP_HEAP _SIZE_KB, do in main function "sce_newlib_heap_kb_size = desired_size;" no need to do all this ...
by sauron_le_noir
Sat Aug 09, 2008 6:06 am
Forum: PSP Development
Topic: main thread stack size question for slim et fat
Replies: 18
Views: 8991

with the extra 32 meg of the psp slmiyou can use a zoom at a higher level it break on 1.5 on fat with 20000K and at 1.7 on slim with 30000K when you render a pdf to a ARGB device it use a lot of memory. So the program run on the 2 hardwares but with degratation for the zoom function on the fat. can ...
by sauron_le_noir
Sat Aug 09, 2008 5:16 am
Forum: PSP Development
Topic: Increase cpu for rendering pdf
Replies: 7
Views: 2334

thx jf and special thx to you a_noob pointing me the tri library it a very very cool
library much better even than osllib
heu another question when the homebrew quit must i reset the cpu to his default
or wil it do it automaticly when leaving and returning to the xmb
by sauron_le_noir
Sat Aug 09, 2008 5:08 am
Forum: PSP Development
Topic: main thread stack size question for slim et fat
Replies: 18
Views: 8991

main thread stack size question for slim et fat

how can i have a main thead stack size depending of the hardware slim or fat in the sdk the PSP_MAIN_THREAD_ATTR(attr) is defined has unsigned int sce_newlib_attribute = (attr) where attr is the number of k allocate for the heap ? when i start/load a user prx can i specify his heap size ? for my pdf...
by sauron_le_noir
Sat Aug 09, 2008 4:41 am
Forum: PSP Development
Topic: Preview of pdf reader for psp
Replies: 15
Views: 5859

With this the fat can only go to the zoom at 1.5 at 1.6 i have a not enougth memory
grrrrrrrrrrrr.
on the slim you can go to 1.7 so the dilema 2 compilations and zoom reduce capacity for the fat
by sauron_le_noir
Sat Aug 09, 2008 4:31 am
Forum: PSP Development
Topic: Preview of pdf reader for psp
Replies: 15
Views: 5859

i've recompiled the homebrew without large_memory stuff and i reduce the PSP_HEAP_SIZE_KB from 30000 to 20000 and guess wat it works on the fat psp of my wife can i dynamicly update PSP_HEAP_SIZE if i detect a slim ? the link for the slim http://www.enterinmydream.info/~sauronlenoir/psppdf_preview.z...
by sauron_le_noir
Sat Aug 09, 2008 4:10 am
Forum: PSP Development
Topic: Preview of pdf reader for psp
Replies: 15
Views: 5859

yes indeed not tested on fat here is the makefile TARGET = psp_pdf OBJS = psp_pdf.o splashscreen.o filechooser.o rendering.o PSP_FW_VERSION=401 PSP_PDF_VERSION=1.0.0 PSPSDK=$(shell psp-config --pspsdk-path) PSPDIR=$(shell psp-config --psp-prefix) PSP_LARGE_MEMORY = 1 INCDIR = CFLAGS = -O0 -G0 -Wall ...
by sauron_le_noir
Sat Aug 09, 2008 2:21 am
Forum: PSP Development
Topic: Preview of pdf reader for psp
Replies: 15
Views: 5859

Preview of pdf reader for psp

At this link you have a preview wat my homebrew can do there is no filechosser yet it take always from psp/game/psppdf/test.pdf you may replace test.pdf with any of your pdf's LTRIGGER backward page RTRIGGER forward page analogic stick navigation into the page UP key = zoom in Dow key = zoom out X =...
by sauron_le_noir
Sat Aug 09, 2008 1:58 am
Forum: PSP Development
Topic: Increase cpu for rendering pdf
Replies: 7
Views: 2334

It's the sumatrpdf rendering library. rendering speed is propotional with the complexity of the page rendered!!!! many font many images etc .... it's a pure cpu issue. At this link you have a preview wat my homebrew can do there is no filechosser yet it take always from psp/game/psppdf/test.pdf you ...
by sauron_le_noir
Fri Aug 08, 2008 7:25 pm
Forum: PSP Development
Topic: Increase cpu for rendering pdf
Replies: 7
Views: 2334

Increase cpu for rendering pdf

I've just terminated the function to render a pdf to the psp but it take 5 to 8 s to render a page on the psp i have read that you can increase the cpu speed of the psp. I have see many samples how to do that but can someone point me a example to increase the speed of the cpu at maximun and a sample...
by sauron_le_noir
Fri Aug 08, 2008 3:23 am
Forum: PSP Development
Topic: dc v6 graphics
Replies: 241
Views: 296735

many thx for the code to detecting the hardware present in the psp
by sauron_le_noir
Fri Aug 08, 2008 3:22 am
Forum: PSP Development
Topic: Need help to handle raw ARGB bitmap greater than 512x512
Replies: 8
Views: 2551

many thx a_noob the openTri contrains the tri library it's even better than the
oslib. I've now a pdf reader for psp i will be release soon just correcting some
problems with the zoom fiunction
by sauron_le_noir
Wed Aug 06, 2008 7:15 am
Forum: PSP Development
Topic: Need help to handle raw ARGB bitmap greater than 512x512
Replies: 8
Views: 2551

can i create a bitmap > 512 with this
bitmap_page = createImage(pix->w, pix->h);
i fill bitmap_page->data with the correct data

to blit i use for example
blitAlphaImageToScreen(0,0,200,200,bitmap_page,0,0);

or must i realy divide the bitmap in severall bitmaps ?
by sauron_le_noir
Sun Aug 03, 2008 10:06 pm
Forum: PSP Development
Topic: Need help to handle raw ARGB bitmap greater than 512x512
Replies: 8
Views: 2551

many thx for the replies just wat i need.
by sauron_le_noir
Sun Aug 03, 2008 10:55 am
Forum: PSP Development
Topic: Need help to handle raw ARGB bitmap greater than 512x512
Replies: 8
Views: 2551

OK so when i but PSP_LARGE_MEMORY = 1 in my makefile the malloc function automaticly give me the extra 32 Mega right ? and has no effect when my homebrew run on a fat psp (just less heap space availaible) for know i need +- 20Méga of ram to rendering pdfs but i can use the extra 32 mega for bitmap p...
by sauron_le_noir
Sun Aug 03, 2008 10:04 am
Forum: PSP Development
Topic: Need help to handle raw ARGB bitmap greater than 512x512
Replies: 8
Views: 2551

Need help to handle raw ARGB bitmap greater than 512x512

I there i'm have ported the execelnt sumatrapdf library to the psp but i stick with a problem when rendering the pdf i've got a buffer ARGB greater than 512x512 In the documentation of oslib or Easy_Accelerated_Image_lib they say that the image must not greater than 512x512. Is there a way to handle...
by sauron_le_noir
Sat Aug 02, 2008 1:46 am
Forum: PSP Development
Topic: NOOB NEEDS HELP
Replies: 6
Views: 1811

Look at this http://zx81.zx81.free.fr/serendipity_fr ... -guid.html zx81 provided a virtual box disk (a linux distribution + gcc toolchain + sdk for psp) that can run out of the box on you windoze machine (beurk i don't like this virus 32)
by sauron_le_noir
Sat Jul 05, 2008 4:24 pm
Forum: PSP Development
Topic: Need a method to determine if eboot.bpb is a psx game
Replies: 4
Views: 1476

i use some code extract from prxtool found at svn co svn://svn.ps2dev.org/psp/trunk/prxtool i don't like guesing with a hex editor. 9/10 chance that i'm guesing wrong
by sauron_le_noir
Sat Jul 05, 2008 3:59 pm
Forum: PSP Development
Topic: Need a method to determine if eboot.bpb is a psx game
Replies: 4
Views: 1476

heuuu we called dyslexia .... of meaby it was very late (or early) tonight
and of course it was PBP and not BPB
by sauron_le_noir
Sat Jul 05, 2008 8:12 am
Forum: PSP Development
Topic: Install a bootstrap and return to application... how?
Replies: 144
Views: 31611

There is a sample in the sdk of the CF 4.01 released by dark alex called bootload
that correspond what you will do:
Launching iso,psx,homebrew from a program and at end of the iso,psx,homebrew
return to the launcher
by sauron_le_noir
Sat Jul 05, 2008 8:07 am
Forum: PSP Development
Topic: Need a method to determine if eboot.bpb is a psx game
Replies: 4
Views: 1476

Need a method to determine if eboot.bpb is a psx game

Dark alex has release the cf 4.01 with a sdk and a sample that can be a skelet to make a shell for psp. The method to launch in this sample a homebrew or a psx game is different my question is: is there a method (a magic number that i read from the eboot.bpb or ...) to determine if the eboot.bpb is ...