Home » Archimedes archive » Zipped Apps » Orrery » !Orrery/!Run

!Orrery/!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 » Zipped Apps » Orrery
Filename: !Orrery/!Run
Read OK:
File size: 03B2 bytes
Load address: 0000
Exec address: 0000
File contents
| > !orrery.!run 15-2-91
|
Set File$Type_CBF Or_Setup
Set Alias$@RunType_CBF /<Obey$Dir>.!Run %%*0
IconSprites <Obey$Dir>.!Sprites
|
set ORRERY$dir <Obey$Dir>
if "<System$Path>" = "" then Error 0 System resources cannot be found.
WimpSlot -min 560K -max 1024K
rmensure 3Dassist 3.00 rmload <ORRERY$Dir>.Modules.3Dassist
rmensure 3Dassist 3.00 Error 0 Module 3DAssist v3.00 or later required.
rmensure ColourTrans 0.00 rmload System:Modules.Colours
|                
|
| The last line starts the Orrery with user preferred co-ordinates;
|
| parameter following lat  = users home latitude            (-lat for South)
| parameter following long = users home longitude           (-long for West)
| parameter following  GMT = users local time offset to GMT
|
| e.g.  Run <ORRERY$Dir>.!runimage %*0 lat=51.29 long=0 gmt=1
|
| would be entered if your observations are made from Greenwich London.
|
Run <ORRERY$Dir>.!Runimage %*0 lat=51.29 long=0 gmt=1
00000000  7c 20 3e 20 21 6f 72 72  65 72 79 2e 21 72 75 6e  || > !orrery.!run|
00000010  20 31 35 2d 32 2d 39 31  0a 7c 0a 53 65 74 20 46  | 15-2-91.|.Set F|
00000020  69 6c 65 24 54 79 70 65  5f 43 42 46 20 4f 72 5f  |ile$Type_CBF Or_|
00000030  53 65 74 75 70 0a 53 65  74 20 41 6c 69 61 73 24  |Setup.Set Alias$|
00000040  40 52 75 6e 54 79 70 65  5f 43 42 46 20 2f 3c 4f  |@RunType_CBF /<O|
00000050  62 65 79 24 44 69 72 3e  2e 21 52 75 6e 20 25 25  |bey$Dir>.!Run %%|
00000060  2a 30 0a 49 63 6f 6e 53  70 72 69 74 65 73 20 3c  |*0.IconSprites <|
00000070  4f 62 65 79 24 44 69 72  3e 2e 21 53 70 72 69 74  |Obey$Dir>.!Sprit|
00000080  65 73 0a 7c 0a 73 65 74  20 4f 52 52 45 52 59 24  |es.|.set ORRERY$|
00000090  64 69 72 20 3c 4f 62 65  79 24 44 69 72 3e 0a 69  |dir <Obey$Dir>.i|
000000a0  66 20 22 3c 53 79 73 74  65 6d 24 50 61 74 68 3e  |f "<System$Path>|
000000b0  22 20 3d 20 22 22 20 74  68 65 6e 20 45 72 72 6f  |" = "" then Erro|
000000c0  72 20 30 20 53 79 73 74  65 6d 20 72 65 73 6f 75  |r 0 System resou|
000000d0  72 63 65 73 20 63 61 6e  6e 6f 74 20 62 65 20 66  |rces cannot be f|
000000e0  6f 75 6e 64 2e 0a 57 69  6d 70 53 6c 6f 74 20 2d  |ound..WimpSlot -|
000000f0  6d 69 6e 20 35 36 30 4b  20 2d 6d 61 78 20 31 30  |min 560K -max 10|
00000100  32 34 4b 0a 72 6d 65 6e  73 75 72 65 20 33 44 61  |24K.rmensure 3Da|
00000110  73 73 69 73 74 20 33 2e  30 30 20 72 6d 6c 6f 61  |ssist 3.00 rmloa|
00000120  64 20 3c 4f 52 52 45 52  59 24 44 69 72 3e 2e 4d  |d <ORRERY$Dir>.M|
00000130  6f 64 75 6c 65 73 2e 33  44 61 73 73 69 73 74 0a  |odules.3Dassist.|
00000140  72 6d 65 6e 73 75 72 65  20 33 44 61 73 73 69 73  |rmensure 3Dassis|
00000150  74 20 33 2e 30 30 20 45  72 72 6f 72 20 30 20 4d  |t 3.00 Error 0 M|
00000160  6f 64 75 6c 65 20 33 44  41 73 73 69 73 74 20 76  |odule 3DAssist v|
00000170  33 2e 30 30 20 6f 72 20  6c 61 74 65 72 20 72 65  |3.00 or later re|
00000180  71 75 69 72 65 64 2e 0a  72 6d 65 6e 73 75 72 65  |quired..rmensure|
00000190  20 43 6f 6c 6f 75 72 54  72 61 6e 73 20 30 2e 30  | ColourTrans 0.0|
000001a0  30 20 72 6d 6c 6f 61 64  20 53 79 73 74 65 6d 3a  |0 rmload System:|
000001b0  4d 6f 64 75 6c 65 73 2e  43 6f 6c 6f 75 72 73 0a  |Modules.Colours.|
000001c0  7c 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  ||               |
000001d0  20 0a 7c 0a 7c 20 54 68  65 20 6c 61 73 74 20 6c  | .|.| The last l|
000001e0  69 6e 65 20 73 74 61 72  74 73 20 74 68 65 20 4f  |ine starts the O|
000001f0  72 72 65 72 79 20 77 69  74 68 20 75 73 65 72 20  |rrery with user |
00000200  70 72 65 66 65 72 72 65  64 20 63 6f 2d 6f 72 64  |preferred co-ord|
00000210  69 6e 61 74 65 73 3b 0a  7c 0a 7c 20 70 61 72 61  |inates;.|.| para|
00000220  6d 65 74 65 72 20 66 6f  6c 6c 6f 77 69 6e 67 20  |meter following |
00000230  6c 61 74 20 20 3d 20 75  73 65 72 73 20 68 6f 6d  |lat  = users hom|
00000240  65 20 6c 61 74 69 74 75  64 65 20 20 20 20 20 20  |e latitude      |
00000250  20 20 20 20 20 20 28 2d  6c 61 74 20 66 6f 72 20  |      (-lat for |
00000260  53 6f 75 74 68 29 0a 7c  20 70 61 72 61 6d 65 74  |South).| paramet|
00000270  65 72 20 66 6f 6c 6c 6f  77 69 6e 67 20 6c 6f 6e  |er following lon|
00000280  67 20 3d 20 75 73 65 72  73 20 68 6f 6d 65 20 6c  |g = users home l|
00000290  6f 6e 67 69 74 75 64 65  20 20 20 20 20 20 20 20  |ongitude        |
000002a0  20 20 20 28 2d 6c 6f 6e  67 20 66 6f 72 20 57 65  |   (-long for We|
000002b0  73 74 29 0a 7c 20 70 61  72 61 6d 65 74 65 72 20  |st).| parameter |
000002c0  66 6f 6c 6c 6f 77 69 6e  67 20 20 47 4d 54 20 3d  |following  GMT =|
000002d0  20 75 73 65 72 73 20 6c  6f 63 61 6c 20 74 69 6d  | users local tim|
000002e0  65 20 6f 66 66 73 65 74  20 74 6f 20 47 4d 54 0a  |e offset to GMT.|
000002f0  7c 0a 7c 20 65 2e 67 2e  20 20 52 75 6e 20 3c 4f  ||.| e.g.  Run <O|
00000300  52 52 45 52 59 24 44 69  72 3e 2e 21 72 75 6e 69  |RRERY$Dir>.!runi|
00000310  6d 61 67 65 20 25 2a 30  20 6c 61 74 3d 35 31 2e  |mage %*0 lat=51.|
00000320  32 39 20 6c 6f 6e 67 3d  30 20 67 6d 74 3d 31 0a  |29 long=0 gmt=1.|
00000330  7c 0a 7c 20 77 6f 75 6c  64 20 62 65 20 65 6e 74  ||.| would be ent|
00000340  65 72 65 64 20 69 66 20  79 6f 75 72 20 6f 62 73  |ered if your obs|
00000350  65 72 76 61 74 69 6f 6e  73 20 61 72 65 20 6d 61  |ervations are ma|
00000360  64 65 20 66 72 6f 6d 20  47 72 65 65 6e 77 69 63  |de from Greenwic|
00000370  68 20 4c 6f 6e 64 6f 6e  2e 0a 7c 0a 52 75 6e 20  |h London..|.Run |
00000380  3c 4f 52 52 45 52 59 24  44 69 72 3e 2e 21 52 75  |<ORRERY$Dir>.!Ru|
00000390  6e 69 6d 61 67 65 20 25  2a 30 20 6c 61 74 3d 35  |nimage %*0 lat=5|
000003a0  31 2e 32 39 20 6c 6f 6e  67 3d 30 20 67 6d 74 3d  |1.29 long=0 gmt=|
000003b0  31 0a                                             |1.|
000003b2