Home » Archimedes archive » Acorn Computing » 1995 01.adf » 9501 » TechForum/TskAlrmBug/ReadMe

TechForum/TskAlrmBug/ReadMe

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 Computing » 1995 01.adf » 9501
Filename: TechForum/TskAlrmBug/ReadMe
Read OK:
File size: 0DE1 bytes
Load address: 0000
Exec address: 0000
File contents
Is there a bug in RISC OS 3.10's version of !Alarm (module 2.37
24-Apr-1992), which prevents a task setting an alarm via Message_AlarmSet
(prm 3-243)?

Load !Alarm, then try running SetTskAlm which should set a task alarm for
1996 - if you manage to set the alarm, run RemTskAlm to cancel it - however
I'll be surprised if you get that far & were able set an alarm in this way.

****************************************************************************

When SetTskAlm is run, !Alarm seems to respond with an error 'Unexpected
error :- Unknown or missing variable (5400)', refusing to set the alarm.

If you load Resources:$.Resources.Alarm.!RunImage into an editor that can
handle BASIC, such as !Edit or the PD !Zap (which is to be recommended),
being careful not to renumber it as it is numbered in steps of 5, take a
look at the code around line 5400 inside procedure Ab.

This isn't easy to read, as it's been squashed, however we can deduce a few
things.

As pointed out by James Aylett, this code contains references to the
variable dd%, but seems to ignore od% once it has been set up.

Now, dd% is a variable local to other procedures - & hence also local to any
other procs or fns which they call - but which may not be defined when line
5400 gets executed, which is concerned with setting up the time for the
task alarm.

On the other hand, od% is defined & contains the minutes component for the
alarm time, which is clearly of importance. It is therefore rather
surprising that this doesn't seem to be subsequently used within Ab.

Does this reflect a typographical bug in writing of the source !RunImage
program - should the reference to dd% actually be to od%?

If so, how come it wasn't noticed when testing, or more recently? -
Surely some other programmers have tried to use Message_AlarmSet, or have I
just not come across a report of this bug before?

To check out if this is the cause of the error we can try correcting for it.
The resources file is contained within, & registered by, the !Alarm module.

To modify the offending line, all we need to do is load the module from ROM
into a suitable byte editor - again !Zap is highly recommended, as it can
both grab & edit the data.

Ensuring your copy of the grabbed module is version 2.37, locate the byte
at offset &7ba3 & change it from &64 to &6f. Save the module to disc, &
then load it in the RMA. Check the resources !RunImage file, line 5400, to
make sure it has changed as expected - the section 'd%!zb%=dd%' should have
become 'd%!zb%=od%'.

Finally quit & reload the !Alarm application, then try running SetTaskAlm
again. You should now find it works okay. This isn't conclusive proof that
!Alarm is bugged as described, but it is pretty damning evidence.

Assuming the bug is real & can be fixed as explained, providing a long term
fix is not quite so easy, if you want to distribute an application which
needs this facility to work, as the patched !Alarm module can't be
distributed without permission.

Whether Acorn provide an upgrade to be included in !System, or you write a
utility to temporarily patch the faulty module when your application loads,
you are still going to lose 51Kb of RAM on the end user's machine to hold
the updated module in the RMA. That's a big chunk on a 1Mb machine.

Please send any abusive mail directly to Acorn.

As an afterword, if you don't have a copy of !Zap, but want one, you should
be able to pick up the latest version from:

The Archimedes Public Domain Library:
   39 Knighton Park Road
   Sydenham
   London
   SE26 5RN
00000000  0a 49 73 20 74 68 65 72  65 20 61 20 62 75 67 20  |.Is there a bug |
00000010  69 6e 20 52 49 53 43 20  4f 53 20 33 2e 31 30 27  |in RISC OS 3.10'|
00000020  73 20 76 65 72 73 69 6f  6e 20 6f 66 20 21 41 6c  |s version of !Al|
00000030  61 72 6d 20 28 6d 6f 64  75 6c 65 20 32 2e 33 37  |arm (module 2.37|
00000040  0a 32 34 2d 41 70 72 2d  31 39 39 32 29 2c 20 77  |.24-Apr-1992), w|
00000050  68 69 63 68 20 70 72 65  76 65 6e 74 73 20 61 20  |hich prevents a |
00000060  74 61 73 6b 20 73 65 74  74 69 6e 67 20 61 6e 20  |task setting an |
00000070  61 6c 61 72 6d 20 76 69  61 20 4d 65 73 73 61 67  |alarm via Messag|
00000080  65 5f 41 6c 61 72 6d 53  65 74 0a 28 70 72 6d 20  |e_AlarmSet.(prm |
00000090  33 2d 32 34 33 29 3f 0a  0a 4c 6f 61 64 20 21 41  |3-243)?..Load !A|
000000a0  6c 61 72 6d 2c 20 74 68  65 6e 20 74 72 79 20 72  |larm, then try r|
000000b0  75 6e 6e 69 6e 67 20 53  65 74 54 73 6b 41 6c 6d  |unning SetTskAlm|
000000c0  20 77 68 69 63 68 20 73  68 6f 75 6c 64 20 73 65  | which should se|
000000d0  74 20 61 20 74 61 73 6b  20 61 6c 61 72 6d 20 66  |t a task alarm f|
000000e0  6f 72 0a 31 39 39 36 20  2d 20 69 66 20 79 6f 75  |or.1996 - if you|
000000f0  20 6d 61 6e 61 67 65 20  74 6f 20 73 65 74 20 74  | manage to set t|
00000100  68 65 20 61 6c 61 72 6d  2c 20 72 75 6e 20 52 65  |he alarm, run Re|
00000110  6d 54 73 6b 41 6c 6d 20  74 6f 20 63 61 6e 63 65  |mTskAlm to cance|
00000120  6c 20 69 74 20 2d 20 68  6f 77 65 76 65 72 0a 49  |l it - however.I|
00000130  27 6c 6c 20 62 65 20 73  75 72 70 72 69 73 65 64  |'ll be surprised|
00000140  20 69 66 20 79 6f 75 20  67 65 74 20 74 68 61 74  | if you get that|
00000150  20 66 61 72 20 26 20 77  65 72 65 20 61 62 6c 65  | far & were able|
00000160  20 73 65 74 20 61 6e 20  61 6c 61 72 6d 20 69 6e  | set an alarm in|
00000170  20 74 68 69 73 20 77 61  79 2e 0a 0a 2a 2a 2a 2a  | this way...****|
00000180  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
*
000001c0  2a 2a 2a 2a 2a 2a 2a 2a  0a 0a 57 68 65 6e 20 53  |********..When S|
000001d0  65 74 54 73 6b 41 6c 6d  20 69 73 20 72 75 6e 2c  |etTskAlm is run,|
000001e0  20 21 41 6c 61 72 6d 20  73 65 65 6d 73 20 74 6f  | !Alarm seems to|
000001f0  20 72 65 73 70 6f 6e 64  20 77 69 74 68 20 61 6e  | respond with an|
00000200  20 65 72 72 6f 72 20 27  55 6e 65 78 70 65 63 74  | error 'Unexpect|
00000210  65 64 0a 65 72 72 6f 72  20 3a 2d 20 55 6e 6b 6e  |ed.error :- Unkn|
00000220  6f 77 6e 20 6f 72 20 6d  69 73 73 69 6e 67 20 76  |own or missing v|
00000230  61 72 69 61 62 6c 65 20  28 35 34 30 30 29 27 2c  |ariable (5400)',|
00000240  20 72 65 66 75 73 69 6e  67 20 74 6f 20 73 65 74  | refusing to set|
00000250  20 74 68 65 20 61 6c 61  72 6d 2e 0a 0a 49 66 20  | the alarm...If |
00000260  79 6f 75 20 6c 6f 61 64  20 52 65 73 6f 75 72 63  |you load Resourc|
00000270  65 73 3a 24 2e 52 65 73  6f 75 72 63 65 73 2e 41  |es:$.Resources.A|
00000280  6c 61 72 6d 2e 21 52 75  6e 49 6d 61 67 65 20 69  |larm.!RunImage i|
00000290  6e 74 6f 20 61 6e 20 65  64 69 74 6f 72 20 74 68  |nto an editor th|
000002a0  61 74 20 63 61 6e 0a 68  61 6e 64 6c 65 20 42 41  |at can.handle BA|
000002b0  53 49 43 2c 20 73 75 63  68 20 61 73 20 21 45 64  |SIC, such as !Ed|
000002c0  69 74 20 6f 72 20 74 68  65 20 50 44 20 21 5a 61  |it or the PD !Za|
000002d0  70 20 28 77 68 69 63 68  20 69 73 20 74 6f 20 62  |p (which is to b|
000002e0  65 20 72 65 63 6f 6d 6d  65 6e 64 65 64 29 2c 0a  |e recommended),.|
000002f0  62 65 69 6e 67 20 63 61  72 65 66 75 6c 20 6e 6f  |being careful no|
00000300  74 20 74 6f 20 72 65 6e  75 6d 62 65 72 20 69 74  |t to renumber it|
00000310  20 61 73 20 69 74 20 69  73 20 6e 75 6d 62 65 72  | as it is number|
00000320  65 64 20 69 6e 20 73 74  65 70 73 20 6f 66 20 35  |ed in steps of 5|
00000330  2c 20 74 61 6b 65 20 61  0a 6c 6f 6f 6b 20 61 74  |, take a.look at|
00000340  20 74 68 65 20 63 6f 64  65 20 61 72 6f 75 6e 64  | the code around|
00000350  20 6c 69 6e 65 20 35 34  30 30 20 69 6e 73 69 64  | line 5400 insid|
00000360  65 20 70 72 6f 63 65 64  75 72 65 20 41 62 2e 0a  |e procedure Ab..|
00000370  0a 54 68 69 73 20 69 73  6e 27 74 20 65 61 73 79  |.This isn't easy|
00000380  20 74 6f 20 72 65 61 64  2c 20 61 73 20 69 74 27  | to read, as it'|
00000390  73 20 62 65 65 6e 20 73  71 75 61 73 68 65 64 2c  |s been squashed,|
000003a0  20 68 6f 77 65 76 65 72  20 77 65 20 63 61 6e 20  | however we can |
000003b0  64 65 64 75 63 65 20 61  20 66 65 77 0a 74 68 69  |deduce a few.thi|
000003c0  6e 67 73 2e 0a 0a 41 73  20 70 6f 69 6e 74 65 64  |ngs...As pointed|
000003d0  20 6f 75 74 20 62 79 20  4a 61 6d 65 73 20 41 79  | out by James Ay|
000003e0  6c 65 74 74 2c 20 74 68  69 73 20 63 6f 64 65 20  |lett, this code |
000003f0  63 6f 6e 74 61 69 6e 73  20 72 65 66 65 72 65 6e  |contains referen|
00000400  63 65 73 20 74 6f 20 74  68 65 0a 76 61 72 69 61  |ces to the.varia|
00000410  62 6c 65 20 64 64 25 2c  20 62 75 74 20 73 65 65  |ble dd%, but see|
00000420  6d 73 20 74 6f 20 69 67  6e 6f 72 65 20 6f 64 25  |ms to ignore od%|
00000430  20 6f 6e 63 65 20 69 74  20 68 61 73 20 62 65 65  | once it has bee|
00000440  6e 20 73 65 74 20 75 70  2e 0a 0a 4e 6f 77 2c 20  |n set up...Now, |
00000450  64 64 25 20 69 73 20 61  20 76 61 72 69 61 62 6c  |dd% is a variabl|
00000460  65 20 6c 6f 63 61 6c 20  74 6f 20 6f 74 68 65 72  |e local to other|
00000470  20 70 72 6f 63 65 64 75  72 65 73 20 2d 20 26 20  | procedures - & |
00000480  68 65 6e 63 65 20 61 6c  73 6f 20 6c 6f 63 61 6c  |hence also local|
00000490  20 74 6f 20 61 6e 79 0a  6f 74 68 65 72 20 70 72  | to any.other pr|
000004a0  6f 63 73 20 6f 72 20 66  6e 73 20 77 68 69 63 68  |ocs or fns which|
000004b0  20 74 68 65 79 20 63 61  6c 6c 20 2d 20 62 75 74  | they call - but|
000004c0  20 77 68 69 63 68 20 6d  61 79 20 6e 6f 74 20 62  | which may not b|
000004d0  65 20 64 65 66 69 6e 65  64 20 77 68 65 6e 20 6c  |e defined when l|
000004e0  69 6e 65 0a 35 34 30 30  20 67 65 74 73 20 65 78  |ine.5400 gets ex|
000004f0  65 63 75 74 65 64 2c 20  77 68 69 63 68 20 69 73  |ecuted, which is|
00000500  20 63 6f 6e 63 65 72 6e  65 64 20 77 69 74 68 20  | concerned with |
00000510  73 65 74 74 69 6e 67 20  75 70 20 74 68 65 20 74  |setting up the t|
00000520  69 6d 65 20 66 6f 72 20  74 68 65 0a 74 61 73 6b  |ime for the.task|
00000530  20 61 6c 61 72 6d 2e 0a  0a 4f 6e 20 74 68 65 20  | alarm...On the |
00000540  6f 74 68 65 72 20 68 61  6e 64 2c 20 6f 64 25 20  |other hand, od% |
00000550  69 73 20 64 65 66 69 6e  65 64 20 26 20 63 6f 6e  |is defined & con|
00000560  74 61 69 6e 73 20 74 68  65 20 6d 69 6e 75 74 65  |tains the minute|
00000570  73 20 63 6f 6d 70 6f 6e  65 6e 74 20 66 6f 72 20  |s component for |
00000580  74 68 65 0a 61 6c 61 72  6d 20 74 69 6d 65 2c 20  |the.alarm time, |
00000590  77 68 69 63 68 20 69 73  20 63 6c 65 61 72 6c 79  |which is clearly|
000005a0  20 6f 66 20 69 6d 70 6f  72 74 61 6e 63 65 2e 20  | of importance. |
000005b0  49 74 20 69 73 20 74 68  65 72 65 66 6f 72 65 20  |It is therefore |
000005c0  72 61 74 68 65 72 0a 73  75 72 70 72 69 73 69 6e  |rather.surprisin|
000005d0  67 20 74 68 61 74 20 74  68 69 73 20 64 6f 65 73  |g that this does|
000005e0  6e 27 74 20 73 65 65 6d  20 74 6f 20 62 65 20 73  |n't seem to be s|
000005f0  75 62 73 65 71 75 65 6e  74 6c 79 20 75 73 65 64  |ubsequently used|
00000600  20 77 69 74 68 69 6e 20  41 62 2e 0a 0a 44 6f 65  | within Ab...Doe|
00000610  73 20 74 68 69 73 20 72  65 66 6c 65 63 74 20 61  |s this reflect a|
00000620  20 74 79 70 6f 67 72 61  70 68 69 63 61 6c 20 62  | typographical b|
00000630  75 67 20 69 6e 20 77 72  69 74 69 6e 67 20 6f 66  |ug in writing of|
00000640  20 74 68 65 20 73 6f 75  72 63 65 20 21 52 75 6e  | the source !Run|
00000650  49 6d 61 67 65 0a 70 72  6f 67 72 61 6d 20 2d 20  |Image.program - |
00000660  73 68 6f 75 6c 64 20 74  68 65 20 72 65 66 65 72  |should the refer|
00000670  65 6e 63 65 20 74 6f 20  64 64 25 20 61 63 74 75  |ence to dd% actu|
00000680  61 6c 6c 79 20 62 65 20  74 6f 20 6f 64 25 3f 0a  |ally be to od%?.|
00000690  0a 49 66 20 73 6f 2c 20  68 6f 77 20 63 6f 6d 65  |.If so, how come|
000006a0  20 69 74 20 77 61 73 6e  27 74 20 6e 6f 74 69 63  | it wasn't notic|
000006b0  65 64 20 77 68 65 6e 20  74 65 73 74 69 6e 67 2c  |ed when testing,|
000006c0  20 6f 72 20 6d 6f 72 65  20 72 65 63 65 6e 74 6c  | or more recentl|
000006d0  79 3f 20 2d 0a 53 75 72  65 6c 79 20 73 6f 6d 65  |y? -.Surely some|
000006e0  20 6f 74 68 65 72 20 70  72 6f 67 72 61 6d 6d 65  | other programme|
000006f0  72 73 20 68 61 76 65 20  74 72 69 65 64 20 74 6f  |rs have tried to|
00000700  20 75 73 65 20 4d 65 73  73 61 67 65 5f 41 6c 61  | use Message_Ala|
00000710  72 6d 53 65 74 2c 20 6f  72 20 68 61 76 65 20 49  |rmSet, or have I|
00000720  0a 6a 75 73 74 20 6e 6f  74 20 63 6f 6d 65 20 61  |.just not come a|
00000730  63 72 6f 73 73 20 61 20  72 65 70 6f 72 74 20 6f  |cross a report o|
00000740  66 20 74 68 69 73 20 62  75 67 20 62 65 66 6f 72  |f this bug befor|
00000750  65 3f 0a 0a 54 6f 20 63  68 65 63 6b 20 6f 75 74  |e?..To check out|
00000760  20 69 66 20 74 68 69 73  20 69 73 20 74 68 65 20  | if this is the |
00000770  63 61 75 73 65 20 6f 66  20 74 68 65 20 65 72 72  |cause of the err|
00000780  6f 72 20 77 65 20 63 61  6e 20 74 72 79 20 63 6f  |or we can try co|
00000790  72 72 65 63 74 69 6e 67  20 66 6f 72 20 69 74 2e  |rrecting for it.|
000007a0  0a 54 68 65 20 72 65 73  6f 75 72 63 65 73 20 66  |.The resources f|
000007b0  69 6c 65 20 69 73 20 63  6f 6e 74 61 69 6e 65 64  |ile is contained|
000007c0  20 77 69 74 68 69 6e 2c  20 26 20 72 65 67 69 73  | within, & regis|
000007d0  74 65 72 65 64 20 62 79  2c 20 74 68 65 20 21 41  |tered by, the !A|
000007e0  6c 61 72 6d 20 6d 6f 64  75 6c 65 2e 0a 0a 54 6f  |larm module...To|
000007f0  20 6d 6f 64 69 66 79 20  74 68 65 20 6f 66 66 65  | modify the offe|
00000800  6e 64 69 6e 67 20 6c 69  6e 65 2c 20 61 6c 6c 20  |nding line, all |
00000810  77 65 20 6e 65 65 64 20  74 6f 20 64 6f 20 69 73  |we need to do is|
00000820  20 6c 6f 61 64 20 74 68  65 20 6d 6f 64 75 6c 65  | load the module|
00000830  20 66 72 6f 6d 20 52 4f  4d 0a 69 6e 74 6f 20 61  | from ROM.into a|
00000840  20 73 75 69 74 61 62 6c  65 20 62 79 74 65 20 65  | suitable byte e|
00000850  64 69 74 6f 72 20 2d 20  61 67 61 69 6e 20 21 5a  |ditor - again !Z|
00000860  61 70 20 69 73 20 68 69  67 68 6c 79 20 72 65 63  |ap is highly rec|
00000870  6f 6d 6d 65 6e 64 65 64  2c 20 61 73 20 69 74 20  |ommended, as it |
00000880  63 61 6e 0a 62 6f 74 68  20 67 72 61 62 20 26 20  |can.both grab & |
00000890  65 64 69 74 20 74 68 65  20 64 61 74 61 2e 0a 0a  |edit the data...|
000008a0  45 6e 73 75 72 69 6e 67  20 79 6f 75 72 20 63 6f  |Ensuring your co|
000008b0  70 79 20 6f 66 20 74 68  65 20 67 72 61 62 62 65  |py of the grabbe|
000008c0  64 20 6d 6f 64 75 6c 65  20 69 73 20 76 65 72 73  |d module is vers|
000008d0  69 6f 6e 20 32 2e 33 37  2c 20 6c 6f 63 61 74 65  |ion 2.37, locate|
000008e0  20 74 68 65 20 62 79 74  65 0a 61 74 20 6f 66 66  | the byte.at off|
000008f0  73 65 74 20 26 37 62 61  33 20 26 20 63 68 61 6e  |set &7ba3 & chan|
00000900  67 65 20 69 74 20 66 72  6f 6d 20 26 36 34 20 74  |ge it from &64 t|
00000910  6f 20 26 36 66 2e 20 53  61 76 65 20 74 68 65 20  |o &6f. Save the |
00000920  6d 6f 64 75 6c 65 20 74  6f 20 64 69 73 63 2c 20  |module to disc, |
00000930  26 0a 74 68 65 6e 20 6c  6f 61 64 20 69 74 20 69  |&.then load it i|
00000940  6e 20 74 68 65 20 52 4d  41 2e 20 43 68 65 63 6b  |n the RMA. Check|
00000950  20 74 68 65 20 72 65 73  6f 75 72 63 65 73 20 21  | the resources !|
00000960  52 75 6e 49 6d 61 67 65  20 66 69 6c 65 2c 20 6c  |RunImage file, l|
00000970  69 6e 65 20 35 34 30 30  2c 20 74 6f 0a 6d 61 6b  |ine 5400, to.mak|
00000980  65 20 73 75 72 65 20 69  74 20 68 61 73 20 63 68  |e sure it has ch|
00000990  61 6e 67 65 64 20 61 73  20 65 78 70 65 63 74 65  |anged as expecte|
000009a0  64 20 2d 20 74 68 65 20  73 65 63 74 69 6f 6e 20  |d - the section |
000009b0  27 64 25 21 7a 62 25 3d  64 64 25 27 20 73 68 6f  |'d%!zb%=dd%' sho|
000009c0  75 6c 64 20 68 61 76 65  0a 62 65 63 6f 6d 65 20  |uld have.become |
000009d0  27 64 25 21 7a 62 25 3d  6f 64 25 27 2e 0a 0a 46  |'d%!zb%=od%'...F|
000009e0  69 6e 61 6c 6c 79 20 71  75 69 74 20 26 20 72 65  |inally quit & re|
000009f0  6c 6f 61 64 20 74 68 65  20 21 41 6c 61 72 6d 20  |load the !Alarm |
00000a00  61 70 70 6c 69 63 61 74  69 6f 6e 2c 20 74 68 65  |application, the|
00000a10  6e 20 74 72 79 20 72 75  6e 6e 69 6e 67 20 53 65  |n try running Se|
00000a20  74 54 61 73 6b 41 6c 6d  0a 61 67 61 69 6e 2e 20  |tTaskAlm.again. |
00000a30  59 6f 75 20 73 68 6f 75  6c 64 20 6e 6f 77 20 66  |You should now f|
00000a40  69 6e 64 20 69 74 20 77  6f 72 6b 73 20 6f 6b 61  |ind it works oka|
00000a50  79 2e 20 54 68 69 73 20  69 73 6e 27 74 20 63 6f  |y. This isn't co|
00000a60  6e 63 6c 75 73 69 76 65  20 70 72 6f 6f 66 20 74  |nclusive proof t|
00000a70  68 61 74 0a 21 41 6c 61  72 6d 20 69 73 20 62 75  |hat.!Alarm is bu|
00000a80  67 67 65 64 20 61 73 20  64 65 73 63 72 69 62 65  |gged as describe|
00000a90  64 2c 20 62 75 74 20 69  74 20 69 73 20 70 72 65  |d, but it is pre|
00000aa0  74 74 79 20 64 61 6d 6e  69 6e 67 20 65 76 69 64  |tty damning evid|
00000ab0  65 6e 63 65 2e 0a 0a 41  73 73 75 6d 69 6e 67 20  |ence...Assuming |
00000ac0  74 68 65 20 62 75 67 20  69 73 20 72 65 61 6c 20  |the bug is real |
00000ad0  26 20 63 61 6e 20 62 65  20 66 69 78 65 64 20 61  |& can be fixed a|
00000ae0  73 20 65 78 70 6c 61 69  6e 65 64 2c 20 70 72 6f  |s explained, pro|
00000af0  76 69 64 69 6e 67 20 61  20 6c 6f 6e 67 20 74 65  |viding a long te|
00000b00  72 6d 0a 66 69 78 20 69  73 20 6e 6f 74 20 71 75  |rm.fix is not qu|
00000b10  69 74 65 20 73 6f 20 65  61 73 79 2c 20 69 66 20  |ite so easy, if |
00000b20  79 6f 75 20 77 61 6e 74  20 74 6f 20 64 69 73 74  |you want to dist|
00000b30  72 69 62 75 74 65 20 61  6e 20 61 70 70 6c 69 63  |ribute an applic|
00000b40  61 74 69 6f 6e 20 77 68  69 63 68 0a 6e 65 65 64  |ation which.need|
00000b50  73 20 74 68 69 73 20 66  61 63 69 6c 69 74 79 20  |s this facility |
00000b60  74 6f 20 77 6f 72 6b 2c  20 61 73 20 74 68 65 20  |to work, as the |
00000b70  70 61 74 63 68 65 64 20  21 41 6c 61 72 6d 20 6d  |patched !Alarm m|
00000b80  6f 64 75 6c 65 20 63 61  6e 27 74 20 62 65 0a 64  |odule can't be.d|
00000b90  69 73 74 72 69 62 75 74  65 64 20 77 69 74 68 6f  |istributed witho|
00000ba0  75 74 20 70 65 72 6d 69  73 73 69 6f 6e 2e 0a 0a  |ut permission...|
00000bb0  57 68 65 74 68 65 72 20  41 63 6f 72 6e 20 70 72  |Whether Acorn pr|
00000bc0  6f 76 69 64 65 20 61 6e  20 75 70 67 72 61 64 65  |ovide an upgrade|
00000bd0  20 74 6f 20 62 65 20 69  6e 63 6c 75 64 65 64 20  | to be included |
00000be0  69 6e 20 21 53 79 73 74  65 6d 2c 20 6f 72 20 79  |in !System, or y|
00000bf0  6f 75 20 77 72 69 74 65  20 61 0a 75 74 69 6c 69  |ou write a.utili|
00000c00  74 79 20 74 6f 20 74 65  6d 70 6f 72 61 72 69 6c  |ty to temporaril|
00000c10  79 20 70 61 74 63 68 20  74 68 65 20 66 61 75 6c  |y patch the faul|
00000c20  74 79 20 6d 6f 64 75 6c  65 20 77 68 65 6e 20 79  |ty module when y|
00000c30  6f 75 72 20 61 70 70 6c  69 63 61 74 69 6f 6e 20  |our application |
00000c40  6c 6f 61 64 73 2c 0a 79  6f 75 20 61 72 65 20 73  |loads,.you are s|
00000c50  74 69 6c 6c 20 67 6f 69  6e 67 20 74 6f 20 6c 6f  |till going to lo|
00000c60  73 65 20 35 31 4b 62 20  6f 66 20 52 41 4d 20 6f  |se 51Kb of RAM o|
00000c70  6e 20 74 68 65 20 65 6e  64 20 75 73 65 72 27 73  |n the end user's|
00000c80  20 6d 61 63 68 69 6e 65  20 74 6f 20 68 6f 6c 64  | machine to hold|
00000c90  0a 74 68 65 20 75 70 64  61 74 65 64 20 6d 6f 64  |.the updated mod|
00000ca0  75 6c 65 20 69 6e 20 74  68 65 20 52 4d 41 2e 20  |ule in the RMA. |
00000cb0  54 68 61 74 27 73 20 61  20 62 69 67 20 63 68 75  |That's a big chu|
00000cc0  6e 6b 20 6f 6e 20 61 20  31 4d 62 20 6d 61 63 68  |nk on a 1Mb mach|
00000cd0  69 6e 65 2e 0a 0a 50 6c  65 61 73 65 20 73 65 6e  |ine...Please sen|
00000ce0  64 20 61 6e 79 20 61 62  75 73 69 76 65 20 6d 61  |d any abusive ma|
00000cf0  69 6c 20 64 69 72 65 63  74 6c 79 20 74 6f 20 41  |il directly to A|
00000d00  63 6f 72 6e 2e 0a 0a 41  73 20 61 6e 20 61 66 74  |corn...As an aft|
00000d10  65 72 77 6f 72 64 2c 20  69 66 20 79 6f 75 20 64  |erword, if you d|
00000d20  6f 6e 27 74 20 68 61 76  65 20 61 20 63 6f 70 79  |on't have a copy|
00000d30  20 6f 66 20 21 5a 61 70  2c 20 62 75 74 20 77 61  | of !Zap, but wa|
00000d40  6e 74 20 6f 6e 65 2c 20  79 6f 75 20 73 68 6f 75  |nt one, you shou|
00000d50  6c 64 0a 62 65 20 61 62  6c 65 20 74 6f 20 70 69  |ld.be able to pi|
00000d60  63 6b 20 75 70 20 74 68  65 20 6c 61 74 65 73 74  |ck up the latest|
00000d70  20 76 65 72 73 69 6f 6e  20 66 72 6f 6d 3a 0a 0a  | version from:..|
00000d80  54 68 65 20 41 72 63 68  69 6d 65 64 65 73 20 50  |The Archimedes P|
00000d90  75 62 6c 69 63 20 44 6f  6d 61 69 6e 20 4c 69 62  |ublic Domain Lib|
00000da0  72 61 72 79 3a 0a 20 20  20 33 39 20 4b 6e 69 67  |rary:.   39 Knig|
00000db0  68 74 6f 6e 20 50 61 72  6b 20 52 6f 61 64 0a 20  |hton Park Road. |
00000dc0  20 20 53 79 64 65 6e 68  61 6d 0a 20 20 20 4c 6f  |  Sydenham.   Lo|
00000dd0  6e 64 6f 6e 0a 20 20 20  53 45 32 36 20 35 52 4e  |ndon.   SE26 5RN|
00000de0  0a                                                |.|
00000de1