Search found 20 matches

by realjoeeye1
Thu Mar 12, 2009 12:54 pm
Forum: PSP Development
Topic: How to use the "sceI2cMasterTransmit" function in
Replies: 7
Views: 3180

Why are you in the flash? Can you get to the recovery menu? Try to add to the makefile "LIB = -lpspi2c_driver"?[/url] He has the library loaded compiler-side, just not prx-side, similar as if you were to try to make a usb connection with none of the usb modules loaded. I'd borrow loadstar...
by realjoeeye1
Mon Mar 09, 2009 2:19 am
Forum: PSP Development
Topic: How to use the "sceI2cMasterTransmit" function in
Replies: 7
Views: 3180

!_!
I just bricked my PSP......

I "cut" the clockgen.prx from flash0 to my computer......

Holly shit!
by realjoeeye1
Mon Mar 09, 2009 12:24 am
Forum: PSP Development
Topic: How to use the "sceI2cMasterTransmit" function in
Replies: 7
Views: 3180

What prx or library are you loading it from. It's in the libpspi2c_driver.a that already in my pspsdk. Is that means after compile and link, my prx also need to load another prx that contain this function? Or the function is already linked from libpspi2c_driver.a to my prx? I found this function in...
by realjoeeye1
Sat Mar 07, 2009 5:17 pm
Forum: PSP Development
Topic: How to use the "sceI2cMasterTransmit" function in
Replies: 7
Views: 3180

How to use the "sceI2cMasterTransmit" function in

Sys:5.00M33 I want to send datas to the I2C bus, so I made an I2Csend.prx and loaded it in my programme to use my functions in kernel mode.The function: int I2Csend(u8 a,u8 b) { u8 param1[4]; param1[0]=a; param1[1]=b; int k1 = pspSdkSetK1(0); int res=sceI2cMasterTransmit(0x42, param1, 2); pspSdkSetK...
by realjoeeye1
Fri Sep 05, 2008 7:00 pm
Forum: PSP Development
Topic: Anyone knows how to do YUV2RGB faster?
Replies: 3
Views: 1401

Anyone knows how to do YUV2RGB faster?

I'm now using a simple method below, but I think it is not fast enough, hope some faster methods or sceGU hardware functions. Codes: for(m=0;m<16;m++) { vp=&pic_buffer[ii][begin_m+m][begin_n]; mm=m>>1; mn=(m>>3)*2; for(n=0;n<16;n++) { Y=iclpp[dct_recon[mn+(n>>3)][m&7][n&7]]; nn=n>>1; *(v...
by realjoeeye1
Fri Sep 05, 2008 6:15 pm
Forum: PSP Development
Topic: FAT PSP USB to RCA AV out?
Replies: 6
Views: 5783

The usb just export digital data, remotejoy is output the framebuffer, not an analog signal. I think the audio DAC mustn't have the ability to output both video and audio. The audio DAC can only transfer and output 48KHz analog signal about 0~+3V, but the video signal need above 10MHz and a higher v...
by realjoeeye1
Fri Sep 05, 2008 4:04 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

I used the ME to IDCT a 8X8 short block, but it doesn't work correctly. Codes: static int idct_me(int start_block) { idct_start((short*)(int(&dct_recon[start_block][0][0])|0x40000000)); return 0; } static void idct(int start_block) { int err; err=BeginME(mei, (int)idct_me, start_block, 0, 0, 0, ...
by realjoeeye1
Fri Sep 05, 2008 12:17 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

I just thought that you had already defined the functions of these flags, now I realize those are for me or someone who use the struct to define our own meanings. Yes, and you can also extend the structure if you want, putting your own stuff in it. @realjoeeye1 - They are the same address, but you ...
by realjoeeye1
Thu Sep 04, 2008 2:32 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

nope it means we want to read/write into uncached segment as both processors cannot share the contents of their respective caches. The "|0x40000000" operation gives the same result in both processors : bypass the cache update, don't read/write in the cache even if there may be a hit but d...
by realjoeeye1
Thu Sep 04, 2008 12:47 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

I'm not sure what the sigmask and sigset exactly mean, can J.F. give a simple explanation? It's an idea from the Amiga. Each bit is a signal. You can alter any number of bits by setting the bit number of the flag to be altered in sigmask. The value for the flag is determined by setting the same bit...
by realjoeeye1
Thu Sep 04, 2008 12:42 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

Yes, I'm sure I've put the mediaengine.prx to the same folder with the EBOOT.PBP. It didn't work on the old EBOOT.PBP, and work fine on the new EBOOT.PBP that I compiled.

Thanks!
by realjoeeye1
Wed Sep 03, 2008 7:05 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

I'm not sure what the sigmask and sigset exactly mean, can J.F. give a simple explanation?
by realjoeeye1
Wed Sep 03, 2008 6:52 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

I've tried J.F.'s sample code, the EBOOT.pbp already compiled did not work, it received an 80020001 error code loading the .prx. But when I recompiled it, it works well! Maybe I have to rewrite my codes based on J.F.'s MediaEngine.prx.
by realjoeeye1
Wed Sep 03, 2008 6:43 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

I've not used ME to access the VRAM. When load my prx, it received an error code:800200d9, like there was not enough memory to allocate. I used PSP_HEAP_SIZE_KB(10*1024) both in prx and eboot.pbp, it doesn't work.
by realjoeeye1
Wed Sep 03, 2008 12:38 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

Is the "|0x40000000" opration means the ME has another address to access the memory? Are the "|0x40000000" address on ME and the original address on SC pointing to a same place?
by realjoeeye1
Tue Sep 02, 2008 7:51 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

Many thanks!!
by realjoeeye1
Tue Sep 02, 2008 6:09 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

I saw your posts,J.F. but the download link of your sample code may be broken or I'm banned to download it.
I read many posts, and made a prx to use the kernel mode. But the functions in the prx don't work. No error code received but the functions just not work like they are not be called.
by realjoeeye1
Mon Sep 01, 2008 6:33 pm
Forum: PSP Development
Topic: sceIoDread not work!
Replies: 2
Views: 1441

Problem solved!!
Thanks for replying!
by realjoeeye1
Mon Sep 01, 2008 5:23 pm
Forum: PSP Development
Topic: sceIoDread not work!
Replies: 2
Views: 1441

sceIoDread not work!

I use fp=sceIoDopen to get an fp, and use sceIoDread(fp,dir) to recieve the dir entry. But it always return a negative means an error.
what is wrong?

My psp is slim, 4.01M33
by realjoeeye1
Sat Aug 30, 2008 10:34 pm
Forum: PSP Development
Topic: I wanted to use the ME to do IDCT, but got an 8002013C err
Replies: 21
Views: 6312

I wanted to use the ME to do IDCT, but got an 8002013C err

Sys:401M33
I tried to use the ME, but got the 8002013C error code. I checked the .prx file, which used functions in sysreg.prx, but there is no such a file in my flash0, and maybe it need the kernel mode.

How can I use the ME on PSP with 4.01M33? Please help.

THX.