Search found 246 matches

by radad
Thu Dec 24, 2009 7:54 am
Forum: PS2 Development
Topic: FAT volume name
Replies: 1
Views: 5846

There isnt a way to do that.

And MCs dont have volume names.
by radad
Tue Feb 24, 2009 7:33 am
Forum: PS2 Development
Topic: Release: RadMenu
Replies: 32
Views: 25542

The rest of it is in the svn repository on this site. http://svn.ps2dev.org/listing.php?repna ... rev=0&sc=0
by radad
Mon Feb 23, 2009 10:13 am
Forum: PS2 Development
Topic: Release: RadMenu
Replies: 32
Views: 25542

by radad
Sat Feb 21, 2009 12:18 pm
Forum: PS2 Development
Topic: Release: RadMenu
Replies: 32
Views: 25542

As far as I am concerned its finished. I dont plan on any more features.
by radad
Tue Feb 10, 2009 8:56 am
Forum: PS2 Development
Topic: Release: RadShell
Replies: 45
Views: 215225

Re: Release: RadShell

RadShell 0.6 released. New features:
Improved 'stat' output
Fixed an issue with 'del' return values
Added the 'sleep' command
Added the 'store' command
Added environment variables
Added NULL output redirection
Initial rsh is dependent on the elf name
by radad
Sat Feb 07, 2009 11:47 am
Forum: PS2 Development
Topic: gsKit troubles...
Replies: 10
Views: 6079

Thats right, include gskit and dmakit on your link line.

I usually use this:

Code: Select all

EE_INCS += -I$(GSKIT)/include
EE_LDFLAGS += -L$(GSKIT)/lib
EE_LIBS += -lgskit -ldmakit
by radad
Sat Feb 07, 2009 11:22 am
Forum: PS2 Development
Topic: gsKit troubles...
Replies: 10
Views: 6079

It looks like gsKit is installed correctly now.

So now you are trying to compile something else. You need to have the installed gsKit location included on its compile line.
by radad
Sat Feb 07, 2009 11:09 am
Forum: PS2 Development
Topic: gsKit troubles...
Replies: 10
Views: 6079

Well, again, looking at /home/craig/Desktop/gsKit-0.2/Makefile.pref line 16 is this: include $(PS2SDK)/Defs.make So it looks like you dont have PS2SDK defined. You should be able to build ok without using sudo but it is needed to do the install. I am not quite sure of the sematics of...
by radad
Sat Feb 07, 2009 10:48 am
Forum: PS2 Development
Topic: gsKit troubles...
Replies: 10
Views: 6079

Where did this directory come from: /home/craig/.local/share/Trash/files/gsKit-0.2 Thats not where you invoked the make from. Also the `pwd` wasnt expanded initially but was later. What shell are you using? Then later in `/home/craig/.local/share/Trash/files/gsKit-0.2/ee/gs/src' you get this error: ...
by radad
Sat Feb 07, 2009 9:17 am
Forum: PS2 Development
Topic: gsKit troubles...
Replies: 10
Views: 6079

By using the information in the error you posted look at Makefile.global line 12 and you see this: include $(GSKITSRC)/ee/Rules.make So it looks like GSKITSRC isnt defined. GSKITSRC is defined in the Makefile in the main gsKit folder like this: ifeq (x$(GSKITSRC&#...
by radad
Thu Jan 29, 2009 9:08 am
Forum: PS2 Development
Topic: gsKit with some bugfixes, features, and stuff
Replies: 36
Views: 25511

gsKit builds fine for me but I did just fix something in the makefile. PS2DEV was been set to '~/ps2dev' and the '~' wasnt working properly so I changed it to '$HOME/ps2dev'. Also I changed so it didnt reset PS2DEV if it was already set. This looks wrong: export GSKITSRC=$PS2DEV/gsKit GSKITSRC shoul...
by radad
Thu Jan 22, 2009 7:50 pm
Forum: Patch Submissions
Topic: Makefile structure patch and ps2cam.irx patch
Replies: 4
Views: 8685

Commited rev. 1522.

I noticed you included C_FLAGS on the link line for C projects and CXX_FLAGS and the link line for CXX projects but what if you have both C and CXX in one project?
by radad
Mon Jan 19, 2009 10:27 am
Forum: Patch Submissions
Topic: Makefile structure patch and ps2cam.irx patch
Replies: 4
Views: 8685

Isnt the '-c' option necessary to stop it attempting to link? In ee/rpc/audsrv/sample/Makefile you have removed the link flags, they should probably be included as well. Actually can this makefile be changed to use the standard sample makefile include to keep things consistent? Looking through the g...
by radad
Sun Jan 18, 2009 8:57 am
Forum: PS2 Development
Topic: ps2ip_init() hangs?...again
Replies: 16
Views: 8388

smap should only need dev9 and ps2ip. Emulators cant be fully trusted, best wait till you can test on real hardware.
Since it's declared, its value is equal to zero ;-)
Thats not true. C doesnt initialise variables implicitly. You have to be explicit.
by radad
Sat Jan 17, 2009 11:56 am
Forum: PS2 Development
Topic: ps2ip_init() hangs?...again
Replies: 16
Views: 8388

If you have a look in iop/dev9/dev9/src/imports.lst you can find out its dependencies:

Code: Select all

dmacman
intrman
loadcore
poweroff
stdio
thbase
thsemap
poweroff should be the only one you need to load, the rest are loaded as standard.
by radad
Sat Jan 17, 2009 10:06 am
Forum: PS2 Development
Topic: ps2ip_init() hangs?...again
Replies: 16
Views: 8388

You should check the return from SifExecModuleBuffer (I am not talking about the last parameter). A value of -200 means there is a dependency error and the module wasnt loaded. IOMANX is the iop side of the rpc functions for file access. On the ee side its the fileXio* functions defined in ee/rpc/fi...
by radad
Sat Jan 17, 2009 9:58 am
Forum: PS2 Development
Topic: crt0 not working correctly
Replies: 14
Views: 8894

That fixes it, thanks. I have checked it in. Give oobles a bit of time, he doesnt check very often. On a slightly different topic. Anybody know why this section exists in iop/Rules.make ifeq ($(IOP_CC_VERSION),3.2.2) CFLAGS_TARGET = -fno-builtin ASFLAGS_TARGET = -marc...
by radad
Fri Jan 16, 2009 10:48 am
Forum: General Discussion
Topic: windows for ps2
Replies: 14
Views: 341038

'Alpha' is a kind of computer not a release stage. They dont make them anymore though. Early NT supported about half a dozen different computers. We had an Window NT on Alpha at work for a while. It could even run x86 executables using just-in-time compilation technology called Fx32. And like J.F. s...
by radad
Thu Jan 15, 2009 9:22 pm
Forum: Patch Submissions
Topic: fseek regression fix & crt0.s fix & more
Replies: 21
Views: 22076

try sending a pm to oobles
by radad
Thu Jan 15, 2009 7:27 pm
Forum: PS2 Development
Topic: crt0 not working correctly
Replies: 14
Views: 8894

This has broken cpp builds for me. I get this error: C:/Devel/ps2/ps2msys/msys/local/ps2dev/ps2sdk/ee/startup/crt0.o(.text+0xd4): In function `_start': src/crt0.s:123: undefined reference to `_init' C:/Devel/ps2/ps2msys/msys/local/ps2de...
by radad
Thu Jan 15, 2009 7:12 pm
Forum: Patch Submissions
Topic: fseek regression fix & crt0.s fix & more
Replies: 21
Views: 22076

commited to svn rev 1508 - 1511.

ragnarok2040: youve gotta get your own write access
by radad
Thu Jan 15, 2009 7:01 pm
Forum: PS2 Development
Topic: crt0 not working correctly
Replies: 14
Views: 8894

committed rev 1508
by radad
Wed Jan 14, 2009 4:25 pm
Forum: Patch Submissions
Topic: fseek regression fix & crt0.s fix & more
Replies: 21
Views: 22076

So what do you get from this program: #define _LARGEFILE64_SOURCE #include <stdio.h> #include <fcntl.h> #include <sys/types.h> #include <unistd.h> //typedef long long off64_t; int main&#40;&#41; &#123; off64_t o = &#40;long long&#41;&#40;unsigned long&#41; -1; printf&...
by radad
Wed Jan 14, 2009 3:49 pm
Forum: Patch Submissions
Topic: fseek regression fix & crt0.s fix & more
Replies: 21
Views: 22076

You cant just use %d or %lld, you have to match the right one with the right type of the variable you are trying to print. Your results above show the casting is happening as expected. So there is no difference between (signed int) and (int) - as it should be. off64_t is a 'long long' isnt it? What ...
by radad
Wed Jan 14, 2009 2:44 pm
Forum: Patch Submissions
Topic: fseek regression fix & crt0.s fix & more
Replies: 21
Views: 22076

I didnt notice this before but it looks like someone deliberately broke negative seeks:

Code: Select all

  // The request below is modified as suggested by EEUG to allow
  // large offsets up to &#40;2**32-1&#41; in size
by radad
Wed Jan 14, 2009 2:37 pm
Forum: Patch Submissions
Topic: fseek regression fix & crt0.s fix & more
Replies: 21
Views: 22076

Thats ok I would like to get this correct also. What do you get on your pc from this: #include <stdio.h> int main&#40;&#41; &#123; printf&#40;"%lld\n", &#40;long long&#41;&#40;long&#41; -1&#41;; printf&#40;"%lld\n", &#40;long long&#...
by radad
Wed Jan 14, 2009 1:36 pm
Forum: Patch Submissions
Topic: fseek regression fix & crt0.s fix & more
Replies: 21
Views: 22076

Actually ntohl is: unsigned long ntohl&#40;unsigned long netlong&#41;; so casting from 'unsigned long' to 'unsigned int' isn't actually doing anything. But then it implicitly casts from 'unsigned long' to 'off64_t'. Because you are casting into a larger bit field integer you will lose the ne...
by radad
Wed Jan 14, 2009 1:17 pm
Forum: Patch Submissions
Topic: fseek regression fix & crt0.s fix & more
Replies: 21
Views: 22076

lseek is pretty standard amongst different OS implementations. They should all accept a negative seek. My guess would be that its got something to do with unsigned casting. It really should be signed at all points along the chain. Here you cast it to unsigned: off64_t real_offset = &#40;unsigned...
by radad
Wed Jan 14, 2009 10:48 am
Forum: PS2 Development
Topic: sleep(seconds/milliseconds) ?
Replies: 22
Views: 15236

I dont know then. Do you get any warnings or errors from the compilation? Do the regression tests in libc work (again they wont until you get the new crt0.s)? This is probably going to be too hard for me to work out whats wrong remotely you will need to look further into this yourself.
by radad
Wed Jan 14, 2009 10:27 am
Forum: PS2 Development
Topic: sleep(seconds/milliseconds) ?
Replies: 22
Views: 15236

You need to call it too:

Code: Select all

void _ps2sdk_time_init&#40;void&#41;;
....

int main&#40;int argc, char *argv&#91;&#93;&#41;
&#123;
   _ps2sdk_time_init&#40;&#41;;
   SifInitRpc&#40;0&#41;;
....