Search found 25 matches

by Polo35
Sat Jun 30, 2007 8:04 pm
Forum: PS2 Development
Topic: IOP Dma example?
Replies: 5
Views: 2858

Hey, When you're at iop side you have to suspend interupt before performing dma transfert and resume it after. Like that: while(SifDmaStat(dma_id) >= 0); sifdma.src = src; sifdma.dest = dest; sifdma.size = size; sifdma.attr = 0; CpuSuspendIntr(&intr&#4...
by Polo35
Wed May 16, 2007 8:08 am
Forum: PS2 Development
Topic: Which jpeg library to use?
Replies: 6
Views: 3190

Hey, I've made some improvement some time ago on libjpg to sove all unsupported jpg file problems. ( try myps2 and you will see the problem :) ). You can found needed modified file under Ulaunchelf source code. Get libjpg from svn first ( the one under ps2/trunk ), and copy/overwrite modified file f...
by Polo35
Wed May 09, 2007 3:31 am
Forum: PS2 Development
Topic: ps2 system time
Replies: 4
Views: 2992

Hey. Here a simple code i wrote some time ago: #define BCD2DEC(bcd) (((((bcd)>>4) & 0x0F) * 10) + ((bcd) & 0x0F)) #define IS_LEAP_YEAR(Y) ( ...
by Polo35
Sun May 06, 2007 4:54 pm
Forum: PS2 Development
Topic: ps2 system time
Replies: 4
Views: 2992

Time return by cdreadclock is time in Japan GTM+9.

Take a look in myps2 1.2 source code, there is a libps2time which deal with ps2 clock.

Best regards

Polo
by Polo35
Thu May 03, 2007 7:32 am
Forum: PS2 Development
Topic: Sif call and Modules.
Replies: 1
Views: 1776

So, to answer my question. :)

Apparently, rom0 modules are resident modules.

That mean they can't be remove with sif call. :(

Thanks to romz for informations.

But, if someone have more informations, on how to override rom0 modules, please tell me. ;)

Best regards

Polo
by Polo35
Wed May 02, 2007 10:21 pm
Forum: PS2 Development
Topic: Sif call and Modules.
Replies: 1
Views: 1776

Sif call and Modules.

Hey, I've got some problem using SifSearchModuleByName, SifStopModule, SifUnloadModule. SifSearchModuleByName return a "strange" id: 1165660174 for MCMAN from rom, but when module is loaded it's id is 36. SifStopModule and SifUnloadModule appear to not working at all. I tried to use "...
by Polo35
Thu Aug 10, 2006 6:42 am
Forum: PS2 Development
Topic: gsKit Development and Discussion Thread
Replies: 52
Views: 32718

ULE text editor crash problem solved.

By setting Os_AllocSize to GS_RENDER_QUEUE_OS_POOLSIZE*2, because we don't use double buffer, but we need a big drawbuffer. ;)

I'm still interested in to know how to create fnt file, or where did you find them.

Best regards

Polo
by Polo35
Thu Aug 10, 2006 12:42 am
Forum: PS2 Development
Topic: gsKit Development and Discussion Thread
Replies: 52
Views: 32718

Hey, First of all, i've to say, we ( ULE developers ) have just released the first version of ULaunchELF using gsKit lib. I'm here to report a trouble found in this new version of ULE. :( We found a bug in our text editor, sometime editor completly crash the prog. After some investigation for debugg...
by Polo35
Wed Aug 09, 2006 2:56 am
Forum: PS2 Development
Topic: gsKit Development and Discussion Thread
Replies: 52
Views: 32718

Hey, I'm actualy playing with gsKit font on ULE, and i encountered the same problem Ubergeek42 have. :( All chars have a very bad quality, and are not readable. :( Could someone help us, please. @Ubergeek: Did you find something conserning this problem, because i saw you release a first version of y...
by Polo35
Thu Aug 03, 2006 4:28 pm
Forum: PS2 Development
Topic: Connecting 2 PS2 games together
Replies: 5
Views: 4746

I'm not really sure, network can allow you 'go Head to Head playing a game'.

I think if you want to do that, with 2 tv, you have to connect 2 ps2 with an i-link cable, cost 5€/$.

Best regards

Polo
by Polo35
Fri Jul 28, 2006 7:28 am
Forum: PS2 Development
Topic: Libjpg improvement
Replies: 3
Views: 2600

There is 3 diff for Makefile, libjpg.c, and libjpg.h. Makefile: diff -ur libjpg/Makefile libjpg1/Makefile --- libjpg/Makefile 2006-07-27 23:26:03.187500000 +0200 +++ libjpg1/Makefile 2006-07-14 10:58:36.890625000 +0200 @@ -7,7 +7,7 @@ jcsample.o jchuff.o jcphuff.o jcd...
by Polo35
Thu Jul 27, 2006 7:32 am
Forum: PS2 Development
Topic: Libjpg improvement
Replies: 3
Views: 2600

So, nobody interested by a BIG libjpg improvement???

I'm surprised. ;)

Best regards

Polo
by Polo35
Wed Jul 26, 2006 5:11 pm
Forum: PS2 Development
Topic: usb keyboard
Replies: 2
Views: 1870

Hey.

Look at ULE source code. ;)

There is a text editor with full usb keyboard support.

Best regards

Polo
by Polo35
Tue Jul 11, 2006 7:18 am
Forum: PS2 Development
Topic: Libjpg improvement
Replies: 3
Views: 2600

Libjpg improvement

Hey. ;) Are you interested by a libjpg improvement. I worked on a jpg viewer for ULE, and saw lot of jpg were not supported. So i decided to take a look at libjpg. And made some changes and wrote a new fonction call "jpgData *jpgOpenFILE(FILE *in_file, int mode)". That work like "jpgD...
by Polo35
Tue Jul 11, 2006 7:13 am
Forum: PS2 Development
Topic: I just can't format the HDD using libhdd... Why???
Replies: 17
Views: 7299

jbit wrote:Fixed in SVN revision 1330
Great.

Thanks jbit. ;)

Best regards

Polo
by Polo35
Sat Jul 08, 2006 5:01 pm
Forum: PS2 Development
Topic: How-to use tmpfile fonction.
Replies: 3
Views: 1909

Hey.

I found tmpfile stuff in gnu libc source, and the problem is: tmpfile search a dir call tmp in file system, and really create a file.

That's not what i want to do, i want to make a tmp file open only in ram.
Or simulate an opened file.

Does somebody know how to do that?

Best regards

Polo
by Polo35
Sat Jul 08, 2006 2:50 am
Forum: PS2 Development
Topic: How-to use tmpfile fonction.
Replies: 3
Views: 1909

LOL, MDR. :D

No problem, i'm going to find stdio.c from an other source and to port it.

Best regards

Polo
by Polo35
Sat Jul 08, 2006 1:52 am
Forum: PS2 Development
Topic: How-to use tmpfile fonction.
Replies: 3
Views: 1909

How-to use tmpfile fonction.

Hello. I'd like to use the fonction FILE *tmpfile() from stdio, to use a file without having to write one on mc or hdd. This fonction normaly create a temporary file, which can be use like a normal file open with fopen(). But this fonction always return NULL pointer, in my prog. :( So, who can expla...
by Polo35
Wed Jul 05, 2006 3:13 am
Forum: General Discussion
Topic: Raycaster Engine/LikeAllegro/Ps2Pong
Replies: 10
Views: 5502

No problem, i replaced your track by a patrice track. lol

Good work, that's quite impressive.

Just one thing, pad response is a little bit too "strong", i mean control is hard. lol
And sound doesn't repeate.

Best regards

Polo
by Polo35
Wed Jul 05, 2006 2:41 am
Forum: General Discussion
Topic: Raycaster Engine/LikeAllegro/Ps2Pong
Replies: 10
Views: 5502

Hey, I'm not able to load your pong prog. Here my output from ps2client: $ ps2client -h 192.168.0.10 execee host:basic.elf loadelf: fname host:basic.elf secname all loadelf version 3.30 Input ELF format filename = host:basic.elf 0 00100000 0001aae0 .. Loaded, host:basic.elf start address 0x1000e0 gp...
by Polo35
Tue May 30, 2006 6:56 am
Forum: PS2 Development
Topic: I just can't format the HDD using libhdd... Why???
Replies: 17
Views: 7299

So, as requested at ps2scene, i post what i found here. I'm working on a hdd manager for ULE ( uLaunchELF ), and i'd got some problem with libhdd format fontion from ps2sdk. I've try with libhdd1.2 from ps2dev.org web site, and format work fine, but size report was wrong. I decided to search differe...
by Polo35
Wed Apr 19, 2006 7:06 am
Forum: PS2 Development
Topic: IRX version...
Replies: 3
Views: 2441

Did you try to open it with a text or hex editor.:D

You'll normaly find somewhere the line: ps2hdd: PS2 APA Driver v1....

Other way: Open it with ps2dis and select jump for labeled in edit. You'll see all print use in the file.

Bye
by Polo35
Wed Apr 19, 2006 6:31 am
Forum: PS2 Development
Topic: IRX version...
Replies: 3
Views: 2441

Load it with ps2link (ps2client 192.168..... execiop host:ps2hdd.irx) and you'll see the version.:D
by Polo35
Sun Apr 09, 2006 10:23 pm
Forum: PS2 Development
Topic: How-to determinate BLIND_RPC_ID value???
Replies: 3
Views: 2623

Thanks Saotome. ;)

That's what i've done for my rpc prog and that work fine.

If somebody know more about this, tell us, please.

Best regards

Polo
by Polo35
Sun Apr 09, 2006 7:46 am
Forum: PS2 Development
Topic: How-to determinate BLIND_RPC_ID value???
Replies: 3
Views: 2623

How-to determinate BLIND_RPC_ID value???

Hello. I'm working on a irx module, i've finished iop side, and i'm now working on rpc server to acces to my irx from ee side. I'd like to know how to determinate BIND_RPC_ID, or ..._IRX value assignement. ( ex: #define CDVD_IRX 0xB001337 ). I've found lot of things in sdk, but no explanation for th...