Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline Ral-ClanTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1979
  • Country: ca
    • Show only replies by Ral-Clan
    • http://www3.sympatico.ca/clarke-santin/
How do I know if a program is "resident"?
« on: January 07, 2008, 09:40:11 PM »
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)?

I also use ROMTAGMEM to initialize the memory on my accelerator, and again it would be neat to put in the Kickflash, but I don't think it is resident either because it needs a bunch of parameters included to define the memory addresses range.

Can anyone name any neat or useful resident utilities that would be good in a Kickflash board?

Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com
 

Offline meega

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 952
    • Show only replies by meega
Re: How do I know if a program is "resident"?
« Reply #1 on: January 07, 2008, 09:42:20 PM »
Open a Shell window, and type

resident

into it, and press return.
:)
 

Offline Joshua

  • Jr. Member
  • **
  • Join Date: Feb 2002
  • Posts: 55
    • Show only replies by Joshua
    • http://www.forefronttechnologiesinc.com
Re: How do I know if a program is "resident"?
« Reply #2 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.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: How do I know if a program is "resident"?
« Reply #3 on: January 07, 2008, 10:21:50 PM »
You just can't put any random command to ROM and have it automagically executed.

This is not what resident command means.

Kickstart resident tag != resident commands.

However, some things are designed to work as both regular command and ROM resident tags (for example IDEFix and couple of other things). These typically have some way sneaky way of passing the arguments.

This however has nothing to do with resident commands.