Search found 31 matches
- Sat Jun 02, 2007 4:11 am
- Forum: PSP Development
- Topic: newlib pipe.c implementation select() EBADF PATCH
- Replies: 4
- Views: 3578
nothing special. i had ported one of my projects 'xynth windowing system' to pspsdk. xynth uses sockets for IPC. on PSP that was sockets emulated via pipes + pipe emulated via memory. now it is just sockets emulated via pipe. thats all ;) there is information, sources and binaries of older releases ...
- Sat Jun 02, 2007 1:07 am
- Forum: PSP Development
- Topic: newlib pipe.c implementation select() EBADF PATCH
- Replies: 4
- Views: 3578
newlib pipe.c implementation select() EBADF PATCH
hi, me again ;) - bad file descriptor handling is missing in select(). if we know that, system has no idea about 'fd' which was given in one of the sets 'read/write/except' we should return '-1' and set errno to 'EBADF'. we might increse the count and set exceptfd for that 'fd', but it is safe to ob...
- Fri Jun 01, 2007 7:21 pm
- Forum: PSP Development
- Topic: newlib syscalls.c for functions in system namespace PATCH
- Replies: 1
- Views: 1533
newlib syscalls.c for functions in system namespace PATCH
hi, this patch is for _times() function for now ;) i had to generate makefile.in so patch is little big, i can not paste it in here. you can grab it from; # wget http://gsulinux.org/~distch/pspdev/newlib-1.15.0-PSP-syscalls.patch there is no need for pipe.c.orig file anymore, removed it from...
- Fri Jun 01, 2007 7:42 am
- Forum: PSP Development
- Topic: newlib pipe.c implementation read/write() illegal size PATCH
- Replies: 4
- Views: 2499
- Fri Jun 01, 2007 7:10 am
- Forum: PSP Development
- Topic: Problem with the installation of toochain on Ubuntu FF
- Replies: 5
- Views: 2579
hi,
just open pspsdk/doc/html/index.html with a browser. and take a look at http://ps2dev.org/psp/Tutorials for nice pdfs.
anhanguera.
Code: Select all
# cd pspsdk
# make doxygen-doc
anhanguera.
- Fri Jun 01, 2007 7:05 am
- Forum: PSP Development
- Topic: newlib pipe.c implementation read/write() illegal size PATCH
- Replies: 4
- Views: 2499
- Fri Jun 01, 2007 6:49 am
- Forum: PSP Development
- Topic: when calling time(NULL) error linking in pspsdk
- Replies: 9
- Views: 4591
- Fri Jun 01, 2007 6:47 am
- Forum: PSP Development
- Topic: newlib pipe.c implementation [non]-blocking read() PATCH
- Replies: 2
- Views: 1942
- Fri Jun 01, 2007 6:16 am
- Forum: PSP Development
- Topic: newlib pipe.c implementation read/write() illegal size PATCH
- Replies: 4
- Views: 2499
newlib pipe.c implementation read/write() illegal size PATCH
hi, - the sceKernel[Send/TrySend/Receive]MsgPipe(...) functions return SCE_KERNEL_ERROR_ILLEGAL_SIZE if the given number of bytes param (size_t len) is greater than the initial size of MsgPipe. in our case the initial size is 'PIPE_BUF' which is declared as 512 bytes in syslimits.h - this is the nor...
- Fri Jun 01, 2007 4:21 am
- Forum: PSP Development
- Topic: [Toolchain]Newlib compiling error
- Replies: 3
- Views: 1812
hi,
you should set PSPDEV and PATH before running toolchain.sh , if you did not. from toolchain.txt;
anhanguera.
you should set PSPDEV and PATH before running toolchain.sh , if you did not. from toolchain.txt;
Code: Select all
2) Add the following to your login script:
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
- Thu May 31, 2007 10:13 pm
- Forum: PSP Development
- Topic: newlib pipe.c implementation [non]-blocking read() PATCH
- Replies: 2
- Views: 1942
newlib pipe.c implementation [non]-blocking read() PATCH
hi, - in __psp_pipe_read (...) it is looking for how many bytes already in the pipe with __psp_pipe_peekmsgsize(...). and if there is no data already in the pipe, returns '-1'. this is correct for 'non-blocking read', for 'blocking read' it should wait until some data cames in to the pipe. - in __ps...
- Wed May 30, 2007 11:52 pm
- Forum: PSP Development
- Topic: PSPLINK - compile problem with new toolchain [FIX]
- Replies: 0
- Views: 1176
PSPLINK - compile problem with new toolchain [FIX]
hi, thank you for such a nice tool. it runs perfect on FW.150 using usbhostfs. here is the small patch; Index: usbhostfs/main.c =================================================================== --- usbhostfs/main.c (revision 2234) +++ usbhostfs/main.c (working copy&...
- Tue May 29, 2007 10:42 pm
- Forum: PSP Development
- Topic: when calling time(NULL) error linking in pspsdk
- Replies: 9
- Views: 4591
- Sat Apr 29, 2006 9:41 am
- Forum: PSP Development
- Topic: Proposed patch to newlib
- Replies: 22
- Views: 14356
- Thu Jan 19, 2006 8:03 am
- Forum: PSP Development
- Topic: xynth problem
- Replies: 1
- Views: 1441
hi, download the psp binary from: http://prdownloads.sourceforge.net/xynth/xynth-0.8.00-psp-1.5.tar.bz2?download or, http://prdownloads.sourceforge.net/xynth/xynth-0.8.00-psp-1.0.tar.bz2?download 1.0 and 1.5 is the psp bios version number. download according to your bios version. below is the same f...
- Tue Oct 18, 2005 11:25 pm
- Forum: PSP Development
- Topic: xynth on psp
- Replies: 11
- Views: 22135
hi,
mkdir tmp
mv psp-1.5.tar.bz2 ./tmp
cd tmp
tar -jxvf psp-1.5.tar.bz2
cd dist
cp -Rf * /psp_root_directory
just that simple... ;)
ps: www.xynth.org seems to be down, http://gsulinux.org/~distch/projects/xynth is the exact addr. and thanks for the replies.
alper "anhanguera" akcan.
mkdir tmp
mv psp-1.5.tar.bz2 ./tmp
cd tmp
tar -jxvf psp-1.5.tar.bz2
cd dist
cp -Rf * /psp_root_directory
just that simple... ;)
ps: www.xynth.org seems to be down, http://gsulinux.org/~distch/projects/xynth is the exact addr. and thanks for the replies.
alper "anhanguera" akcan.
- Sat Oct 15, 2005 1:39 am
- Forum: PSP Development
- Topic: xynth on psp
- Replies: 11
- Views: 22135
xynth on psp
hi, I was working on a embedded windowing system (xynth), and ported to pspsdk. give a try... what is xynth; xynth is a portable embedded windowing system, it has nearly all features that you might expect from. anyway here is; web site: www.xynth.org screen shots: http://gsulinux.org/~distch/project...
- Wed Oct 12, 2005 7:08 pm
- Forum: PSP Development
- Topic: psp-config path fix.
- Replies: 1
- Views: 1667
psp-config path fix.
hi, # export PATH=/usr/local/pspdev/bin:$PATH before patch; # psp-config -p Error, invalid suffix on the end of the path. Should be /bin/psp-config # /usr/local/pspdev/bin/psp-config -p /usr/local/pspdev/psp/sdk after patch; # psp-config -p /usr/local/pspdev/psp/sdk and here is the patch ;) ...
- Thu Oct 06, 2005 6:15 pm
- Forum: PSP Development
- Topic: newlib open(...) fix.
- Replies: 15
- Views: 8518
- Thu Oct 06, 2005 7:23 am
- Forum: PSP Development
- Topic: newlib open(...) fix.
- Replies: 15
- Views: 8518
- Thu Oct 06, 2005 5:42 am
- Forum: PSP Development
- Topic: newlib open(...) fix.
- Replies: 15
- Views: 8518
hi, i confuses me, too ;) but i tried this senorio below; sceIoOpen() -> fd = 3; sceIoOpen() -> fd = 4; sceIoClose(4) sceIoOpen() -> fd = 4 sceIoClose(4) sceIoClose(3) sceIoOpen() -> fd = 3; sceIoOpen() -> fd = 4; as seen here, if we do not open more than 1021 files fd will always smaller then 1024....
- Thu Oct 06, 2005 4:00 am
- Forum: PSP Development
- Topic: newlib open(...) fix.
- Replies: 15
- Views: 8518
hi, t would only affect open(), fstat(), and close(). If we just have a fixed array of pointers, the overhead actually wouldn't be too bad (strdup for open, free for close, table lookup for fstat). Locking shouldn't be necessary. If we support 0<fd<1024, the mem overhead is only 4kb+filenames. this ...
- Thu Oct 06, 2005 2:12 am
- Forum: PSP Development
- Topic: newlib open(...) fix.
- Replies: 15
- Views: 8518
hi, if there is no sceIoFstat or, any other function like char * sceIoFname (SceUID fd) the only(?) choice is to use fd->filename map. and this will slow down(?) all the io; lock map, check/add/del io, unlock map. there is something like int sceIoIoctl (fd, cmd, indata, inlen, outdata, outlen); any ...
- Wed Oct 05, 2005 9:10 pm
- Forum: PSP Development
- Topic: newlib open(...) fix.
- Replies: 15
- Views: 8518
newlib open(...) fix.
hi, open(path, ...) fails if path has "//" ("path//file"), and here is the patch. --- libcglue.org.c Wed Oct 5 13:24:55 2005 +++ libcglue.c Wed Oct 5 14:03:27 2005 @@ -118,7 +118,14 @@ int _open(const char *name, int flags, int mode)...
- Wed Oct 05, 2005 5:36 pm
- Forum: PSP Development
- Topic: SDL_SemWaitTimeout(...) fix.
- Replies: 1
- Views: 1949
SDL_SemWaitTimeout(...) fix.
hi, on timeout sceKernelWaitSema() returns SCE_KERNEL_ERROR_WAIT_TIMEOUT, not -1. and (int) SCE_KERNEL_ERROR_WAIT_TIMEOUT is < 0. anyway here is the patch. --- SDL_syssem.org.c Wed Oct 5 10:25:52 2005 +++ SDL_syssem.c Wed Oct 5 10:39:29 2005 @@ -85,7 +85,7 @@ int SDL_...
- Sun Sep 05, 2004 6:26 pm
- Forum: PS2 Development
- Topic: scr_printf & printf, how to debug.
- Replies: 11
- Views: 6300
To answer the original question. The best way to debug the driver is using Naplink and a pl2301 cable or using the Serial IO as provided by mrbrown,etc. I wouldn't bother trying to debug with scr_printf and burning disks, unless you want to spend more dollars on wasted disks than a pl2301 cable or ...
- Fri Sep 03, 2004 10:34 pm
- Forum: PS2 Development
- Topic: scr_printf & printf, how to debug.
- Replies: 11
- Views: 6300
scr_printf & printf, how to debug.
I am very new to ps2 development, and I do need to debug an .irx file. I do not have a prolific cable or smap eth adaptor. I have a klsi eth adaptor, and need to debug it. but I could not manage to print anything.. I cannot manage to use scr_printf inside an irx (iop compiled) .irx file. and printf ...
- Thu Aug 26, 2004 11:37 pm
- Forum: PS2 Development
- Topic: preparing iso, addzer0
- Replies: 5
- Views: 4849
- Thu Aug 26, 2004 9:04 pm
- Forum: PS2 Development
- Topic: preparing iso, addzer0
- Replies: 5
- Views: 4849
- Thu Aug 26, 2004 9:03 pm
- Forum: PS2 Development
- Topic: preparing iso, addzer0
- Replies: 5
- Views: 4849
hi again, here is my learning steps... and a question... first, i checked the iso file given with http://www.thethirdcreation.net/tools/ps2link.zip by using isodump tool. isodump tool says; [3;1H 34 [ 1] 16 2048 02/*. [4;1H 34 [ 1] 16 2048 02/*.. [5;1H 46 [ 1] 19 8661 00/ PS2IPS.IRX;1 [6;1H 46 [ 1] ...