Home » Archimedes archive » Acorn Computing » 1995 01.adf » 9501 » Programs/Calendar/!Calendar/!Run

Programs/Calendar/!Calendar/!Run

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: Programs/Calendar/!Calendar/!Run
Read OK:
File size: 02C7 bytes
Load address: 0000
Exec address: 0000
File contents
|
SetEval  Calendar$OS3 -1
RMEnsure UtilityModule 3.10 SetEval Calendar$OS3 0
|
If NOT <Calendar$OS3> THEN Error 0 Require RISC OS 3.10 or more recent
|
If "<System$Path>" = "" AND NOT <Calendar$OS3> THEN Error 0 System resources cannot be found
|
WimpSlot -min 128k -max 128k
|
RMEnsure SharedClibrary 0 System:Modules.clib
RMEnsure SharedCLibrary 3.75 Error You need at least version 3.75 of the shared C library
|
RMEnsure FPEmulator 0 System:Modules.fpemulator
RMEnsure FPEmulator 2.80 Error You need at least version 2.80 of the Floating Point Emulator
|
Set Calendar$Dir <Obey$Dir>
Iconsprites <Calendar$Dir>.!Sprites
|
UnSet Calendar$OS3
|
WimpSlot -min 128k -max 128k
|
Run <Calendar$Dir>.!RunImage %*0
00000000  7c 0a 53 65 74 45 76 61  6c 20 20 43 61 6c 65 6e  ||.SetEval  Calen|
00000010  64 61 72 24 4f 53 33 20  2d 31 0a 52 4d 45 6e 73  |dar$OS3 -1.RMEns|
00000020  75 72 65 20 55 74 69 6c  69 74 79 4d 6f 64 75 6c  |ure UtilityModul|
00000030  65 20 33 2e 31 30 20 53  65 74 45 76 61 6c 20 43  |e 3.10 SetEval C|
00000040  61 6c 65 6e 64 61 72 24  4f 53 33 20 30 0a 7c 0a  |alendar$OS3 0.|.|
00000050  49 66 20 4e 4f 54 20 3c  43 61 6c 65 6e 64 61 72  |If NOT <Calendar|
00000060  24 4f 53 33 3e 20 54 48  45 4e 20 45 72 72 6f 72  |$OS3> THEN Error|
00000070  20 30 20 52 65 71 75 69  72 65 20 52 49 53 43 20  | 0 Require RISC |
00000080  4f 53 20 33 2e 31 30 20  6f 72 20 6d 6f 72 65 20  |OS 3.10 or more |
00000090  72 65 63 65 6e 74 0a 7c  0a 49 66 20 22 3c 53 79  |recent.|.If "<Sy|
000000a0  73 74 65 6d 24 50 61 74  68 3e 22 20 3d 20 22 22  |stem$Path>" = ""|
000000b0  20 41 4e 44 20 4e 4f 54  20 3c 43 61 6c 65 6e 64  | AND NOT <Calend|
000000c0  61 72 24 4f 53 33 3e 20  54 48 45 4e 20 45 72 72  |ar$OS3> THEN Err|
000000d0  6f 72 20 30 20 53 79 73  74 65 6d 20 72 65 73 6f  |or 0 System reso|
000000e0  75 72 63 65 73 20 63 61  6e 6e 6f 74 20 62 65 20  |urces cannot be |
000000f0  66 6f 75 6e 64 0a 7c 0a  57 69 6d 70 53 6c 6f 74  |found.|.WimpSlot|
00000100  20 2d 6d 69 6e 20 31 32  38 6b 20 2d 6d 61 78 20  | -min 128k -max |
00000110  31 32 38 6b 0a 7c 0a 52  4d 45 6e 73 75 72 65 20  |128k.|.RMEnsure |
00000120  53 68 61 72 65 64 43 6c  69 62 72 61 72 79 20 30  |SharedClibrary 0|
00000130  20 53 79 73 74 65 6d 3a  4d 6f 64 75 6c 65 73 2e  | System:Modules.|
00000140  63 6c 69 62 0a 52 4d 45  6e 73 75 72 65 20 53 68  |clib.RMEnsure Sh|
00000150  61 72 65 64 43 4c 69 62  72 61 72 79 20 33 2e 37  |aredCLibrary 3.7|
00000160  35 20 45 72 72 6f 72 20  59 6f 75 20 6e 65 65 64  |5 Error You need|
00000170  20 61 74 20 6c 65 61 73  74 20 76 65 72 73 69 6f  | at least versio|
00000180  6e 20 33 2e 37 35 20 6f  66 20 74 68 65 20 73 68  |n 3.75 of the sh|
00000190  61 72 65 64 20 43 20 6c  69 62 72 61 72 79 0a 7c  |ared C library.||
000001a0  0a 52 4d 45 6e 73 75 72  65 20 46 50 45 6d 75 6c  |.RMEnsure FPEmul|
000001b0  61 74 6f 72 20 30 20 53  79 73 74 65 6d 3a 4d 6f  |ator 0 System:Mo|
000001c0  64 75 6c 65 73 2e 66 70  65 6d 75 6c 61 74 6f 72  |dules.fpemulator|
000001d0  0a 52 4d 45 6e 73 75 72  65 20 46 50 45 6d 75 6c  |.RMEnsure FPEmul|
000001e0  61 74 6f 72 20 32 2e 38  30 20 45 72 72 6f 72 20  |ator 2.80 Error |
000001f0  59 6f 75 20 6e 65 65 64  20 61 74 20 6c 65 61 73  |You need at leas|
00000200  74 20 76 65 72 73 69 6f  6e 20 32 2e 38 30 20 6f  |t version 2.80 o|
00000210  66 20 74 68 65 20 46 6c  6f 61 74 69 6e 67 20 50  |f the Floating P|
00000220  6f 69 6e 74 20 45 6d 75  6c 61 74 6f 72 0a 7c 0a  |oint Emulator.|.|
00000230  53 65 74 20 43 61 6c 65  6e 64 61 72 24 44 69 72  |Set Calendar$Dir|
00000240  20 3c 4f 62 65 79 24 44  69 72 3e 0a 49 63 6f 6e  | <Obey$Dir>.Icon|
00000250  73 70 72 69 74 65 73 20  3c 43 61 6c 65 6e 64 61  |sprites <Calenda|
00000260  72 24 44 69 72 3e 2e 21  53 70 72 69 74 65 73 0a  |r$Dir>.!Sprites.|
00000270  7c 0a 55 6e 53 65 74 20  43 61 6c 65 6e 64 61 72  ||.UnSet Calendar|
00000280  24 4f 53 33 0a 7c 0a 57  69 6d 70 53 6c 6f 74 20  |$OS3.|.WimpSlot |
00000290  2d 6d 69 6e 20 31 32 38  6b 20 2d 6d 61 78 20 31  |-min 128k -max 1|
000002a0  32 38 6b 0a 7c 0a 52 75  6e 20 3c 43 61 6c 65 6e  |28k.|.Run <Calen|
000002b0  64 61 72 24 44 69 72 3e  2e 21 52 75 6e 49 6d 61  |dar$Dir>.!RunIma|
000002c0  67 65 20 25 2a 30 0a                              |ge %*0.|
000002c7