Search found 60 matches

by psPea
Tue Mar 09, 2010 2:24 pm
Forum: PSP Development
Topic: Compiling ticpp for psp
Replies: 4
Views: 15398

I tried a generic makefile and it compiled TARGET_LIB = ticpp.a OBJS = ticpp.o \ tinystr.o \ tinyxml.o \ tinyxmlerror.o \ tinyxmlparser.o INCDIR = CFLAGS = -O2 -G0 -Wall -g CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti ASFLAGS = $(CFLAGS) LIBDIR = LDFLAGS = LIBS = -l...
by psPea
Mon Jan 18, 2010 4:55 pm
Forum: PSP Development
Topic: Importing (ctrl) functions from KernelMode Prx
Replies: 5
Views: 3664

Your eboot needs to be built as a prx to load a kernel module.
Also you should know that commenting out loading the prx wouldn't solve your problem.
by psPea
Sat Jan 09, 2010 1:51 pm
Forum: The Incredible Hall Of Shame
Topic: linking error!!
Replies: 2
Views: 4972

Image
Hall of shame!
Hall of shame!
Hall of shame!
by psPea
Wed Jan 06, 2010 5:34 pm
Forum: PSP Development
Topic: Putting my hw to sleep
Replies: 16
Views: 9600

maybe your problem is calling exit_proc in your power callback, you should call a function that prepares the app for suspension not exit.

Also I see you waiting for a semaphore in exit_proc, is it being signaled?
by psPea
Thu Dec 24, 2009 8:47 am
Forum: PSP Development
Topic: [SOLVED] Strange problems with exported function...
Replies: 7
Views: 5109

Sakya posted one
Search and thou shalt findeth
by psPea
Wed Dec 23, 2009 11:41 am
Forum: PSP Development
Topic: [QUESTION] How to flush instruction cache?
Replies: 4
Views: 10552

sceKernelIcacheInvalidateAll()
it requires kernel mode i believe
by psPea
Wed Dec 23, 2009 5:36 am
Forum: PSP Development
Topic: Media Engine Questions?
Replies: 3
Views: 2871

When you go into standby all file discriptors are lost, therefore the audio data cannot be read from the file to be decoded, this has nothing to do with the me. The only time you have to worry about going into standby is when you are running your own code on the me. To resolve this you need to setup...
by psPea
Wed Dec 23, 2009 5:21 am
Forum: PSP Development
Topic: [SOLVED] Strange problems with exported function...
Replies: 7
Views: 5109

try using psplink to to find the type and location of the error
by psPea
Wed Dec 23, 2009 5:12 am
Forum: PSP Development
Topic: [solved]tinyxml bus error
Replies: 2
Views: 2087

You're trying to derefeence a null pointer at 0x3d4 lw $v1, 28($a0) a0:0x00000000 EPC:0x088047D4 lw destinationRegister, offset(sourceRegester) # load contents of RAM at offset from sourceRegister into register destinationRegister: destinationRegister = *(destinationRegister+offset) To calculate whe...
by psPea
Wed Dec 23, 2009 4:38 am
Forum: PSP Development
Topic: [SOLVED] Strange problems with exported function...
Replies: 7
Views: 5109

Two points 1. You calculation is wrong if(FIO_S_ISDIR(sid.d_stat.st_mode)) { XioDirSizeFunct(Fullname, Size); } should be if(FIO_S_ISDIR(sid.d_stat.st_mode)) { Size = XioDirSizeFunct(Fu...
by psPea
Mon Dec 14, 2009 1:20 pm
Forum: PSP Development
Topic: Swapping palettes for each texture
Replies: 10
Views: 17518

sceGuClutMode sets the clut mode (line 125 of the sample) psp doesn't support 24 bbp you'll have to add an alpha channel >Right now, my palette is stored as a pointer to a series of bytes that go as RGBRGBRGB.. etc. How would it be converted into the proper format? you could use the GU_RGBA(r,g,b,a)...
by psPea
Tue Nov 03, 2009 8:27 am
Forum: PSP Development
Topic: Bus error loading a prx
Replies: 6
Views: 3473

>but the shell is completely dead after I get this

yeah that happens when an exception occurs in your module_start

lhu $v0, 10($a1)
a1:0x0072FEB4-not a valid memory address
by psPea
Thu Oct 01, 2009 9:38 pm
Forum: PSP Development
Topic: Arithmetic seem to overwrite variable
Replies: 13
Views: 13124

douple = (i*i + 100) / j; ?
by psPea
Tue Sep 29, 2009 11:51 pm
Forum: PSP Development
Topic: Strange pspgu behaviour
Replies: 9
Views: 4347

It's probably a cache issue,
try sceKernelDCacheWritebackInvaidateRange on the vertices.
by psPea
Thu Sep 17, 2009 9:59 am
Forum: PSP Development
Topic: "this" pointer changed?
Replies: 8
Views: 4799

Maybe this is only initialized after the constructor returns.
by psPea
Thu Sep 17, 2009 9:52 am
Forum: PSP Development
Topic: libFLAC seeking problem, please help!(Solved, Code Included)
Replies: 8
Views: 4794

>Just one more question, What does the void * client_data really mean?

Its just a value you can pass to the callbacks, it can be anything want.
Just typecast as needed.
by psPea
Thu Sep 17, 2009 4:23 am
Forum: PSP Development
Topic: "this" pointer changed?
Replies: 8
Views: 4799

I think Viewpoint(int source) { Viewpoint(source, 0, 0, 0); } Viewpoint(int source, float zoom, float lon, float lat); looks very messy, you should use Viewpoint(int source, float zoom = 0, float lon = 0, float lat = 0&#41...
by psPea
Thu Sep 17, 2009 1:11 am
Forum: PSP Development
Topic: libFLAC seeking problem, please help!(Solved, Code Included)
Replies: 8
Views: 4794

>It is because the init_status = FLAC__stream_decoder_init_file(decoder, filename, write_callback, metadata_callback, error_callback, fileptr); need this fileptr. It is the source of the data stream No. See here. I meant replace FLAC__stream_decoder_process_until_end_of_stream with FLAC__stream_deco...
by psPea
Wed Sep 16, 2009 3:53 pm
Forum: PSP Development
Topic: libFLAC seeking problem, please help!(Solved, Code Included)
Replies: 8
Views: 4794

Why did you open the file to to nothing with it?

Code: Select all

FLAC__stream_decoder_process_until_end_of_stream(decoder);
I think you are trying to seek while decoding
Try a loop with FLAC__stream_decoder_process_single(decoder) and pause the decoding when you want to seek.
by psPea
Wed Sep 02, 2009 9:34 am
Forum: PSP Development
Topic: Debug file not receiving characters
Replies: 13
Views: 7478

>Surely I don't have to close and reopen the file each time I want to log to it.
What's wrong with that?
You could use psplink and print to stderr to see your debug info

>Or is there a way of trapping the crash so that I can close the file appropriately?
Install an exception handler
Link
by psPea
Wed Sep 02, 2009 9:22 am
Forum: PSP Development
Topic: Why memalign?
Replies: 13
Views: 7276

>That's not guaranteed! It depends on the implementation
Well I was talking about the implimentation in the psp toolchain
I saw it on this forum but couldn't I find the thread.
by psPea
Wed Sep 02, 2009 7:01 am
Forum: PSP Development
Topic: Debug file not receiving characters
Replies: 13
Views: 7478

Did you close the file?
by psPea
Wed Sep 02, 2009 6:59 am
Forum: PSP Development
Topic: Why memalign?
Replies: 13
Views: 7276

I know that malloc allocates memory aligned on 16 bytes boundary, so maybe new does too.
by psPea
Mon Aug 24, 2009 4:55 am
Forum: PSP Development
Topic: undefined reference to `main'
Replies: 11
Views: 4407

if you're using -lSDLmain
the you need to define SDL_main and use that as your main function
by psPea
Sun Aug 23, 2009 7:08 am
Forum: PSP Development
Topic: Doom PSP b6, now with music and PWADS
Replies: 25
Views: 31081

Check the doom source or here
by psPea
Sat Aug 22, 2009 1:25 pm
Forum: PSP Development
Topic: PSP Development - Where to begin?
Replies: 5
Views: 3244

The docs are somewhere in the installation(can't remember exactly where)
and on-line here
by psPea
Sat Aug 01, 2009 5:09 am
Forum: PSP Development
Topic: How can I find out the path of the homebrew
Replies: 8
Views: 4158

>PRX's in game.txt don't launch when it is a homebrew app, only a UMD or iso/cso

since when?

@op
try the current working directory.
or is it different for each module?
by psPea
Sat Jul 25, 2009 8:13 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 19668

>Is it cool if i send it to this address: somethingsweet2bad@yahoo.com ? sure, I don't know who would get it though AS ITS NOT MINE I sent you a pm with my email address just change -at- to @ and -dot- to . or you could upload it to mediafire or some other free file hosting site and post the link he...
by psPea
Fri Jul 24, 2009 10:40 am
Forum: PSP Development
Topic: 2D draw methods/ Java -> C++
Replies: 30
Views: 19668

You're trying to use classes before they are defined(I think)

If you upload all the files I could take a look at it.
by psPea
Fri Jul 24, 2009 10:33 am
Forum: PSP Development
Topic: libjpeg problems
Replies: 3
Views: 3446

libjpeg is C
extern "C" anyone