Search found 6 matches
- Tue Nov 02, 2004 1:30 am
- Forum: PS2 Development
- Topic: A bug in malloc() etc.
- Replies: 5
- Views: 3527
- Tue Nov 02, 2004 12:15 am
- Forum: PS2 Development
- Topic: A bug in malloc() etc.
- Replies: 5
- Views: 3527
- Mon Nov 01, 2004 6:45 am
- Forum: PS2 Development
- Topic: Problems with usb_mass
- Replies: 4
- Views: 3084
usb_mass fioDopen() etc.
I added fioDopen(), fioDclose(), fioDread() and fioGetStat() support to usb_mass. Here's the patch:
http://ruoho.org/ps2/usb_mass_dopen_patch.diff
http://ruoho.org/ps2/usb_mass_dopen_patch.diff
- Mon Nov 01, 2004 4:08 am
- Forum: PS2 Development
- Topic: Problems with usb_mass
- Replies: 4
- Views: 3084
I commented this line from mass_stor_warmup(): usb_bulk_manage_status(dev, -TAG_INQUIRY); and from usb_bulk_manage_status(): usb_bulk_reset(dev, 1); /* Perform reset recovery */ Now it seems to work just fine. :) Maybe my stick is non-standard or the warmup sequence is incorrect? More error handling...
- Mon Nov 01, 2004 2:00 am
- Forum: PS2 Development
- Topic: Problems with usb_mass
- Replies: 4
- Views: 3084
Problems with usb_mass
Hi! I have been trying to use usb_mass without success. I have a Transcend 256MB JetFlash. I'm trying to test with mass_example.elf. It jams when trying to read directory listing. I added some XPRINTFs to the iop mass_stor.c and noticed that it jams when usb_bulk_status() is calling WaitSema(). I ha...
- Mon Oct 25, 2004 7:15 am
- Forum: PS2 Development
- Topic: A bug in malloc() etc.
- Replies: 5
- Views: 3527
A bug in malloc() etc.
Hi! I noticed that there are something wrong with malloc() etc. functions. Seems that sometimes free() does not free the memory. I wrote this little program to demonstrate it: #include <stdio.h> #include <malloc.h> int main () { int iter = 0; realloc(malloc(1...