Welcome, Guest. Please login or register.

Author Topic: How do I know if a program is "resident"?  (Read 1380 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Joshua

  • Jr. Member
  • **
  • Join Date: Feb 2002
  • Posts: 55
    • Show all replies
    • http://www.forefronttechnologiesinc.com
Re: How do I know if a program is "resident"?
« on: January 07, 2008, 10:20:05 PM »
Quote

ral-clan wrote:
I just got a Kickflash board & apparently it can be loaded with any Memory Resident programs, so that they become active from power-up.

How do I know if a program is memory resident or not?

I have a Repulse Audio board which is initialized by a program in the Startup-Sequence called "RepulseInit".  It would be great to put this in the Kickflash.  However, it uses the parameter QUIET (i.e. REPULSEINIT QUIET) to disable its output.  For that reason I think it probably won't work (i.e. how would you trigger the parameter QUIET if not started from the S-S)?

Resident means the program is loaded from disk into memory, and then any time it's executed it's executed from memory rather than loading from disk each time.  This was highly useful when disks were slow (like floppies -- who wanted to load the "assign" command 100 times in their startup-sequence?), but is less useful now.

Resident does /not/ mean the program is actually executed.  You'd still execute the program the same way you normally would, but AmigaOS will look in the resident-list first before looking on disk for your program.

For a program to be "resident-able", it must be re-entrant.  You can check this by looking for the "pure" bit set on the file.
---
- Joshua B. Helm
Forefront Technologies, Inc.