Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!umd5!mimsy!oddjob!hao!boulder!sunybcs!bingvaxu!leah!uwmcsd1!ig!agate!ucbvax!USU.BITNET!FATQW From: FATQW@USU.BITNET Newsgroups: comp.sys.amiga Subject: Suggestion for Workbench 1.x Message-ID: <8802050812.AA17320@jade.berkeley.edu> Date: 5 Feb 88 07:05:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 18 Another one! How about creating some way for user programs to link into the system, so when an AllocMem() is about to fail, it calls your program, and your program might just be able to free up the needed memory. This is the same as the Library/Device principle. For things that are "useful" but not "essential", or can be re-loaded, make it possible to have the system automatically free the needed memory. To do this, just create an Exec List, containing, say, Interrupt structures or something like that, so when AllocMem is about to fail because of no memory, it calls the first one and tries again, and then the second, etc. User programs can simply link into this list, and have their own routines to free up unnecessary memory. Bryan Bryan Ford //// Snail: 1790 East 1400 North //// Logan, UT 84321 \\\XX/// Email: FATQW@USU.BITNET \XXXX/