Search found 38 matches

by carlosn
Mon Feb 01, 2010 12:18 pm
Forum: PS3 Development
Topic: PS3SDK collaboration invitation
Replies: 39
Views: 39113

If you look at the source code in otheros_demo_1.0, you will see a function call to set_boot_flag(0) in demo.c. The source code for the function is in flash.c
by carlosn
Sat Jan 02, 2010 12:50 pm
Forum: PS3 Linux Development
Topic: OpenCL for Cell
Replies: 15
Views: 10618

I noticed the IBM website has updated the OpenCL developoment kit for the cell processor. The newer version installs just fine in my PS3. For those of you who followed this tread from the beginning, there is a minor change to the above instructions. When you edit the xlc_install script, use the foll...
by carlosn
Tue Nov 10, 2009 3:12 pm
Forum: PS3 Linux Development
Topic: OpenCL for Cell
Replies: 15
Views: 10618

I wrote my first program in OpenCL. The program queries the OpenCL environment.

Here is a link to my website where you can download the program
http://home.earthlink.net/~carlos_neto/

Enjoy!

Carlos
by carlosn
Tue Nov 10, 2009 2:25 am
Forum: PS3 Linux Development
Topic: OpenCL for Cell
Replies: 15
Views: 10618

Well, the Julia set example provided in the samples is a good reference. It generates 50 frames in 1.92 sec. The frames are 512x512 in size. So we’re talking roughly at about 26 frames per seconds. I consider this real time. I believe one of the samples in Mac OS produces Julia sets as well. I don’t...
by carlosn
Fri Nov 06, 2009 2:26 am
Forum: PS3 Linux Development
Topic: OpenCL for Cell
Replies: 15
Views: 10618

I had similar issues at the beginning. I believe the IBM XL Compiler for OpenCL is not installed properly. Installing the rpms located in the iso is not enough. You have to run the xlc_install (bash script) for proper installation. The only problem is the script checks for Fedora 7 or Red Hat Enterp...
by carlosn
Thu Nov 05, 2009 7:23 am
Forum: PS3 Linux Development
Topic: OpenCL for Cell
Replies: 15
Views: 10618

I am also running YDL 6.2 and cell sdk 3.1. The compiler I am using is good old reliable gcc/g++.

Besides installing the OpenCL Development Kit, did you also install the IBM XL Compiler for OpenCL, V0.1? Both downloads are provided by IBM.
by carlosn
Tue Nov 03, 2009 10:03 pm
Forum: PS3 Linux Development
Topic: OpenCL for Cell
Replies: 15
Views: 10618

I wonder if that will be also part of the cell sdk for ps3, just seen IBM server support so far. The packages posted in the IBM website support the PS3 as well. The IBM BladeCenter QS22 has 2 cell processors inside. The software is compatible with the PS3. You have to install the cell sdk prior to ...
by carlosn
Tue Nov 03, 2009 3:48 am
Forum: PS3 Linux Development
Topic: OpenCL for Cell
Replies: 15
Views: 10618

OpenCL for Cell

This is great news! Cell now supports opencl. I installed the OpenCL Development Kit in my ps3. The Julia set sample outputs to the ps3 framebuffer with minor modifications to the Makefile. Here is a link to the IBM website. http://www.ibm.com/developerworks/forums/thread.jspa?threadID=281018&ts...
by carlosn
Wed Aug 12, 2009 10:35 am
Forum: PS3 Linux Development
Topic: Passing variables to SPE
Replies: 6
Views: 6274

There is a great introductory article about programming the cell at the IBM site. The code at the end for the article answers your question about passing data from PPE to the SPEs. The only drawback is the article uses libspe library. Few months ago, I ported the code to use libspe2. Here is the lin...
by carlosn
Tue Oct 07, 2008 11:16 am
Forum: PS3 Development
Topic: OtherOS demo 1.1 (with RSX visuals)
Replies: 59
Views: 145328

I changed the line of code to
#define GPU_CMD_BUF_SIZE (2 * 1024 * 1024)
and run the demo, but all I get is a blank screen.

I am running firmware 2.42

Demo 1.0 works without a glitch.
by carlosn
Mon May 26, 2008 11:59 am
Forum: PS3 Development
Topic: spe-mfcio.h
Replies: 2
Views: 3194

The example you mention uses libspe and the CELL sdk 3.0 uses libspe2. You will have to upgrade the code.

Read this article, it will help you understand.

http://www.ibm.com/developerworks/library/pa-libspe2/

Carlos
by carlosn
Fri Feb 08, 2008 11:51 pm
Forum: General Discussion
Topic: Unable to view svn
Replies: 11
Views: 9281

Unable to view svn

Can someone fix the “view svn” option on the main page. The past few days, I've been getting the following warning. Forbidden You don't have permission to access / on this server. Apache/2.0.59 (FreeBSD) DAV/2 PHP/5.2.0 with Suhosin-Patch mod_jk/1.2.19 Server at svn.ps2dev.org Port 80 I can still ch...
by carlosn
Thu Jul 26, 2007 10:20 pm
Forum: PS2 Development
Topic: ROMDIR
Replies: 4
Views: 4324

Look at the list of your ROM dump.

Name ? Size ?
---------- ---- ----- -----
ROMDIR 80 1584 0
EXTINFO 0 2028 0

The second entry is the extended info. It defines long names for the BIOS modules.
by carlosn
Thu Jul 26, 2007 5:55 am
Forum: PS2 Development
Topic: ROMDIR
Replies: 4
Views: 4324

Here is the structure

struct romfs_dirent {
char name[10];
short ext_size; // Size of the extended info
int size; // Size in bytes
};
by carlosn
Sun Mar 25, 2007 5:17 am
Forum: PS3 Development
Topic: PS3 Firmware 1.11
Replies: 22
Views: 21921

florinsasu wrote: the ps2 bios from ps3 is the same for 1.00 and 1.02 firmwares. it changed only in 1.10. haven't checked yet in 1.11 but i think is the same. and that is for ps2 games. Can you elaborate on how you are able to identify the PS2 bios within the update. Have you been able to decrypt th...
by carlosn
Tue Mar 20, 2007 11:47 am
Forum: PS3 Linux Development
Topic: ps3lines homebrew game
Replies: 10
Views: 7434

When I first run your program, I only saw a diagonal line. After that the program did not respond. I was somewhat concern that it was malicious code. I started disecting the binary file just to make sure that the program did not do anything funny. It looked ok so I decided to run it again. The secon...
by carlosn
Tue Mar 06, 2007 11:05 am
Forum: PS3 Linux Development
Topic: SPU initiated DMA with libspe2
Replies: 12
Views: 9121

I found that page before posting, but it's not a lot of use as that DMA magic is hidden in macros (e.g. UPDATE_LOCAL) which are not given on the page he describes. He doesn't provide a link to the source he bases his example on, so I did a google code search for them but came up with nothing. The D...
by carlosn
Mon Mar 05, 2007 10:46 am
Forum: PS3 Linux Development
Topic: SPU initiated DMA with libspe2
Replies: 12
Views: 9121

look at this site
http://www.stolk.org/ps3/

The sample there is actually a port of one the samples from the CELLSDK. He ported it to use libspe2 and he's doing DMA transfers. I tested the sample and it compiles and that's what it claims.
by carlosn
Sat Feb 24, 2007 9:57 am
Forum: PS2 Development
Topic: Debugging dvp-as... (crashes on DMARet *)
Replies: 9
Views: 4032

The sources are on DVD # 2 of the Playstation2 linux Kit. The good news is that the second DVD is all GPL and can be distributed at will. I own a set of discs but I don't have a site to host the packages.
by carlosn
Fri Feb 23, 2007 12:02 pm
Forum: PS2 Development
Topic: Debugging dvp-as... (crashes on DMARet *)
Replies: 9
Views: 4032

I have used ee-dvp-as from the PS2Linux kit in native ps2 elfs. It works like a charm. Last time I checked, they were binaries available for download from the Playstation2-linux website. There is also vumacros.h which contains useful VU macros as the name implies. Try these links Under Cygwin ------...
by carlosn
Wed Feb 14, 2007 12:20 pm
Forum: PS2 Development
Topic: irx into elf
Replies: 3
Views: 2322

Gandhi wrote i have a question. can i include the sio2man.irx and padman.irx into a elf file when i have the official sony librarys ??? I know two ways you can accomplish this. The first one which is somewhat easy and less efficient Find a PS2 game which has the same IOP image, sio2man.irx and padma...
by carlosn
Fri Feb 02, 2007 8:59 am
Forum: PS3 Linux Development
Topic: Programming PS3 Linux frame buffer
Replies: 22
Views: 13936

These are the rpms that I have in my system libspe2-2.0.1-1.ppc.rpm libspe2-2.0.1-1.ppc64.rpm libspe2-devel-2.0.1-1.ppc.rpm libspe2-devel-2.0.1-1.ppc64.rpm Now that I have access to my notes, this is how I did my installation. add === mesa-libGLU-devel-6.4.2-6.FC5.3.ppc.rpm freeglut-devel-2.4.0-4.pp...
by carlosn
Wed Jan 31, 2007 4:06 am
Forum: PS3 Linux Development
Topic: Programming PS3 Linux frame buffer
Replies: 22
Views: 13936

I am also running Yellow Dog Linux 5.0 dated 1208 (kernel 2.6.16) I managed to install the Cell BE 2.0 SDK. The installation was a little tricky. I wrote some notes about it but I do not have access to them at the moment. The general idea is you need to install about 5 or 6 rpms that do not get inst...
by carlosn
Tue Jan 30, 2007 1:49 pm
Forum: PS3 Linux Development
Topic: Programming PS3 Linux frame buffer
Replies: 22
Views: 13936

This is really exciting. I am impressed with the joystick manipulation in your program. About two weeks ago, I posted a question in the PS2linux forums about not being able to use the controller under PS3Linux. I did not get an answer at the time. Well, you indirectly answered my question. Thanks a ...
by carlosn
Sun Dec 17, 2006 5:50 am
Forum: PS2 Development
Topic: IRX: module list
Replies: 3
Views: 2662

Besides the library entry, you need to know what specific IOP module(s) the irx is calling. For example SIO2MAN, SYSCLIB etc. Once you know the IOP module and library entry, just look in /ps2sdk/iop/kernel/src/*.s and you will find out the information you're looking for. I am not sure if this is wha...
by carlosn
Thu Dec 07, 2006 10:07 am
Forum: General Discussion
Topic: SVN is not working
Replies: 7
Views: 6159

Browsing SVN through the web is not working
http://svn.ps2dev.org/
I could not browse the repository through the web and I assumed it was not working. If I use the svn command, I can list and checkout projects.

Thanks for all your responses.

Someone should fix the web portion of SVN.
by carlosn
Tue Dec 05, 2006 9:15 am
Forum: General Discussion
Topic: SVN is not working
Replies: 7
Views: 6159

SVN is not working

I am trying to browse the SVN repository and I keep getting this error message:

Error running this command: svnlook youngest '/home/svn/ps2'

Can someone look into this?

Thanks,
Carlos
by carlosn
Wed Nov 29, 2006 12:29 pm
Forum: General Discussion
Topic: [PS2] Lua Player
Replies: 6
Views: 5403

I compiled successfully luaplayer.elf Whenever I run the elf, I get the power by Lua on the screen and I can't get passed this point. My output on the console looks like this: loadelf: fname host:luaplayer.elf secname all Input ELF format filename = host:luaplayer.elf 0 00100000 001be194 ..............
by carlosn
Tue Nov 28, 2006 10:28 am
Forum: General Discussion
Topic: [PS2] Lua Player
Replies: 6
Views: 5403

I am having problems compiling PS2 LuaPlayer. It's looking for a file "sound.h" that is not in the source. Looking at the Makefile, it also requires "sound.cpp"
Are these files part of a different library or are they missing in SVN?

Thanks,

Carlos
by carlosn
Wed Nov 15, 2006 10:20 am
Forum: PS3 Development
Topic: CELL-Linux-CL_20061110-ADDON.iso
Replies: 0
Views: 3459

CELL-Linux-CL_20061110-ADDON.iso

We almost have all the pieces for ps3linux!

Source:
http://blog.cell.sijam.com/

ftp download:
http://67.117.136.164/pub/cell/iso/

Enjoy!