Search found 23 matches
- Sun Dec 05, 2004 7:03 am
- Forum: PS2 Development
- Topic: DHCP
- Replies: 9
- Views: 4553
DHCP DOES work with PS2IP
Folks; After reading these posts about DHCP I was greatly concerned. I've been revving our stack up to PS2IP and had worked my way down the the last item-- DHCP. However, all is fine. But you DO need to recompile ps2ip, ps2ip2, and smap, and your apps of course if they touch netif. This is because o...
- Tue Oct 05, 2004 5:20 am
- Forum: PS2 Development
- Topic: Race condition in ps2ip client & server?
- Replies: 2
- Views: 2201
- Tue Oct 05, 2004 3:09 am
- Forum: PS2 Development
- Topic: Race condition in ps2ip client & server?
- Replies: 2
- Views: 2201
Race condition in ps2ip client & server?
I suspect we have a race condition in the usage of the static rpc buffers. Imagine two threads, both calling send. The first gets all the way through the code into sif, sends the request and blocks on the semaphore waiting for the rpc reply. Because its blocks, the second charges through a similar c...
- Mon Oct 04, 2004 10:09 am
- Forum: PS2 Development
- Topic: Bug in iop/tcpip/tcpips?
- Replies: 4
- Views: 2626
- Mon Oct 04, 2004 7:09 am
- Forum: PS2 Development
- Topic: Bug in iop/tcpip/tcpips?
- Replies: 4
- Views: 2626
Bug in iop/tcpip/tcpips?
Folks;
I believe that the src/imports.lst file needs to move the import entry of I_sceSifGetOtherData from sifman to sifcmd (where it lives). I have no idea how send/recv from the EE to the IOP ever worked without this...
tjd
I believe that the src/imports.lst file needs to move the import entry of I_sceSifGetOtherData from sifman to sifcmd (where it lives). I have no idea how send/recv from the EE to the IOP ever worked without this...
tjd
- Wed Sep 22, 2004 5:03 am
- Forum: PS2 Development
- Topic: GCC optimisation issues.
- Replies: 4
- Views: 2563
On the IOP, with GCC3.2.2 I've encountered [recently-- like last week] a set of strangeness related to -O2. When I backed off to -O0, the code worked as expected. -O1 didn't work either. Basically, the address of variables seemed to get lost. I'm suspecting a register allocation problem (or perhaps ...
- Sat Sep 11, 2004 11:17 pm
- Forum: PS2 Development
- Topic: get rid of debug-info in ELF-file
- Replies: 14
- Views: 5883
- Sat Sep 11, 2004 1:14 am
- Forum: PS2 Development
- Topic: get rid of debug-info in ELF-file
- Replies: 14
- Views: 5883
- Fri Sep 10, 2004 9:48 pm
- Forum: PS2 Development
- Topic: get rid of debug-info in ELF-file
- Replies: 14
- Views: 5883
- Thu Sep 09, 2004 10:26 pm
- Forum: PS2 Development
- Topic: get rid of debug-info in ELF-file
- Replies: 14
- Views: 5883
- Thu Sep 09, 2004 10:21 pm
- Forum: PS2 Development
- Topic: IOP Exception handler ?
- Replies: 8
- Views: 4902
Exception handling on the EE and IOP
On the IOP, I found it easiest to install a new handler using excepman. If you don't have the library stub, I can post it. The call is: RegisterDefaultExceptionHandler(your-trap-handler); It's better to do this than install you own handler since the basic IOP has to keep running and I'd rather be ab...
- Mon Sep 06, 2004 10:07 pm
- Forum: PS2 Development
- Topic: get rid of debug-info in ELF-file
- Replies: 14
- Views: 5883
- Mon Sep 06, 2004 2:03 am
- Forum: PS2 Development
- Topic: Messed up symbol tables for IRX files...
- Replies: 0
- Views: 1663
Messed up symbol tables for IRX files...
Venerable Toolchain Gods: Environment: gcc-3.2.2 + binutils 2.14 Simple program on the IOP. After linking, the addresses in the symbol table for everything in the .data section are wrong (they appear to be off by a factor of two-- double relocations?). Needless to say, this makes debugging hard[er] ...
- Wed Jul 21, 2004 7:37 am
- Forum: PS2 Development
- Topic: SetVCommonHandler usage...
- Replies: 3
- Views: 3076
- Wed Jul 21, 2004 5:22 am
- Forum: PS2 Development
- Topic: SetVCommonHandler usage...
- Replies: 3
- Views: 3076
SetVCommonHandler usage...
Does anyone have any idea why you can use SetVCommonHandler for things like breakpoints, but it doesn't seem to work for exceptions like bad addresses, FPE etc.? I looked at the code in ps2gdb and it's pretty similar to mine. If I execute a breakpoint, my handler gets called. If I reference a bad ad...
- Thu Jun 03, 2004 9:58 pm
- Forum: PS2 Development
- Topic: MC madness
- Replies: 5
- Views: 3762
- Thu Jun 03, 2004 4:38 am
- Forum: PS2 Development
- Topic: MC madness
- Replies: 5
- Views: 3762
MC madness
Is it just me, or do others get wierd results sometimes when reading (::read, ::fioRead etc.) from files on a MC. The opens always seem to work, but some files just return 0 bytes on a read (although the directory has the correct length).
I'm using MCMAN if that makes any difference...
I'm using MCMAN if that makes any difference...
- Sat May 29, 2004 3:32 am
- Forum: PS2 Development
- Topic: IOP calling convention differences in GCC3.2.2
- Replies: 21
- Views: 9986
It ain't all that broke...
Before you guys go too far and take the entire car and engine apart, scattering the parts all over the garage floor, all the time hoping you can build an old DeSoto out of it.... It ain't all that broke is it? I scribbled some assembler to fix my calling conventions problem, fixed some broken protot...
- Fri May 28, 2004 9:38 pm
- Forum: PS2 Development
- Topic: Misc problems in header files EE and IOP
- Replies: 1
- Views: 1924
Misc problems in header files EE and IOP
Folks; Any good reason for O_RDONLY being 1 in PS2LIB-2.1 and 0 in newlib(1.11.0)? This causes some confusion for us poor filoe system driver writers. And another thing, the prototype on the IOP side for lseek (api and driver call) is wrong. The offset is typed as an unsigned long. (huh, how do nega...
- Thu May 27, 2004 4:13 am
- Forum: PS2 Development
- Topic: IOP calling convention differences in GCC3.2.2
- Replies: 21
- Views: 9986
GCC 3.2.2 for IOP
Well, that's depressing... Is there a list of things that "don't work as intended"? At the moment, a fairly large piece of IOP code is running and I want to continue with 3.2.2 unless its hopeless. I can easily bridge around the function call problem by wriiting a bit of assembler, but if ...
- Thu May 27, 2004 2:13 am
- Forum: PS2 Development
- Topic: IOP calling convention differences in GCC3.2.2
- Replies: 21
- Views: 9986
IOP calling convention differences in GCC3.2.2
Folks; In updating our stuff from compiled with 2.9xxx to 3.2.2, I've noticed that the function calling conventions are different. This affects any functions taking more than 4 arguments (sprintf anyone?) or lots of the USB functions. Old compiler stuffed args into $4-$7 then on the stack. The new o...
- Thu May 27, 2004 2:02 am
- Forum: PS2 Development
- Topic: USB-flash-disk lib?
- Replies: 16
- Views: 11383
Re: usbd in ps2lib
All that you need is there in usbd.irx. Its fairly straightforward to add functionality to provide generic SCSI/SFF support. We've got memory sticks, cards, flash drives, Apple iPods, ordinary USB mass storage devices etc. all running in our media player product. [quote="ole"]Well I though...
- Thu May 27, 2004 2:01 am
- Forum: PS2 Development
- Topic: USB-flash-disk lib?
- Replies: 16
- Views: 11383
Re: usbd in ps2lib
All that you need is there in usbd.irx. Its fairly straightforward to add functionality to provide generic SCSI/SFF support. We've got memory sticks, cards, flash drives, Apple iPods, ordinary USB mass storage devices etc. all running in our media player product. [quote="ole"]Well I though...