Search found 155 matches

by mharris
Fri Mar 11, 2005 8:41 am
Forum: PS2 Development
Topic: How can build ps2sdk with ps2dev.
Replies: 8
Views: 4996

Re: This is my fault.

hltrex wrote:Hi all,
i must say sorry everybody because this is my fault.
Now i can built it. Thank you very much.
Why don't you post what you did wrong, and how you corrected it? That way newcomers can learn from your mistakes.

Assuming anyone searches these forums before posting questions...
by mharris
Wed Mar 09, 2005 5:41 am
Forum: PS2 Development
Topic: dvp-objdump disassembly
Replies: 16
Views: 10139

OK, think I've got it fixed now. Two simple changes to disassemble.c Like I said, I'm gonna do as full a regression test as I can to make sure nothing's broken before releasing -- this includes building EE C source with inline COP2 VU instructions, micro-mode VU asm, and (just to be safe) some IOP s...
by mharris
Wed Mar 09, 2005 4:41 am
Forum: PS2 Development
Topic: VU Harness, Creating Eratosthenes Demo
Replies: 25
Views: 15079

The only C code in the tarball is ggp.c -- in it, you're dumping the GIF packet to a file, but never sending it to VU1. The vu code looks OK, assuming you send the GIF data to VU1 address 0. I didn't disassemble your GIF packet to see it's correct or not.
by mharris
Tue Mar 08, 2005 11:03 pm
Forum: PS2 Development
Topic: dvp-objdump disassembly
Replies: 16
Views: 10139

Ah, huh, yeah, of course: you can build vu0 code for EE, since one of its behavior is to act as the ee's cop2. So, you need to have some of the dvp instruction support for EE. I think.... Huh.... doesn't sound right to me. I'll look at it whenever I found some spare minutes to do so :P Mumble. Oh y...
by mharris
Tue Mar 08, 2005 3:32 pm
Forum: PS2 Development
Topic: dvp-objdump disassembly
Replies: 16
Views: 10139

I am thinking that the cause of the error is the following lines in bfd/config.bfd (in the binutils project): case "${targ}" in mips64*-scei*-elf*) targ_archs="${targ_archs} bfd_dvp_arch" ;; esac It looks like whenever building for the ...
by mharris
Tue Mar 08, 2005 10:23 am
Forum: PS2 Development
Topic: dvp-objdump disassembly
Replies: 16
Views: 10139

Hmm, looks like my patch may have broken EE disassembly via ee-objdump. It seems that ARCH_dvp is defined for the EE binutils configuration, and so any attempt to use the disassembler in ee-objdump treats the object file as a DVP object (VU, etc.), and won't show the R5900 opcodes as expected. In th...
by mharris
Tue Mar 08, 2005 1:57 am
Forum: PS2 Development
Topic: debug.h quick question about scr_printf
Replies: 20
Views: 5298

O_WRONLY - open the file for writing only O_TRUNC - truncate the file (set to zero length) if it already exists O_CREAT - create the file if it doesn't exist 'man 2 open' or look in K&R for more info, these flags are from standard C Don't know why dropping O_WRONLY would work, seems to me neithe...
by mharris
Mon Mar 07, 2005 2:45 am
Forum: PS2 Development
Topic: error with toolchain.sh (script of oopo)
Replies: 4
Views: 3664

Unfortunately, the actual error message was not in the output you posted, as far as I can tell. If you scroll further up, there should be some sort of error indicating why newlib couldn't be installed. The only clue I see is 'Error 141' which is 0x8d -- signal 0x0d is SIGPIPE. This may mean that som...
by mharris
Mon Mar 07, 2005 2:30 am
Forum: General Discussion
Topic: Mac mini
Replies: 10
Views: 6770

I also thought about trying out Xcode for the cross-compiler toolchain but it was only a thought since I have always been a command-line kinda guy. :) Yeah, me too, for the most part. I generally use Emacs (which does allow you to compile within the editor, and jump to compilation errors, which is ...
by mharris
Sun Mar 06, 2005 5:27 am
Forum: General Discussion
Topic: Mac mini
Replies: 10
Views: 6770

Mac mini

I just got a Mac mini. I love it. I have successfully moved all my ps2dev crap from my ancient Linux machine (600MHz P3 w/ 128M RAM) to this little jewel, and everything's working wonderfully, including Oopo's toolchain, pksh, etc. A real unix system with an awesome UI... and for under US$800 (start...
by mharris
Sun Mar 06, 2005 5:13 am
Forum: PS2 Development
Topic: How can build ps2sdk with ps2dev.
Replies: 8
Views: 4996

If you could give a little more information about why it's not building, you'll be more likely to get (useful) information. Many (most?) people here are using cygwin, with great success (although I'm not one of them). Make sure you have included all of the components of cygwin that are needed -- gcc...
by mharris
Fri Mar 04, 2005 3:35 pm
Forum: PS2 Development
Topic: debug.h quick question about scr_printf
Replies: 20
Views: 5298

[mharris@gateway mharris]$ cd /usr/local/ps2dev/ps2sdk/ee/lib [mharris@gateway lib]$ ls libc.a libfileXio.a libkernel.a libmtap.a libps2ip.a libcdvd.a libhdd.a libmc.a libpad.a libsbv_patches.a libdebug.a libkbd.a libmouse.a libpoweroff.a libsyscall.a [mharri...
by mharris
Fri Mar 04, 2005 1:46 am
Forum: PS2 Development
Topic: Talk to me about sound
Replies: 8
Views: 3117

Talk to me about sound

Since the SPU (or is it SPU2 -- I don't even know the processor's name) is not officially documented anywhere for non-licensed developers, I have a bunch of questions that have arisen from digging through what code is available. Some are pretty obvious, but I'd just like some confirmation... LIBSD i...
by mharris
Wed Mar 02, 2005 8:44 am
Forum: General Discussion
Topic: windows for ps2
Replies: 14
Views: 340757

Re: ps2 windows

can i load window-xp on ps2 my cousion got 1G for his ps2 he got it throught a web site but he can't say but he can get me one it was designed by sony. can i load windows program into elf and irx file Sure. All you'll have to do is write an x86 emulator for the R5900. You'll also need to cobble tog...
by mharris
Sat Feb 26, 2005 5:57 am
Forum: General Discussion
Topic: windows for ps2
Replies: 14
Views: 340757

Re: windows for ps2

coolcliff wrote:can load ps2 with windows xp
not
by mharris
Fri Feb 25, 2005 12:43 pm
Forum: PS2 Development
Topic: Syscalls and Interrupts
Replies: 9
Views: 8312

An interrupt is typically generated by an external event (most CPUs have an INTR or similar pin). On the PC, which is more general purpose, you have the various interrupt request levels which any hardware device can claim (e.g., IRQ3). The EE has stuff a little more hard-wired, as far as I can tell,...
by mharris
Fri Feb 25, 2005 5:00 am
Forum: PSP Development
Topic: POST PICTURES OF PSP
Replies: 18
Views: 13531

Mawdsley wrote:Gotta love the jpg viewer for playing with ppls minds.
kewlphil wrote:so can you acutally go online with the psp and search with google?
by mharris
Fri Feb 25, 2005 1:43 am
Forum: General Discussion
Topic: GDC '05
Replies: 6
Views: 4066

GDC '05

Is anyone here planning on attending GDC (San Francisco, 7-8 March)? I'm not, but would be curious to hear any reports.

Maybe next year ps2dev.org can get a booth ;-)
by mharris
Thu Feb 17, 2005 5:34 am
Forum: PSP Development
Topic: PSP Release
Replies: 18
Views: 12220

According to the geography I was taught in school, Turkey, like Russia (it was the Soviet Union back when I was in school), is in both Europe and Asia. The little bit of Turkey that's west of the Bosporus -- the channel connecting the Black Sea with the Mediterranian -- is considered Europe. Of cour...
by mharris
Wed Feb 16, 2005 8:56 am
Forum: PS2 Development
Topic: IDE - Mingw Developer studio, ps2dev & ps2sdk tutorial
Replies: 16
Views: 8654

OK, four files:
  • "..\..\..\..\..\..\Documents"
  • "and"
  • "Settings\Administrator\Desktop\ps2menu"
  • "sourcode\ps2menu\ps2menu.c"
Just seeing if anyone was paying attention...
by mharris
Wed Feb 16, 2005 8:52 am
Forum: PS2 Development
Topic: IDE - Mingw Developer studio, ps2dev & ps2sdk tutorial
Replies: 16
Views: 8654

Compiling source file(s)... ps2menu.c ee-gcc: cannot specify -o with -c or -S and multiple compilations ee-gcc -D_EE -I\ee\include -I\common\include -I. -Wall -g0 -O2 -c ..\..\..\..\..\..\Documents and Settings\Administrator\Desktop\ps2menu sourcode\ps2menu\ps2menu.c -o Release\ps2menu.o test2.elf ...
by mharris
Fri Feb 11, 2005 11:50 am
Forum: PS2 Development
Topic: misc dev questions
Replies: 11
Views: 5733

Re: misc dev questions

It currently only deals with APA/PFS. I actually got about 75% of the way with an ext2fs driver for ps2sdk. It's read-only, and there are many many missing features. I don't know what state it's in right now, this was a couple months ago and it's been relegated to my ever-growing pile of semi-finis...
by mharris
Thu Feb 03, 2005 7:59 am
Forum: PS2 Development
Topic: libmp3 now in cvs
Replies: 10
Views: 8880

ooPo wrote:Dark Lord Of the Sif,
May I call you mister brown?
You've gone haiku-coo.
Mod +1 Funny
by mharris
Tue Feb 01, 2005 11:24 am
Forum: General Discussion
Topic: Budcat is hiring
Replies: 12
Views: 8101

A good resource for anyone interested in the industry (in North America, anyway) would be Game Developer Magazine They have an annual salary review in the mag, and they have a more comprehensive one from their site (don't think it's free though).
by mharris
Fri Jan 28, 2005 5:53 am
Forum: PS2 Development
Topic: Busy waits?
Replies: 4
Views: 3375

We use something similiar to what you describe - a thread woken up by a vblank interrupt handler.. You can use AddIntcHandler() to add a vblank handler. IIRC there are some ps2dev examples that show how to do this. Cool, thanks. Also, I see this in kernel.h: void SetVInterruptHandler(s32 ha...
by mharris
Thu Jan 27, 2005 3:15 pm
Forum: General Discussion
Topic: How many (working) Sony game consoles do you have ?
Replies: 11
Views: 7140

I finally had to buy a 2nd one a few months ago -- my son kept wanting to play games on it!! Kids... He got the new one, and I got the old one with the cranky CD drive tray (from my adventures with the "knife trick" in the pre-exploit days). I found my old Amiga 1000 monitor in the attic (...
by mharris
Thu Jan 27, 2005 2:34 pm
Forum: PS2 Development
Topic: Busy waits?
Replies: 4
Views: 3375

Busy waits?

A lot of the code I've seen has a vblank routine that looks something like this: while(!((*CSR) & GS_VSINT)) /* do nothing */ ; This is obviously going to eat up all of the CPU cycles that it can while it's waiting for the GS to set the VSync flag....
by mharris
Thu Jan 27, 2005 2:08 pm
Forum: PS2 Development
Topic: Getting g++ to work
Replies: 30
Views: 10711

hello.o(.data+0x11): In function `main': hello.cpp: undefined reference to `__gxx_personality_v0' Try adding this to your Makefile EE_CXXFLAGS += -fno-exceptions This disables the extra code g++ adds to support C++ exceptions. Obviously, you won't be able to ...
by mharris
Thu Jan 27, 2005 1:59 pm
Forum: PS2 Development
Topic: pl2301 cable is it special
Replies: 8
Views: 3465

Yes, the PL2301 is special -- it's essentially a "null modem" or "crossover cable," although there's a little more to it than that (i.e., you can't just swap pairs like you can with serial or ethernet cables). Here's what I can remember about the way USB works: The USB standard h...
by mharris
Thu Jan 13, 2005 7:29 am
Forum: PS2 Development
Topic: Pb with USB Mouse/PS2SDK
Replies: 3
Views: 2529

Here's what I discovered after grepping the ps2sdk source: This error is reported in iop/usb/mouse/src/ps2mouse.c in the ps2mouse_config_set() routine. This is passed as the 'doneCB' callback function to UsbSetDeviceConfiguration(), which is invoked from ps2mouse_connect(). According to the usbd.h h...