Unloading an IOP module?

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
PrimeTime
Posts: 25
Joined: Thu Aug 19, 2004 7:49 pm

Unloading an IOP module?

Post by PrimeTime »

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 program that I will not be using it, I would like to either unload or pause it.

Is it possible to do without modifying ftpd?

Thanks,
Ryan Kegel
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

Unfortunately, with ps2dev libraries, the only way to "unload" a module is to return 1 from the module's start() routine.

You would need the official SDK to manually unload modules.

Or you would need to implement that functionality yourself.
"He was warned..."
pixel
Posts: 791
Joined: Fri Jan 30, 2004 11:43 pm

Post by pixel »

FYI, I just added StopModule, UnloadModule, and SearchModuleByName...
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Post Reply