MemPri Small utility to change the priority of any memory block By Barry McConnell, 17th August 1993 Distribution: ~~~~~~~~~~~~~ MemPri is Public Domain. Do what you like with it, but don't jump on me if it crashes your machine, wipes your hard drive, or otherwise inconveniences you. The source code is included in case its current incarnation does not quite meet your requirements. Requirements: ~~~~~~~~~~~~~ Any Amiga computer, with at least one block of memory. :-) MemPri is really intended for people with accelerator cards and 32-bit memory, to allow you to load certain programs (e.g., your BBS system) into specific types of memory. Usage: ~~~~~~ With no arguments, MemPri gives information about the memory in your Amiga. It tells you the starting location of each memory board (in hex), the size (in K), the amount available (in K), the priority, and the name. As such, it is similar to the "avail" command, except you can easily see how much of a particular type of memory you have remaining ("avail" will group all your Fast RAM boards together). If you give it two arguments, this tells it to change a certain memory block to a new priority. For example, if entering the command "MemPri" on its own gave you this output: MemPri by Barry McConnell Block Address Size Free Priority Name 0 $1500000 2560 564 10 32Bit Fast Memory 1 $200000 2048 1585 0 expansion memory 2 $400 1023 660 -10 chip memory ...then entering this command: MemPri 0 -5 ...would have the effect of lowering the "32Bit Fast Memory" down to a priority below the "expansion memory". This is best used in your Startup-sequence, say just before you launch a caching program, to ensure your valuable 32-bit memory does not get chewed up by the cache. Afterwards, you could enter: MemPri 1 10 ...to restore things back the way they were (as block 0 would have become "expansion memory", so block 1 is now the one you want to change). Contacting me: ~~~~~~~~~~~~~~ Snail Mail: Barry McConnell, "Piper's Hollow", Hillcrest Road, Dublin 18, Ireland. Internet: bmccnnll@unix1.tcd.ie FidoNet: 2:263/150.2