Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: making a perl script TSR? (on linux)

by Ven'Tatsu (Deacon)
on Aug 20, 2005 at 21:39 UTC ( #485432=note: print w/replies, xml ) Need Help??

in reply to Re: making a perl script TSR? (on linux)
in thread making a perl script TSR? (on linux)

The term Terminate and Stay Resident made sense when it was originaly used. A basic overview was that for one program to provide extra functionality to the user after another program was started under a single task, real mode OS what it would do is load all the information and code it needed into memory, then tell the OS that it was quiting but not cleaning up it's memory. The OS would oblige and the program would 'stay resident' in memory after it had 'terminate'd. This program could say be a sound or mouse driver. Another program would come along and it would know about that some driver that it might like to use could be resident. It would ask the OS for a list of resident programs and their addresses in memory, and seeing one it was interested in it would take it's memory address and knowing that it alway provided a certain function at a predefined location after it's start of memory it would make a call to that location and the TSR could then take an action on the running programs behalf.
DOS could also be considered resonable as many OSes for micro-computers of the day were stored in ROM not on a disk, thus the distinction that the OS was stored on writable media was important to some people.
  • Comment on Re^2: making a perl script TSR? (on linux)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://485432]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-08-17 19:43 GMT
Find Nodes?
    Voting Booth?

    No recent polls found