forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Interrupts, IRX, just some Questions.

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
PrimeTime



Joined: 19 Aug 2004
Posts: 25

PostPosted: Fri Mar 11, 2005 7:20 am    Post subject: Interrupts, IRX, just some Questions. Reply with quote

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 still have the code attached to the interrupt.

For example: attaching a bit of code to the timer interrupt that will read the program instruction counter register on certain intervals during a game. Possibly memory location(s) as well.


Also, I was wondering if loaded IRX drivers would remain running after launching a game. For example, would I be able to load the hard disk IRX files, launch a game, and then be able to read/write the hard disk?

Just curious. Thanks,
Ryan
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Mar 11, 2005 8:33 am    Post subject: Reply with quote

no.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Fri Mar 11, 2005 9:04 am    Post subject: Reply with quote

One of the first things a game does when it loads is reset the IOP. Any IRX files you loaded before the game runs are lost forever in the void!

As for running a code in the background while a game runs, hacking/modifying games isn't really what ps2dev is about. So, while it would be possible... it seems this thread was locked by Drakonite before it could head in that direction.

Cheers!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group