Search found 21 matches

by Orfax
Wed Jun 28, 2006 10:12 am
Forum: PS3 Development
Topic: Windows Toolchain?
Replies: 2
Views: 3248

Re: Windows Toolchain?

Are there any plans to port the linux cell simulator/compilers by ibm or a third party? Or should I just take the plunge and install linux? Getting a port of the GNU toolchain should be possible as the changes are released as GPL. However the simulator and xlc compiler are released on IBMs ILAR lic...
by Orfax
Fri Jun 16, 2006 9:29 am
Forum: PS2 Development
Topic: Help please, i am stuck.
Replies: 12
Views: 5779

Drakonite wrote: specifically it should be /home/username/ but I don't know exactly how cygwin has things screwed up
Just as screwed up as any other Unix OS then, huh (yes its /home/username/).
by Orfax
Thu Jun 15, 2006 11:11 am
Forum: PS2 Development
Topic: fread and ungetc bug fix
Replies: 5
Views: 3311

Re: fread and ungetc bug fix

While working on lua support we discovered what appears to be a bug in stdio.c. Yes I think there are a few more still (I will have a look at those when I get around to them). While it may have nothing to do with what you guys have found, I just wanted to let you know I recently did some changes to...
by Orfax
Thu Jun 15, 2006 9:59 am
Forum: PS2 Development
Topic: Help please, i am stuck.
Replies: 12
Views: 5779

i get make as an unreconized internal or external command This is a Windows cmd error. It cannot find make. What this means is you are not running a bash shell when make is run. There should be a script called "cygwin.bat" in the root cygwin folder which starts a bash shell for you. The a...
by Orfax
Thu Jun 08, 2006 10:47 am
Forum: PS2 Development
Topic: Latest PS2 Toolchains for Win32 problem
Replies: 8
Views: 4477

When I launch bash.exe , an error message box is shown saying that "cydreadline6.dll" is not found , what shall I do I assume you mean cygreadline6.dll. If not then you need to reinstall cygwin. Is the file in the cygwin bin directory? If not, you need to reinstall cygwin. Are you running...
by Orfax
Mon May 08, 2006 12:12 pm
Forum: PS2 Development
Topic: gskit bugs(minor)
Replies: 6
Views: 3460

Re: sprintf

The first thing to do is to try and determine if it is sprintf() or gsKit_font_print_scaled() that is buggy. After doing the sprintf, printf the string, and check the console to see what is printed.
by Orfax
Wed May 03, 2006 8:05 am
Forum: General Discussion
Topic: bitwise and hexadecimal :S
Replies: 31
Views: 15116

cory1492 wrote:It looks to me like an 5 letter word; if so you'd convert them to hex and either look them up on a ascii table...
It can't be ASCII, as the top bit is set for 4 of the bytes. ASCII is only 0 - 127 (0x0 to 0x7F in hex).
by Orfax
Thu Apr 27, 2006 11:46 am
Forum: General Discussion
Topic: bitwise and hexadecimal :S
Replies: 31
Views: 15116

As they say, there are only 10 types of people in this world. Those that understand binary and those that don't. :)
by Orfax
Thu Apr 13, 2006 11:32 am
Forum: PS2 Development
Topic: Tutorial: How to setup a ps2dev env in cygwin
Replies: 64
Views: 37914

while cygwin creating the ps2dev toolchain i followed the instructions in the tutorial and downloaded the crismon editor. but i didnt understand in which language i can program my ps2 projects, and in whch format should i save it. C / C++. If you are not familiar with C, then I suggest you learn th...
by Orfax
Wed Apr 12, 2006 12:39 pm
Forum: PS2 Development
Topic: Tutorial: How to setup a ps2dev env in cygwin
Replies: 64
Views: 37914

But i dont get it, how do i getting to select these packages? After that i runned the setup without it and runned cygwin but when i wrote in cygwin : svn checkout svn://svn...... it said not such a command svn. You don't have subversion installed. Run cygwin's setup again, when you get to the packa...
by Orfax
Wed Feb 22, 2006 2:14 am
Forum: PS2 Development
Topic: Strange sscanf results
Replies: 5
Views: 3900

I've put my changes up on the SVN repository. Modified source files are stdio.c and xscanf.c in the libc library.

Orfax.
by Orfax
Mon Jan 09, 2006 12:20 pm
Forum: PS2 Development
Topic: Getting write access to SVN repositories...
Replies: 1
Views: 1785

Getting write access to SVN repositories...

How does one go about getting write access to the SVN repositories? I want to put up some changes to the scanf functions.

I've pm'ed Oobles about a month ago, and have heard no response.

Should I just wait longer, email my changes to the relevant maintainer, or can someone else give me write access?
by Orfax
Wed Dec 14, 2005 10:32 pm
Forum: PS2 Development
Topic: Tutorial: How to setup a ps2dev env in cygwin
Replies: 64
Views: 37914

JorDy, It looks like you don't have all the ps2toolchain files. In particular you are missing the .patch files. Did you run the svn command I gave above. If you did it should have created a ps2toolchain directory with all the files you need to build. Run the ps2toolchain.sh script from that director...
by Orfax
Mon Dec 12, 2005 3:39 pm
Forum: PS2 Development
Topic: Tutorial: How to setup a ps2dev env in cygwin
Replies: 64
Views: 37914

ok thanks ive downloaded everything you said apart from the toolchain into a folder on my desktop called cygwin(its not the actual cyg dir), what do i do next? Cygwin setup gives you the option to download without installing (this is what you have probably done) or to install from either the intern...
by Orfax
Sun Dec 11, 2005 9:36 am
Forum: PS2 Development
Topic: Tutorial: How to setup a ps2dev env in cygwin
Replies: 64
Views: 37914

Try using the one in the svn repository. svn checkout svn://svn.ps2dev.org/ps2/trunk/ps2toolchain and then run toolchain.sh I tried cygwin-toolchain.sh as well but it didn't work for me (failed somewhere in the build process). Not sure about cygwin, try it again, but with a different server. I use a...
by Orfax
Sun Dec 04, 2005 1:15 am
Forum: PS2 Development
Topic: Strange sscanf results
Replies: 5
Views: 3900

Further testing has revealed a couple more issues with sscanf (and just as I was going to do a change on the repository). All these issues apply to all the scanf type functions BTW. I just happen to be using sscanf. First issue, short ints were not working (ie "%hd"). This was because the ...
by Orfax
Fri Nov 25, 2005 3:50 pm
Forum: PS2 Development
Topic: Strange sscanf results
Replies: 5
Views: 3900

No, \n should just be treated as whitespace. At least it does under test programs I have for Cygwin, AIX, and PS2.
by Orfax
Wed Nov 23, 2005 2:34 pm
Forum: PS2 Development
Topic: Strange sscanf results
Replies: 5
Views: 3900

I've been doing a bit more testing on the changes I did and had a problem caused by my changes. The following code was finishing before it got to the fourth allocation. res = sscanf(str, "%s%d%d%*d%d%*c", s1, &n1, &n2, &n3); To fix it I took out the format strin...
by Orfax
Sun Nov 20, 2005 11:03 pm
Forum: PS2 Development
Topic: Strange sscanf results
Replies: 5
Views: 3900

Strange sscanf results

I've been getting some strange sscanf results from ps2sdk (in libc.a), which I think is a bug. The following snippet should return 3 (the amount of allocations done) but instead its returning 5 (the amount of conversions done). res = sscanf(str, "%s%d%d%*d%*c", s1, &n1, &n2...
by Orfax
Tue Apr 13, 2004 5:32 pm
Forum: PS2 Development
Topic: ps2lib strchr bug
Replies: 3
Views: 3233

Thanks mrbrown, It turned out I was using ps2lib v2.0. I'm now using 2.1. The problem wasn't with ps2lib in the end. It appears the broken strchr() is in libc.a. I was linking in -lc for fprintf and strchr() was being picked up there before the -lkernel got in. The solution (for me) is to either get...
by Orfax
Thu Apr 08, 2004 3:55 pm
Forum: PS2 Development
Topic: ps2lib strchr bug
Replies: 3
Views: 3233

ps2lib strchr bug

I think I've found a bug in the ps2lib's strchr function. I have the following code... int main (int argc, char *argv[]) { static char *a1 = "test=hello"; static char *a2 = "gameMode=R234--STDL"; char *p; char msg[80]; Init...