Home » Archimedes archive » Acorn User » AU 1993-09.adf » !StarInfo_StarInfo » !FreeMem/!Help

!FreeMem/!Help

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1993-09.adf » !StarInfo_StarInfo
Filename: !FreeMem/!Help
Read OK:
File size: 0AE6 bytes
Load address: 0000
Exec address: 0000
File contents
FreeMem 1.03 !Help file
� Liquid Silicon 1992, 1993

FreeMem is public domain, all files to be kept together and unaltered.

FreeMem is a module application which displays the amount of free
application memory on the icon bar. This is the total of the Next and Free
slots. It has been written as a module so that it uses the least amount of
memory possible (under 3K) and runs as quickly as possible, so as not to
interfere with the machine's use.

There are two options available, selected by toggling 'Quick' or 'Font' in
the icon bar menu. With Quick ticked, FreeMem detects changes in the
following :

  Applications starting and quitting;
  Mode changes;
  WimpSlot changes (eg when loading documents into DTP packages etc).

Increases to the font cache and other system memory allocation entries will
not register (except for RAM disc creation or removal and the screen memory
on mode changes).

To update the display to take changes of any of these into account, click
Select on the FreeMem icon on the icon bar.

Alternatively, deselect the Quick menu option. This will constantly update
the amount of free memory displayed, no matter what changes occur (useful
when printing and when using large numbers of fonts). Because this uses the
null reason code in the Wimp polling loop, it uses a little more processor
time than with the Quick option on, although it will usually not be noticed.

Clicking on 'Font' will toggle the use of the Homerton.Medium font for the
display, rather than the system font. This is best used with hi-res modes on
SVGA or multisync monitors as normal monitors lack enough definition. If you
are using RISC OS 3, the icon will always be next to the palette, otherwise
it will reappear to the left of the other application icons. FreeMem will
also save its pathname into the desktop boot file in RISC OS 3.

By default, the Font and Quick options are off. Placing an 'F' or a 'Q' at
the end of the !Run file in any order will toggle the relevant option. Some
examples :

RMEnsure FreeMem 1.03 RMRun <FreeMem$Dir>.!RunImage F
RMEnsure FreeMem 1.03 RMRun <FreeMem$Dir>.!RunImage qf
RMEnsure FreeMem 1.03 RMRun <FreeMem$Dir>.!RunImage f Q

These can also be used to run FreeMem, as the actual application is
not needed (apart from the sprite file)

Clicking Adjust on the icon will display the current time for a few seconds
and then redisplay the memory.

Known problems :
----------------
Using the Font option can sometimes display the wrong aspect ratio for the
font when moving to another mode. Deselect and then reselect the font option
to cure this.

Comments, bugs etc to :

Liquid Silicon
FREEPOST EH2725
Kirkcaldy
Fife
KY2 5BR
Tel: (0592) 260512

A free comprehensive (60 page) catalogue of Acorn products is also available
from the same address.
00000000  0a 46 72 65 65 4d 65 6d  20 31 2e 30 33 20 21 48  |.FreeMem 1.03 !H|
00000010  65 6c 70 20 66 69 6c 65  0a a9 20 4c 69 71 75 69  |elp file.. Liqui|
00000020  64 20 53 69 6c 69 63 6f  6e 20 31 39 39 32 2c 20  |d Silicon 1992, |
00000030  31 39 39 33 0a 0a 46 72  65 65 4d 65 6d 20 69 73  |1993..FreeMem is|
00000040  20 70 75 62 6c 69 63 20  64 6f 6d 61 69 6e 2c 20  | public domain, |
00000050  61 6c 6c 20 66 69 6c 65  73 20 74 6f 20 62 65 20  |all files to be |
00000060  6b 65 70 74 20 74 6f 67  65 74 68 65 72 20 61 6e  |kept together an|
00000070  64 20 75 6e 61 6c 74 65  72 65 64 2e 0a 0a 46 72  |d unaltered...Fr|
00000080  65 65 4d 65 6d 20 69 73  20 61 20 6d 6f 64 75 6c  |eeMem is a modul|
00000090  65 20 61 70 70 6c 69 63  61 74 69 6f 6e 20 77 68  |e application wh|
000000a0  69 63 68 20 64 69 73 70  6c 61 79 73 20 74 68 65  |ich displays the|
000000b0  20 61 6d 6f 75 6e 74 20  6f 66 20 66 72 65 65 0a  | amount of free.|
000000c0  61 70 70 6c 69 63 61 74  69 6f 6e 20 6d 65 6d 6f  |application memo|
000000d0  72 79 20 6f 6e 20 74 68  65 20 69 63 6f 6e 20 62  |ry on the icon b|
000000e0  61 72 2e 20 54 68 69 73  20 69 73 20 74 68 65 20  |ar. This is the |
000000f0  74 6f 74 61 6c 20 6f 66  20 74 68 65 20 4e 65 78  |total of the Nex|
00000100  74 20 61 6e 64 20 46 72  65 65 0a 73 6c 6f 74 73  |t and Free.slots|
00000110  2e 20 49 74 20 68 61 73  20 62 65 65 6e 20 77 72  |. It has been wr|
00000120  69 74 74 65 6e 20 61 73  20 61 20 6d 6f 64 75 6c  |itten as a modul|
00000130  65 20 73 6f 20 74 68 61  74 20 69 74 20 75 73 65  |e so that it use|
00000140  73 20 74 68 65 20 6c 65  61 73 74 20 61 6d 6f 75  |s the least amou|
00000150  6e 74 20 6f 66 0a 6d 65  6d 6f 72 79 20 70 6f 73  |nt of.memory pos|
00000160  73 69 62 6c 65 20 28 75  6e 64 65 72 20 33 4b 29  |sible (under 3K)|
00000170  20 61 6e 64 20 72 75 6e  73 20 61 73 20 71 75 69  | and runs as qui|
00000180  63 6b 6c 79 20 61 73 20  70 6f 73 73 69 62 6c 65  |ckly as possible|
00000190  2c 20 73 6f 20 61 73 20  6e 6f 74 20 74 6f 0a 69  |, so as not to.i|
000001a0  6e 74 65 72 66 65 72 65  20 77 69 74 68 20 74 68  |nterfere with th|
000001b0  65 20 6d 61 63 68 69 6e  65 27 73 20 75 73 65 2e  |e machine's use.|
000001c0  0a 0a 54 68 65 72 65 20  61 72 65 20 74 77 6f 20  |..There are two |
000001d0  6f 70 74 69 6f 6e 73 20  61 76 61 69 6c 61 62 6c  |options availabl|
000001e0  65 2c 20 73 65 6c 65 63  74 65 64 20 62 79 20 74  |e, selected by t|
000001f0  6f 67 67 6c 69 6e 67 20  27 51 75 69 63 6b 27 20  |oggling 'Quick' |
00000200  6f 72 20 27 46 6f 6e 74  27 20 69 6e 0a 74 68 65  |or 'Font' in.the|
00000210  20 69 63 6f 6e 20 62 61  72 20 6d 65 6e 75 2e 20  | icon bar menu. |
00000220  57 69 74 68 20 51 75 69  63 6b 20 74 69 63 6b 65  |With Quick ticke|
00000230  64 2c 20 46 72 65 65 4d  65 6d 20 64 65 74 65 63  |d, FreeMem detec|
00000240  74 73 20 63 68 61 6e 67  65 73 20 69 6e 20 74 68  |ts changes in th|
00000250  65 0a 66 6f 6c 6c 6f 77  69 6e 67 20 3a 0a 0a 20  |e.following :.. |
00000260  20 41 70 70 6c 69 63 61  74 69 6f 6e 73 20 73 74  | Applications st|
00000270  61 72 74 69 6e 67 20 61  6e 64 20 71 75 69 74 74  |arting and quitt|
00000280  69 6e 67 3b 0a 20 20 4d  6f 64 65 20 63 68 61 6e  |ing;.  Mode chan|
00000290  67 65 73 3b 0a 20 20 57  69 6d 70 53 6c 6f 74 20  |ges;.  WimpSlot |
000002a0  63 68 61 6e 67 65 73 20  28 65 67 20 77 68 65 6e  |changes (eg when|
000002b0  20 6c 6f 61 64 69 6e 67  20 64 6f 63 75 6d 65 6e  | loading documen|
000002c0  74 73 20 69 6e 74 6f 20  44 54 50 20 70 61 63 6b  |ts into DTP pack|
000002d0  61 67 65 73 20 65 74 63  29 2e 0a 0a 49 6e 63 72  |ages etc)...Incr|
000002e0  65 61 73 65 73 20 74 6f  20 74 68 65 20 66 6f 6e  |eases to the fon|
000002f0  74 20 63 61 63 68 65 20  61 6e 64 20 6f 74 68 65  |t cache and othe|
00000300  72 20 73 79 73 74 65 6d  20 6d 65 6d 6f 72 79 20  |r system memory |
00000310  61 6c 6c 6f 63 61 74 69  6f 6e 20 65 6e 74 72 69  |allocation entri|
00000320  65 73 20 77 69 6c 6c 0a  6e 6f 74 20 72 65 67 69  |es will.not regi|
00000330  73 74 65 72 20 28 65 78  63 65 70 74 20 66 6f 72  |ster (except for|
00000340  20 52 41 4d 20 64 69 73  63 20 63 72 65 61 74 69  | RAM disc creati|
00000350  6f 6e 20 6f 72 20 72 65  6d 6f 76 61 6c 20 61 6e  |on or removal an|
00000360  64 20 74 68 65 20 73 63  72 65 65 6e 20 6d 65 6d  |d the screen mem|
00000370  6f 72 79 0a 6f 6e 20 6d  6f 64 65 20 63 68 61 6e  |ory.on mode chan|
00000380  67 65 73 29 2e 0a 0a 54  6f 20 75 70 64 61 74 65  |ges)...To update|
00000390  20 74 68 65 20 64 69 73  70 6c 61 79 20 74 6f 20  | the display to |
000003a0  74 61 6b 65 20 63 68 61  6e 67 65 73 20 6f 66 20  |take changes of |
000003b0  61 6e 79 20 6f 66 20 74  68 65 73 65 20 69 6e 74  |any of these int|
000003c0  6f 20 61 63 63 6f 75 6e  74 2c 20 63 6c 69 63 6b  |o account, click|
000003d0  0a 53 65 6c 65 63 74 20  6f 6e 20 74 68 65 20 46  |.Select on the F|
000003e0  72 65 65 4d 65 6d 20 69  63 6f 6e 20 6f 6e 20 74  |reeMem icon on t|
000003f0  68 65 20 69 63 6f 6e 20  62 61 72 2e 0a 0a 41 6c  |he icon bar...Al|
00000400  74 65 72 6e 61 74 69 76  65 6c 79 2c 20 64 65 73  |ternatively, des|
00000410  65 6c 65 63 74 20 74 68  65 20 51 75 69 63 6b 20  |elect the Quick |
00000420  6d 65 6e 75 20 6f 70 74  69 6f 6e 2e 20 54 68 69  |menu option. Thi|
00000430  73 20 77 69 6c 6c 20 63  6f 6e 73 74 61 6e 74 6c  |s will constantl|
00000440  79 20 75 70 64 61 74 65  0a 74 68 65 20 61 6d 6f  |y update.the amo|
00000450  75 6e 74 20 6f 66 20 66  72 65 65 20 6d 65 6d 6f  |unt of free memo|
00000460  72 79 20 64 69 73 70 6c  61 79 65 64 2c 20 6e 6f  |ry displayed, no|
00000470  20 6d 61 74 74 65 72 20  77 68 61 74 20 63 68 61  | matter what cha|
00000480  6e 67 65 73 20 6f 63 63  75 72 20 28 75 73 65 66  |nges occur (usef|
00000490  75 6c 0a 77 68 65 6e 20  70 72 69 6e 74 69 6e 67  |ul.when printing|
000004a0  20 61 6e 64 20 77 68 65  6e 20 75 73 69 6e 67 20  | and when using |
000004b0  6c 61 72 67 65 20 6e 75  6d 62 65 72 73 20 6f 66  |large numbers of|
000004c0  20 66 6f 6e 74 73 29 2e  20 42 65 63 61 75 73 65  | fonts). Because|
000004d0  20 74 68 69 73 20 75 73  65 73 20 74 68 65 0a 6e  | this uses the.n|
000004e0  75 6c 6c 20 72 65 61 73  6f 6e 20 63 6f 64 65 20  |ull reason code |
000004f0  69 6e 20 74 68 65 20 57  69 6d 70 20 70 6f 6c 6c  |in the Wimp poll|
00000500  69 6e 67 20 6c 6f 6f 70  2c 20 69 74 20 75 73 65  |ing loop, it use|
00000510  73 20 61 20 6c 69 74 74  6c 65 20 6d 6f 72 65 20  |s a little more |
00000520  70 72 6f 63 65 73 73 6f  72 0a 74 69 6d 65 20 74  |processor.time t|
00000530  68 61 6e 20 77 69 74 68  20 74 68 65 20 51 75 69  |han with the Qui|
00000540  63 6b 20 6f 70 74 69 6f  6e 20 6f 6e 2c 20 61 6c  |ck option on, al|
00000550  74 68 6f 75 67 68 20 69  74 20 77 69 6c 6c 20 75  |though it will u|
00000560  73 75 61 6c 6c 79 20 6e  6f 74 20 62 65 20 6e 6f  |sually not be no|
00000570  74 69 63 65 64 2e 0a 0a  43 6c 69 63 6b 69 6e 67  |ticed...Clicking|
00000580  20 6f 6e 20 27 46 6f 6e  74 27 20 77 69 6c 6c 20  | on 'Font' will |
00000590  74 6f 67 67 6c 65 20 74  68 65 20 75 73 65 20 6f  |toggle the use o|
000005a0  66 20 74 68 65 20 48 6f  6d 65 72 74 6f 6e 2e 4d  |f the Homerton.M|
000005b0  65 64 69 75 6d 20 66 6f  6e 74 20 66 6f 72 20 74  |edium font for t|
000005c0  68 65 0a 64 69 73 70 6c  61 79 2c 20 72 61 74 68  |he.display, rath|
000005d0  65 72 20 74 68 61 6e 20  74 68 65 20 73 79 73 74  |er than the syst|
000005e0  65 6d 20 66 6f 6e 74 2e  20 54 68 69 73 20 69 73  |em font. This is|
000005f0  20 62 65 73 74 20 75 73  65 64 20 77 69 74 68 20  | best used with |
00000600  68 69 2d 72 65 73 20 6d  6f 64 65 73 20 6f 6e 0a  |hi-res modes on.|
00000610  53 56 47 41 20 6f 72 20  6d 75 6c 74 69 73 79 6e  |SVGA or multisyn|
00000620  63 20 6d 6f 6e 69 74 6f  72 73 20 61 73 20 6e 6f  |c monitors as no|
00000630  72 6d 61 6c 20 6d 6f 6e  69 74 6f 72 73 20 6c 61  |rmal monitors la|
00000640  63 6b 20 65 6e 6f 75 67  68 20 64 65 66 69 6e 69  |ck enough defini|
00000650  74 69 6f 6e 2e 20 49 66  20 79 6f 75 0a 61 72 65  |tion. If you.are|
00000660  20 75 73 69 6e 67 20 52  49 53 43 20 4f 53 20 33  | using RISC OS 3|
00000670  2c 20 74 68 65 20 69 63  6f 6e 20 77 69 6c 6c 20  |, the icon will |
00000680  61 6c 77 61 79 73 20 62  65 20 6e 65 78 74 20 74  |always be next t|
00000690  6f 20 74 68 65 20 70 61  6c 65 74 74 65 2c 20 6f  |o the palette, o|
000006a0  74 68 65 72 77 69 73 65  0a 69 74 20 77 69 6c 6c  |therwise.it will|
000006b0  20 72 65 61 70 70 65 61  72 20 74 6f 20 74 68 65  | reappear to the|
000006c0  20 6c 65 66 74 20 6f 66  20 74 68 65 20 6f 74 68  | left of the oth|
000006d0  65 72 20 61 70 70 6c 69  63 61 74 69 6f 6e 20 69  |er application i|
000006e0  63 6f 6e 73 2e 20 46 72  65 65 4d 65 6d 20 77 69  |cons. FreeMem wi|
000006f0  6c 6c 0a 61 6c 73 6f 20  73 61 76 65 20 69 74 73  |ll.also save its|
00000700  20 70 61 74 68 6e 61 6d  65 20 69 6e 74 6f 20 74  | pathname into t|
00000710  68 65 20 64 65 73 6b 74  6f 70 20 62 6f 6f 74 20  |he desktop boot |
00000720  66 69 6c 65 20 69 6e 20  52 49 53 43 20 4f 53 20  |file in RISC OS |
00000730  33 2e 0a 0a 42 79 20 64  65 66 61 75 6c 74 2c 20  |3...By default, |
00000740  74 68 65 20 46 6f 6e 74  20 61 6e 64 20 51 75 69  |the Font and Qui|
00000750  63 6b 20 6f 70 74 69 6f  6e 73 20 61 72 65 20 6f  |ck options are o|
00000760  66 66 2e 20 50 6c 61 63  69 6e 67 20 61 6e 20 27  |ff. Placing an '|
00000770  46 27 20 6f 72 20 61 20  27 51 27 20 61 74 0a 74  |F' or a 'Q' at.t|
00000780  68 65 20 65 6e 64 20 6f  66 20 74 68 65 20 21 52  |he end of the !R|
00000790  75 6e 20 66 69 6c 65 20  69 6e 20 61 6e 79 20 6f  |un file in any o|
000007a0  72 64 65 72 20 77 69 6c  6c 20 74 6f 67 67 6c 65  |rder will toggle|
000007b0  20 74 68 65 20 72 65 6c  65 76 61 6e 74 20 6f 70  | the relevant op|
000007c0  74 69 6f 6e 2e 20 53 6f  6d 65 0a 65 78 61 6d 70  |tion. Some.examp|
000007d0  6c 65 73 20 3a 0a 0a 52  4d 45 6e 73 75 72 65 20  |les :..RMEnsure |
000007e0  46 72 65 65 4d 65 6d 20  31 2e 30 33 20 52 4d 52  |FreeMem 1.03 RMR|
000007f0  75 6e 20 3c 46 72 65 65  4d 65 6d 24 44 69 72 3e  |un <FreeMem$Dir>|
00000800  2e 21 52 75 6e 49 6d 61  67 65 20 46 0a 52 4d 45  |.!RunImage F.RME|
00000810  6e 73 75 72 65 20 46 72  65 65 4d 65 6d 20 31 2e  |nsure FreeMem 1.|
00000820  30 33 20 52 4d 52 75 6e  20 3c 46 72 65 65 4d 65  |03 RMRun <FreeMe|
00000830  6d 24 44 69 72 3e 2e 21  52 75 6e 49 6d 61 67 65  |m$Dir>.!RunImage|
00000840  20 71 66 0a 52 4d 45 6e  73 75 72 65 20 46 72 65  | qf.RMEnsure Fre|
00000850  65 4d 65 6d 20 31 2e 30  33 20 52 4d 52 75 6e 20  |eMem 1.03 RMRun |
00000860  3c 46 72 65 65 4d 65 6d  24 44 69 72 3e 2e 21 52  |<FreeMem$Dir>.!R|
00000870  75 6e 49 6d 61 67 65 20  66 20 51 0a 0a 54 68 65  |unImage f Q..The|
00000880  73 65 20 63 61 6e 20 61  6c 73 6f 20 62 65 20 75  |se can also be u|
00000890  73 65 64 20 74 6f 20 72  75 6e 20 46 72 65 65 4d  |sed to run FreeM|
000008a0  65 6d 2c 20 61 73 20 74  68 65 20 61 63 74 75 61  |em, as the actua|
000008b0  6c 20 61 70 70 6c 69 63  61 74 69 6f 6e 20 69 73  |l application is|
000008c0  0a 6e 6f 74 20 6e 65 65  64 65 64 20 28 61 70 61  |.not needed (apa|
000008d0  72 74 20 66 72 6f 6d 20  74 68 65 20 73 70 72 69  |rt from the spri|
000008e0  74 65 20 66 69 6c 65 29  0a 0a 43 6c 69 63 6b 69  |te file)..Clicki|
000008f0  6e 67 20 41 64 6a 75 73  74 20 6f 6e 20 74 68 65  |ng Adjust on the|
00000900  20 69 63 6f 6e 20 77 69  6c 6c 20 64 69 73 70 6c  | icon will displ|
00000910  61 79 20 74 68 65 20 63  75 72 72 65 6e 74 20 74  |ay the current t|
00000920  69 6d 65 20 66 6f 72 20  61 20 66 65 77 20 73 65  |ime for a few se|
00000930  63 6f 6e 64 73 0a 61 6e  64 20 74 68 65 6e 20 72  |conds.and then r|
00000940  65 64 69 73 70 6c 61 79  20 74 68 65 20 6d 65 6d  |edisplay the mem|
00000950  6f 72 79 2e 0a 0a 4b 6e  6f 77 6e 20 70 72 6f 62  |ory...Known prob|
00000960  6c 65 6d 73 20 3a 0a 2d  2d 2d 2d 2d 2d 2d 2d 2d  |lems :.---------|
00000970  2d 2d 2d 2d 2d 2d 2d 0a  55 73 69 6e 67 20 74 68  |-------.Using th|
00000980  65 20 46 6f 6e 74 20 6f  70 74 69 6f 6e 20 63 61  |e Font option ca|
00000990  6e 20 73 6f 6d 65 74 69  6d 65 73 20 64 69 73 70  |n sometimes disp|
000009a0  6c 61 79 20 74 68 65 20  77 72 6f 6e 67 20 61 73  |lay the wrong as|
000009b0  70 65 63 74 20 72 61 74  69 6f 20 66 6f 72 20 74  |pect ratio for t|
000009c0  68 65 0a 66 6f 6e 74 20  77 68 65 6e 20 6d 6f 76  |he.font when mov|
000009d0  69 6e 67 20 74 6f 20 61  6e 6f 74 68 65 72 20 6d  |ing to another m|
000009e0  6f 64 65 2e 20 44 65 73  65 6c 65 63 74 20 61 6e  |ode. Deselect an|
000009f0  64 20 74 68 65 6e 20 72  65 73 65 6c 65 63 74 20  |d then reselect |
00000a00  74 68 65 20 66 6f 6e 74  20 6f 70 74 69 6f 6e 0a  |the font option.|
00000a10  74 6f 20 63 75 72 65 20  74 68 69 73 2e 0a 0a 43  |to cure this...C|
00000a20  6f 6d 6d 65 6e 74 73 2c  20 62 75 67 73 20 65 74  |omments, bugs et|
00000a30  63 20 74 6f 20 3a 0a 0a  4c 69 71 75 69 64 20 53  |c to :..Liquid S|
00000a40  69 6c 69 63 6f 6e 0a 46  52 45 45 50 4f 53 54 20  |ilicon.FREEPOST |
00000a50  45 48 32 37 32 35 0a 4b  69 72 6b 63 61 6c 64 79  |EH2725.Kirkcaldy|
00000a60  0a 46 69 66 65 0a 4b 59  32 20 35 42 52 0a 54 65  |.Fife.KY2 5BR.Te|
00000a70  6c 3a 20 28 30 35 39 32  29 20 32 36 30 35 31 32  |l: (0592) 260512|
00000a80  0a 0a 41 20 66 72 65 65  20 63 6f 6d 70 72 65 68  |..A free compreh|
00000a90  65 6e 73 69 76 65 20 28  36 30 20 70 61 67 65 29  |ensive (60 page)|
00000aa0  20 63 61 74 61 6c 6f 67  75 65 20 6f 66 20 41 63  | catalogue of Ac|
00000ab0  6f 72 6e 20 70 72 6f 64  75 63 74 73 20 69 73 20  |orn products is |
00000ac0  61 6c 73 6f 20 61 76 61  69 6c 61 62 6c 65 0a 66  |also available.f|
00000ad0  72 6f 6d 20 74 68 65 20  73 61 6d 65 20 61 64 64  |rom the same add|
00000ae0  72 65 73 73 2e 0a                                 |ress..|
00000ae6