Home » Personal collection » Acorn hard disk » apps » sibelius » SibDemo/!Sibelius6/!Run

SibDemo/!Sibelius6/!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 » Personal collection » Acorn hard disk » apps » sibelius
Filename: SibDemo/!Sibelius6/!Run
Read OK:
File size: 0598 bytes
Load address: 0000
Exec address: 0000
File contents
RMEnsure WindowManager 2.00 Error Sibelius 6 needs Wimp 2.00 or later
If "<System$Path>"="" Then Error 0 Please open a directory containing !System, then try again.
If "<System$Dir>"="" Then SetEval System$Dir System$Path LEFT ((LEN System$Path) -1)
If "<Wimp$Scrap>"="" Then Error 0 Please open a directory containing !Scrap, then try again.
If "<Wimp$ScrapDir>"="" Then SetEval Wimp$ScrapDir System$Dir

WimpSlot -min 400k -max 400k

| Create null Font$Path if doesn't exist
Set Font$Path <Font$Path>

 | This is for RISC OS 2 computers which haven't seen !Fonts:
 | If Font$Path="" THEN ERROR Please open a directory containing !Fonts

 | This is for RISC OS 3 computers which have only seen the ROM fonts:
If Font$Path="<Font$Prefix>.,Resources:$.Fonts." THEN ERROR Please open a directory containing !Fonts (so you can use the OpusII fonts)

 | Copy of !Boot in case another !Sibelius6 has already been seen:
IconSprites <Obey$Dir>.!Sprites
Set Alias$@RunType_DE0 Run <Obey$Dir>.!Run %%*0
Set Alias$@RunType_FD4 Run <Obey$Dir>.!Run %%*0
Set File$Type_DE0 Sibelius
Set File$Type_FD4 MIDI
Set Sibelius$Dir <Obey$Dir>

RMEnsure MessageTrans 0 RMLoad <Sibelius$Dir>.Resources.MsgTrans
RMEnsure Tick 0 RMLoad <Sibelius$Dir>.Resources.Tick

Set Sibelius$OldFontPath ""
Set Sibelius$MIDI Y
RMEnsure MIDI 0.0 Set Sibelius$MIDI N

Key 2 "#"
Key 3 "�"
Key 4 "�"

 | Don't have a newline after the last line!!
Run "<Obey$Dir>.!RunImage" %
00000000  52 4d 45 6e 73 75 72 65  20 57 69 6e 64 6f 77 4d  |RMEnsure WindowM|
00000010  61 6e 61 67 65 72 20 32  2e 30 30 20 45 72 72 6f  |anager 2.00 Erro|
00000020  72 20 53 69 62 65 6c 69  75 73 20 36 20 6e 65 65  |r Sibelius 6 nee|
00000030  64 73 20 57 69 6d 70 20  32 2e 30 30 20 6f 72 20  |ds Wimp 2.00 or |
00000040  6c 61 74 65 72 0a 49 66  20 22 3c 53 79 73 74 65  |later.If "<Syste|
00000050  6d 24 50 61 74 68 3e 22  3d 22 22 20 54 68 65 6e  |m$Path>"="" Then|
00000060  20 45 72 72 6f 72 20 30  20 50 6c 65 61 73 65 20  | Error 0 Please |
00000070  6f 70 65 6e 20 61 20 64  69 72 65 63 74 6f 72 79  |open a directory|
00000080  20 63 6f 6e 74 61 69 6e  69 6e 67 20 21 53 79 73  | containing !Sys|
00000090  74 65 6d 2c 20 74 68 65  6e 20 74 72 79 20 61 67  |tem, then try ag|
000000a0  61 69 6e 2e 0a 49 66 20  22 3c 53 79 73 74 65 6d  |ain..If "<System|
000000b0  24 44 69 72 3e 22 3d 22  22 20 54 68 65 6e 20 53  |$Dir>"="" Then S|
000000c0  65 74 45 76 61 6c 20 53  79 73 74 65 6d 24 44 69  |etEval System$Di|
000000d0  72 20 53 79 73 74 65 6d  24 50 61 74 68 20 4c 45  |r System$Path LE|
000000e0  46 54 20 28 28 4c 45 4e  20 53 79 73 74 65 6d 24  |FT ((LEN System$|
000000f0  50 61 74 68 29 20 2d 31  29 0a 49 66 20 22 3c 57  |Path) -1).If "<W|
00000100  69 6d 70 24 53 63 72 61  70 3e 22 3d 22 22 20 54  |imp$Scrap>"="" T|
00000110  68 65 6e 20 45 72 72 6f  72 20 30 20 50 6c 65 61  |hen Error 0 Plea|
00000120  73 65 20 6f 70 65 6e 20  61 20 64 69 72 65 63 74  |se open a direct|
00000130  6f 72 79 20 63 6f 6e 74  61 69 6e 69 6e 67 20 21  |ory containing !|
00000140  53 63 72 61 70 2c 20 74  68 65 6e 20 74 72 79 20  |Scrap, then try |
00000150  61 67 61 69 6e 2e 0a 49  66 20 22 3c 57 69 6d 70  |again..If "<Wimp|
00000160  24 53 63 72 61 70 44 69  72 3e 22 3d 22 22 20 54  |$ScrapDir>"="" T|
00000170  68 65 6e 20 53 65 74 45  76 61 6c 20 57 69 6d 70  |hen SetEval Wimp|
00000180  24 53 63 72 61 70 44 69  72 20 53 79 73 74 65 6d  |$ScrapDir System|
00000190  24 44 69 72 0a 0a 57 69  6d 70 53 6c 6f 74 20 2d  |$Dir..WimpSlot -|
000001a0  6d 69 6e 20 34 30 30 6b  20 2d 6d 61 78 20 34 30  |min 400k -max 40|
000001b0  30 6b 0a 0a 7c 20 43 72  65 61 74 65 20 6e 75 6c  |0k..| Create nul|
000001c0  6c 20 46 6f 6e 74 24 50  61 74 68 20 69 66 20 64  |l Font$Path if d|
000001d0  6f 65 73 6e 27 74 20 65  78 69 73 74 0a 53 65 74  |oesn't exist.Set|
000001e0  20 46 6f 6e 74 24 50 61  74 68 20 3c 46 6f 6e 74  | Font$Path <Font|
000001f0  24 50 61 74 68 3e 0a 0a  20 7c 20 54 68 69 73 20  |$Path>.. | This |
00000200  69 73 20 66 6f 72 20 52  49 53 43 20 4f 53 20 32  |is for RISC OS 2|
00000210  20 63 6f 6d 70 75 74 65  72 73 20 77 68 69 63 68  | computers which|
00000220  20 68 61 76 65 6e 27 74  20 73 65 65 6e 20 21 46  | haven't seen !F|
00000230  6f 6e 74 73 3a 0a 20 7c  20 49 66 20 46 6f 6e 74  |onts:. | If Font|
00000240  24 50 61 74 68 3d 22 22  20 54 48 45 4e 20 45 52  |$Path="" THEN ER|
00000250  52 4f 52 20 50 6c 65 61  73 65 20 6f 70 65 6e 20  |ROR Please open |
00000260  61 20 64 69 72 65 63 74  6f 72 79 20 63 6f 6e 74  |a directory cont|
00000270  61 69 6e 69 6e 67 20 21  46 6f 6e 74 73 0a 0a 20  |aining !Fonts.. |
00000280  7c 20 54 68 69 73 20 69  73 20 66 6f 72 20 52 49  || This is for RI|
00000290  53 43 20 4f 53 20 33 20  63 6f 6d 70 75 74 65 72  |SC OS 3 computer|
000002a0  73 20 77 68 69 63 68 20  68 61 76 65 20 6f 6e 6c  |s which have onl|
000002b0  79 20 73 65 65 6e 20 74  68 65 20 52 4f 4d 20 66  |y seen the ROM f|
000002c0  6f 6e 74 73 3a 0a 49 66  20 46 6f 6e 74 24 50 61  |onts:.If Font$Pa|
000002d0  74 68 3d 22 3c 46 6f 6e  74 24 50 72 65 66 69 78  |th="<Font$Prefix|
000002e0  3e 2e 2c 52 65 73 6f 75  72 63 65 73 3a 24 2e 46  |>.,Resources:$.F|
000002f0  6f 6e 74 73 2e 22 20 54  48 45 4e 20 45 52 52 4f  |onts." THEN ERRO|
00000300  52 20 50 6c 65 61 73 65  20 6f 70 65 6e 20 61 20  |R Please open a |
00000310  64 69 72 65 63 74 6f 72  79 20 63 6f 6e 74 61 69  |directory contai|
00000320  6e 69 6e 67 20 21 46 6f  6e 74 73 20 28 73 6f 20  |ning !Fonts (so |
00000330  79 6f 75 20 63 61 6e 20  75 73 65 20 74 68 65 20  |you can use the |
00000340  4f 70 75 73 49 49 20 66  6f 6e 74 73 29 0a 0a 20  |OpusII fonts).. |
00000350  7c 20 43 6f 70 79 20 6f  66 20 21 42 6f 6f 74 20  || Copy of !Boot |
00000360  69 6e 20 63 61 73 65 20  61 6e 6f 74 68 65 72 20  |in case another |
00000370  21 53 69 62 65 6c 69 75  73 36 20 68 61 73 20 61  |!Sibelius6 has a|
00000380  6c 72 65 61 64 79 20 62  65 65 6e 20 73 65 65 6e  |lready been seen|
00000390  3a 0a 49 63 6f 6e 53 70  72 69 74 65 73 20 3c 4f  |:.IconSprites <O|
000003a0  62 65 79 24 44 69 72 3e  2e 21 53 70 72 69 74 65  |bey$Dir>.!Sprite|
000003b0  73 0a 53 65 74 20 41 6c  69 61 73 24 40 52 75 6e  |s.Set Alias$@Run|
000003c0  54 79 70 65 5f 44 45 30  20 52 75 6e 20 3c 4f 62  |Type_DE0 Run <Ob|
000003d0  65 79 24 44 69 72 3e 2e  21 52 75 6e 20 25 25 2a  |ey$Dir>.!Run %%*|
000003e0  30 0a 53 65 74 20 41 6c  69 61 73 24 40 52 75 6e  |0.Set Alias$@Run|
000003f0  54 79 70 65 5f 46 44 34  20 52 75 6e 20 3c 4f 62  |Type_FD4 Run <Ob|
00000400  65 79 24 44 69 72 3e 2e  21 52 75 6e 20 25 25 2a  |ey$Dir>.!Run %%*|
00000410  30 0a 53 65 74 20 46 69  6c 65 24 54 79 70 65 5f  |0.Set File$Type_|
00000420  44 45 30 20 53 69 62 65  6c 69 75 73 0a 53 65 74  |DE0 Sibelius.Set|
00000430  20 46 69 6c 65 24 54 79  70 65 5f 46 44 34 20 4d  | File$Type_FD4 M|
00000440  49 44 49 0a 53 65 74 20  53 69 62 65 6c 69 75 73  |IDI.Set Sibelius|
00000450  24 44 69 72 20 3c 4f 62  65 79 24 44 69 72 3e 0a  |$Dir <Obey$Dir>.|
00000460  0a 52 4d 45 6e 73 75 72  65 20 4d 65 73 73 61 67  |.RMEnsure Messag|
00000470  65 54 72 61 6e 73 20 30  20 52 4d 4c 6f 61 64 20  |eTrans 0 RMLoad |
00000480  3c 53 69 62 65 6c 69 75  73 24 44 69 72 3e 2e 52  |<Sibelius$Dir>.R|
00000490  65 73 6f 75 72 63 65 73  2e 4d 73 67 54 72 61 6e  |esources.MsgTran|
000004a0  73 0a 52 4d 45 6e 73 75  72 65 20 54 69 63 6b 20  |s.RMEnsure Tick |
000004b0  30 20 52 4d 4c 6f 61 64  20 3c 53 69 62 65 6c 69  |0 RMLoad <Sibeli|
000004c0  75 73 24 44 69 72 3e 2e  52 65 73 6f 75 72 63 65  |us$Dir>.Resource|
000004d0  73 2e 54 69 63 6b 0a 0a  53 65 74 20 53 69 62 65  |s.Tick..Set Sibe|
000004e0  6c 69 75 73 24 4f 6c 64  46 6f 6e 74 50 61 74 68  |lius$OldFontPath|
000004f0  20 22 22 0a 53 65 74 20  53 69 62 65 6c 69 75 73  | "".Set Sibelius|
00000500  24 4d 49 44 49 20 59 0a  52 4d 45 6e 73 75 72 65  |$MIDI Y.RMEnsure|
00000510  20 4d 49 44 49 20 30 2e  30 20 53 65 74 20 53 69  | MIDI 0.0 Set Si|
00000520  62 65 6c 69 75 73 24 4d  49 44 49 20 4e 0a 0a 4b  |belius$MIDI N..K|
00000530  65 79 20 32 20 22 23 22  0a 4b 65 79 20 33 20 22  |ey 2 "#".Key 3 "|
00000540  fe 22 0a 4b 65 79 20 34  20 22 80 22 0a 0a 20 7c  |.".Key 4 ".".. ||
00000550  20 44 6f 6e 27 74 20 68  61 76 65 20 61 20 6e 65  | Don't have a ne|
00000560  77 6c 69 6e 65 20 61 66  74 65 72 20 74 68 65 20  |wline after the |
00000570  6c 61 73 74 20 6c 69 6e  65 21 21 0a 52 75 6e 20  |last line!!.Run |
00000580  22 3c 4f 62 65 79 24 44  69 72 3e 2e 21 52 75 6e  |"<Obey$Dir>.!Run|
00000590  49 6d 61 67 65 22 20 25                           |Image" %|
00000598