Search found 25 matches
- Fri Mar 11, 2005 7:20 am
- Forum: PS2 Development
- Topic: Interrupts, IRX, just some Questions.
- Replies: 2
- Views: 2355
Interrupts, IRX, just some Questions.
Hi, I had just a few questions. First, before I code anything, I would just like to hear if you think this could be done. I was wanting to run a program in the background during a regular ps2 game. Would it be possible to hook a small amount of code to an interrupt and then launch a ps2 elf and stil...
- Thu Dec 02, 2004 11:54 pm
- Forum: PS2 Development
- Topic: Some help with SetAlarm()
- Replies: 1
- Views: 1902
Some help with SetAlarm()
Hi again, I'm having trouble finding any documentation on the EE's SetAlarm. I'm wondering if when an alarm is set, it will call it's callback function even if there is another thread currently running. Could anyone give me an example of how SetAlarm is used, or at least describe the parameters. Whe...
- Thu Nov 04, 2004 8:40 pm
- Forum: PS2 Development
- Topic: Playstation 2 MP3 Player Source Code
- Replies: 5
- Views: 3478
- Wed Oct 13, 2004 10:49 am
- Forum: PS2 Development
- Topic: trying to compile ps2mp3
- Replies: 11
- Views: 4256
- Tue Oct 12, 2004 8:50 pm
- Forum: PS2 Development
- Topic: trying to compile ps2mp3
- Replies: 11
- Views: 4256
- Tue Oct 12, 2004 11:52 am
- Forum: PS2 Development
- Topic: trying to compile ps2mp3
- Replies: 11
- Views: 4256
- Thu Oct 07, 2004 5:10 am
- Forum: PS2 Development
- Topic: Playstation 2 MP3 Player Source Code
- Replies: 5
- Views: 3478
- Tue Oct 05, 2004 7:19 pm
- Forum: PS2 Development
- Topic: Unloading an IOP module?
- Replies: 2
- Views: 2313
Unloading an IOP module?
Hi again, I was just wondering if it is possible to unload an IOP module. For example, if I loaded and executed several modules, is it possible to unload one of those while running code from the EE? I am interested in the idea of running ftpd at certain points in my EE program. Parts of the EE progr...
- Tue Oct 05, 2004 6:56 am
- Forum: PS2 Development
- Topic: Playstation 2 MP3 Player Source Code
- Replies: 5
- Views: 3478
Playstation 2 MP3 Player Source Code
Here it is.
http://www.personal.psu.edu/users/r/t/r ... ojects.htm
On the bottom of the page.
Regards,
Ryan Kegel
http://www.personal.psu.edu/users/r/t/r ... ojects.htm
On the bottom of the page.
Regards,
Ryan Kegel
- Sun Oct 03, 2004 5:59 am
- Forum: PS2 Development
- Topic: Playstation 2 MP3 Player
- Replies: 4
- Views: 2999
- Wed Sep 29, 2004 7:44 am
- Forum: PS2 Development
- Topic: Playstation 2 MP3 Player
- Replies: 4
- Views: 2999
Playstation 2 MP3 Player
Hi,
I'm pretty new to the console dev scene, but I've finally finished
my first bit of software. It plays MP3s from CD and HDD.
If you get chance, please test it and leave some feedback.
http://www.personal.psu.edu/rtk124/PS2MP3.ZIP
Thanks alot,
Ryan
I'm pretty new to the console dev scene, but I've finally finished
my first bit of software. It plays MP3s from CD and HDD.
If you get chance, please test it and leave some feedback.
http://www.personal.psu.edu/rtk124/PS2MP3.ZIP
Thanks alot,
Ryan
- Sat Sep 11, 2004 3:58 pm
- Forum: PS2 Development
- Topic: reading files from CD
- Replies: 6
- Views: 3929
Hi, I found out that my problem was that I didn't have the LIBCDVD v1.15 library. So now that I got that, I am able to read files from the cd using fioOpen and fioRead. However, I still cannot use fileXioOpen and fileXioRead, these functions return < 0. Does anyone have any suggestions? static int f...
- Sun Sep 05, 2004 6:02 am
- Forum: PS2 Development
- Topic: reading files from CD
- Replies: 6
- Views: 3929
Okay, cool. I'm using fileXio for reading from the hard drive, I just wanted to be able to use both drives without having to change the code as much. If I want to use the fileXioOpen, Read, Dread, etc... is there any special initialization that I must do? Which device name should I use rather than &...
- Sat Sep 04, 2004 3:31 pm
- Forum: PS2 Development
- Topic: reading files from CD
- Replies: 6
- Views: 3929
reading files from CD
Hello, its me again I can sucessfully read files from a hard drive, and now i'm working on reading files from the CD drive. I'm running into a few problems. First, is it possible to use the fileXio library with the cd drive? Second, I'm trying the following code. cdSync(0); fioOpen&a...
- Tue Aug 31, 2004 3:15 am
- Forum: PS2 Development
- Topic: More thread stuff
- Replies: 4
- Views: 3743
Thanks, I understand what you mean. I realized that I wasn't really programming under an OS, so there isn't anything to schedule different threads on a ready queue. Although, this makes me curious to whether there is a way to create a scheduler thread that will sleep for a certain amount of time and...
- Mon Aug 30, 2004 9:08 am
- Forum: PS2 Development
- Topic: More thread stuff
- Replies: 4
- Views: 3743
More thread stuff
Hi, some more problems. I'm running a thread to get the status of a controller. Inside the thread, if I hit UP it will decrease the thread's priority, and DOWN will increase it. After I call the thread, my main goes into a busy waiting look and prints some stuff to the screen to identify that it is ...
- Sun Aug 29, 2004 5:54 pm
- Forum: PS2 Development
- Topic: Multi-tasking
- Replies: 1
- Views: 2535
Multi-tasking
Hi again, I'm having a problem with threads. What I am doing is creating and starting a thread from main() that will call a routine which in turn will create and start another thread. The first thread from main() will run a function that will open and buffer a sound file. When the buffer is full, th...
- Wed Aug 25, 2004 11:02 am
- Forum: PS2 Development
- Topic: Streaming large PCM from the HDD
- Replies: 11
- Views: 5530
- Mon Aug 23, 2004 3:53 pm
- Forum: PS2 Development
- Topic: Streaming large PCM from the HDD
- Replies: 11
- Views: 5530
Ah, I figured it out. I haven't used threads for the streaming yet, but I did get the file to stream correctly. My problem was that each sample is 2 bytes which is stored in one element of a short array I was treating the short array as it it were an array of 1 byte elements such as a char array. So...
- Sun Aug 22, 2004 7:47 pm
- Forum: PS2 Development
- Topic: Streaming large PCM from the HDD
- Replies: 11
- Views: 5530
thats incorrect code for 2 channels :D I'm trying a mono channel right now, so i can just use the left data for both, I have re-written the algorithm, it works a little better, but once the initial buffer is empty it gets choppy. I can't find anything wrong, but its also late at night. short *sample...
- Sun Aug 22, 2004 7:12 pm
- Forum: PS2 Development
- Topic: Streaming large PCM from the HDD
- Replies: 11
- Views: 5530
- Sun Aug 22, 2004 5:46 pm
- Forum: PS2 Development
- Topic: Streaming large PCM from the HDD
- Replies: 11
- Views: 5530
Streaming large PCM from the HDD
Hi again, I'm trying to stream a large PCM audio file from my hard drive. I'm using the SjPCM library to help. My problem is, the sound output is very choppy. I am not sure if it is coming from reading the data from the hard drive, or transferring the data to the right and left audio channels. Here ...
- Fri Aug 20, 2004 7:14 am
- Forum: PS2 Development
- Topic: Need help loading an ELF from an ELF :)
- Replies: 8
- Views: 6619
I found part of the solution to my problem: Originally, I have been uploading my ELF file via ftp. for example my program is named TEST.ELF and this program calls JPG.ELF. By default my ps2 calls PS2 Key Launcher upon booting. I configured PS2 Key Launcher to call my TEST.ELF program and then my TES...
- Fri Aug 20, 2004 6:30 am
- Forum: PS2 Development
- Topic: Need help loading an ELF from an ELF :)
- Replies: 8
- Views: 6619
- Thu Aug 19, 2004 8:03 pm
- Forum: PS2 Development
- Topic: Need help loading an ELF from an ELF :)
- Replies: 8
- Views: 6619
Need help loading an ELF from an ELF :)
hi, I'm pretty new to this, but for the past couple of days I've been trying to load an ELF from a location on my memory card. the location of the program is mc0:/BOOT/SHARED/JPG.ELF I uploaded it there myself. my problem is whenever I call SifLoadElf() it tell me it cannot open this elf file. char ...