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

SibFull/!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: SibFull/!Sibelius6/!Run
Read OK:
File size: 0654 bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

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 music 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$RISCOS 3
RMEnsure UtilityModule 3.1 Set Sibelius$RISCOS 2
IF Sibelius$RISCOS >= 3 THEN DOSMAP MID MIDI
IF Sibelius$RISCOS >= 3 THEN DOSMAP TXT Text

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 "�"

Run "<Obey$Dir>.Startup"
 | Don't have a newline after the last line!!
Run "<Obey$Dir>.!RunImage" %*0
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  6d 75 73 69 63 20 66 6f  6e 74 73 29 0a 0a 20 7c  |music fonts).. ||
00000350  20 43 6f 70 79 20 6f 66  20 21 42 6f 6f 74 20 69  | Copy of !Boot i|
00000360  6e 20 63 61 73 65 20 61  6e 6f 74 68 65 72 20 21  |n case another !|
00000370  53 69 62 65 6c 69 75 73  36 20 68 61 73 20 61 6c  |Sibelius6 has al|
00000380  72 65 61 64 79 20 62 65  65 6e 20 73 65 65 6e 3a  |ready been seen:|
00000390  0a 49 63 6f 6e 53 70 72  69 74 65 73 20 3c 4f 62  |.IconSprites <Ob|
000003a0  65 79 24 44 69 72 3e 2e  21 53 70 72 69 74 65 73  |ey$Dir>.!Sprites|
000003b0  0a 53 65 74 20 41 6c 69  61 73 24 40 52 75 6e 54  |.Set Alias$@RunT|
000003c0  79 70 65 5f 44 45 30 20  52 75 6e 20 3c 4f 62 65  |ype_DE0 Run <Obe|
000003d0  79 24 44 69 72 3e 2e 21  52 75 6e 20 25 25 2a 30  |y$Dir>.!Run %%*0|
000003e0  0a 53 65 74 20 41 6c 69  61 73 24 40 52 75 6e 54  |.Set Alias$@RunT|
000003f0  79 70 65 5f 46 44 34 20  52 75 6e 20 3c 4f 62 65  |ype_FD4 Run <Obe|
00000400  79 24 44 69 72 3e 2e 21  52 75 6e 20 25 25 2a 30  |y$Dir>.!Run %%*0|
00000410  0a 53 65 74 20 46 69 6c  65 24 54 79 70 65 5f 44  |.Set File$Type_D|
00000420  45 30 20 53 69 62 65 6c  69 75 73 0a 53 65 74 20  |E0 Sibelius.Set |
00000430  46 69 6c 65 24 54 79 70  65 5f 46 44 34 20 4d 49  |File$Type_FD4 MI|
00000440  44 49 0a 0a 53 65 74 20  53 69 62 65 6c 69 75 73  |DI..Set Sibelius|
00000450  24 52 49 53 43 4f 53 20  33 0a 52 4d 45 6e 73 75  |$RISCOS 3.RMEnsu|
00000460  72 65 20 55 74 69 6c 69  74 79 4d 6f 64 75 6c 65  |re UtilityModule|
00000470  20 33 2e 31 20 53 65 74  20 53 69 62 65 6c 69 75  | 3.1 Set Sibeliu|
00000480  73 24 52 49 53 43 4f 53  20 32 0a 49 46 20 53 69  |s$RISCOS 2.IF Si|
00000490  62 65 6c 69 75 73 24 52  49 53 43 4f 53 20 3e 3d  |belius$RISCOS >=|
000004a0  20 33 20 54 48 45 4e 20  44 4f 53 4d 41 50 20 4d  | 3 THEN DOSMAP M|
000004b0  49 44 20 4d 49 44 49 0a  49 46 20 53 69 62 65 6c  |ID MIDI.IF Sibel|
000004c0  69 75 73 24 52 49 53 43  4f 53 20 3e 3d 20 33 20  |ius$RISCOS >= 3 |
000004d0  54 48 45 4e 20 44 4f 53  4d 41 50 20 54 58 54 20  |THEN DOSMAP TXT |
000004e0  54 65 78 74 0a 0a 53 65  74 20 53 69 62 65 6c 69  |Text..Set Sibeli|
000004f0  75 73 24 44 69 72 20 3c  4f 62 65 79 24 44 69 72  |us$Dir <Obey$Dir|
00000500  3e 0a 52 4d 45 6e 73 75  72 65 20 4d 65 73 73 61  |>.RMEnsure Messa|
00000510  67 65 54 72 61 6e 73 20  30 20 52 4d 4c 6f 61 64  |geTrans 0 RMLoad|
00000520  20 3c 53 69 62 65 6c 69  75 73 24 44 69 72 3e 2e  | <Sibelius$Dir>.|
00000530  52 65 73 6f 75 72 63 65  73 2e 4d 73 67 54 72 61  |Resources.MsgTra|
00000540  6e 73 0a 52 4d 45 6e 73  75 72 65 20 54 69 63 6b  |ns.RMEnsure Tick|
00000550  20 30 20 52 4d 4c 6f 61  64 20 3c 53 69 62 65 6c  | 0 RMLoad <Sibel|
00000560  69 75 73 24 44 69 72 3e  2e 52 65 73 6f 75 72 63  |ius$Dir>.Resourc|
00000570  65 73 2e 54 69 63 6b 0a  0a 53 65 74 20 53 69 62  |es.Tick..Set Sib|
00000580  65 6c 69 75 73 24 4f 6c  64 46 6f 6e 74 50 61 74  |elius$OldFontPat|
00000590  68 20 22 22 0a 53 65 74  20 53 69 62 65 6c 69 75  |h "".Set Sibeliu|
000005a0  73 24 4d 49 44 49 20 59  0a 52 4d 45 6e 73 75 72  |s$MIDI Y.RMEnsur|
000005b0  65 20 4d 49 44 49 20 30  2e 30 20 53 65 74 20 53  |e MIDI 0.0 Set S|
000005c0  69 62 65 6c 69 75 73 24  4d 49 44 49 20 4e 0a 0a  |ibelius$MIDI N..|
000005d0  4b 65 79 20 32 20 22 23  22 0a 4b 65 79 20 33 20  |Key 2 "#".Key 3 |
000005e0  22 fe 22 0a 4b 65 79 20  34 20 22 80 22 0a 0a 52  |".".Key 4 "."..R|
000005f0  75 6e 20 22 3c 4f 62 65  79 24 44 69 72 3e 2e 53  |un "<Obey$Dir>.S|
00000600  74 61 72 74 75 70 22 0a  20 7c 20 44 6f 6e 27 74  |tartup". | Don't|
00000610  20 68 61 76 65 20 61 20  6e 65 77 6c 69 6e 65 20  | have a newline |
00000620  61 66 74 65 72 20 74 68  65 20 6c 61 73 74 20 6c  |after the last l|
00000630  69 6e 65 21 21 0a 52 75  6e 20 22 3c 4f 62 65 79  |ine!!.Run "<Obey|
00000640  24 44 69 72 3e 2e 21 52  75 6e 49 6d 61 67 65 22  |$Dir>.!RunImage"|
00000650  20 25 2a 30                                       | %*0|
00000654