Home » Archimedes archive » Acorn User » AU 1998-07.adf » TraxDemo » !Sequencer/!Run2

!Sequencer/!Run2

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 User » AU 1998-07.adf » TraxDemo
Filename: !Sequencer/!Run2
Read OK:
File size: 0488 bytes
Load address: 0000
Exec address: 0000
File contents
| Run file for TraxSequencer
| by Pete Goodliffe
| � Trax Software 1998

| Set up paths

Set TraxSequencer$Path <Obey$Dir>
Set File$Type_fd4 MIDI
Set File$Type_ad2 TSEMDL
Set Alias$@RunType_ad2 /<TraxSequencer$Dir>.!Run2 %%*0

| Ensuse Risc OS 3.5

RMEnsure UtilityModule 3.50 Error This application is only suitable for use with Risc OS 3, version 3.50 or later

| Ensure that the computer has a MIDI interface
RMEnsure MIDI 1.00 Error This application is only suitable for use on a computer with an installed MIDI card

| Ensure all the other necessary modules are available

RMEnsure FPEmulator 2.70 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 2.70 Error You need FPEmulator 2.70 or later
RMEnsure SharedCLibrary 3.75 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 3.75 Error You need SharedCLibrary 3.75 or later

| Ensure TraxSequencer isn't already running
If "<TraxSequencer$Running>"<>"" Then Error TraxSequencer is already running
Set TraxSequencer$Running 1

| Load the !RunImage

WimpSlot -min 480K -max 480K

|Run <TraxSequencer$Dir>.!RunImage %*0 1> <Obey$Dir>.TraceFile1 2> <Obey$Dir>.TraceFile2
Run <TraxSequencer$Dir>.!RunImage %*0
00000000  7c 20 52 75 6e 20 66 69  6c 65 20 66 6f 72 20 54  || Run file for T|
00000010  72 61 78 53 65 71 75 65  6e 63 65 72 0a 7c 20 62  |raxSequencer.| b|
00000020  79 20 50 65 74 65 20 47  6f 6f 64 6c 69 66 66 65  |y Pete Goodliffe|
00000030  0a 7c 20 a9 20 54 72 61  78 20 53 6f 66 74 77 61  |.| . Trax Softwa|
00000040  72 65 20 31 39 39 38 0a  0a 7c 20 53 65 74 20 75  |re 1998..| Set u|
00000050  70 20 70 61 74 68 73 0a  0a 53 65 74 20 54 72 61  |p paths..Set Tra|
00000060  78 53 65 71 75 65 6e 63  65 72 24 50 61 74 68 20  |xSequencer$Path |
00000070  3c 4f 62 65 79 24 44 69  72 3e 0a 53 65 74 20 46  |<Obey$Dir>.Set F|
00000080  69 6c 65 24 54 79 70 65  5f 66 64 34 20 4d 49 44  |ile$Type_fd4 MID|
00000090  49 0a 53 65 74 20 46 69  6c 65 24 54 79 70 65 5f  |I.Set File$Type_|
000000a0  61 64 32 20 54 53 45 4d  44 4c 0a 53 65 74 20 41  |ad2 TSEMDL.Set A|
000000b0  6c 69 61 73 24 40 52 75  6e 54 79 70 65 5f 61 64  |lias$@RunType_ad|
000000c0  32 20 2f 3c 54 72 61 78  53 65 71 75 65 6e 63 65  |2 /<TraxSequence|
000000d0  72 24 44 69 72 3e 2e 21  52 75 6e 32 20 25 25 2a  |r$Dir>.!Run2 %%*|
000000e0  30 0a 0a 7c 20 45 6e 73  75 73 65 20 52 69 73 63  |0..| Ensuse Risc|
000000f0  20 4f 53 20 33 2e 35 0a  0a 52 4d 45 6e 73 75 72  | OS 3.5..RMEnsur|
00000100  65 20 55 74 69 6c 69 74  79 4d 6f 64 75 6c 65 20  |e UtilityModule |
00000110  33 2e 35 30 20 45 72 72  6f 72 20 54 68 69 73 20  |3.50 Error This |
00000120  61 70 70 6c 69 63 61 74  69 6f 6e 20 69 73 20 6f  |application is o|
00000130  6e 6c 79 20 73 75 69 74  61 62 6c 65 20 66 6f 72  |nly suitable for|
00000140  20 75 73 65 20 77 69 74  68 20 52 69 73 63 20 4f  | use with Risc O|
00000150  53 20 33 2c 20 76 65 72  73 69 6f 6e 20 33 2e 35  |S 3, version 3.5|
00000160  30 20 6f 72 20 6c 61 74  65 72 0a 0a 7c 20 45 6e  |0 or later..| En|
00000170  73 75 72 65 20 74 68 61  74 20 74 68 65 20 63 6f  |sure that the co|
00000180  6d 70 75 74 65 72 20 68  61 73 20 61 20 4d 49 44  |mputer has a MID|
00000190  49 20 69 6e 74 65 72 66  61 63 65 0a 52 4d 45 6e  |I interface.RMEn|
000001a0  73 75 72 65 20 4d 49 44  49 20 31 2e 30 30 20 45  |sure MIDI 1.00 E|
000001b0  72 72 6f 72 20 54 68 69  73 20 61 70 70 6c 69 63  |rror This applic|
000001c0  61 74 69 6f 6e 20 69 73  20 6f 6e 6c 79 20 73 75  |ation is only su|
000001d0  69 74 61 62 6c 65 20 66  6f 72 20 75 73 65 20 6f  |itable for use o|
000001e0  6e 20 61 20 63 6f 6d 70  75 74 65 72 20 77 69 74  |n a computer wit|
000001f0  68 20 61 6e 20 69 6e 73  74 61 6c 6c 65 64 20 4d  |h an installed M|
00000200  49 44 49 20 63 61 72 64  0a 0a 7c 20 45 6e 73 75  |IDI card..| Ensu|
00000210  72 65 20 61 6c 6c 20 74  68 65 20 6f 74 68 65 72  |re all the other|
00000220  20 6e 65 63 65 73 73 61  72 79 20 6d 6f 64 75 6c  | necessary modul|
00000230  65 73 20 61 72 65 20 61  76 61 69 6c 61 62 6c 65  |es are available|
00000240  0a 0a 52 4d 45 6e 73 75  72 65 20 46 50 45 6d 75  |..RMEnsure FPEmu|
00000250  6c 61 74 6f 72 20 32 2e  37 30 20 52 4d 4c 6f 61  |lator 2.70 RMLoa|
00000260  64 20 53 79 73 74 65 6d  3a 4d 6f 64 75 6c 65 73  |d System:Modules|
00000270  2e 46 50 45 6d 75 6c 61  74 6f 72 0a 52 4d 45 6e  |.FPEmulator.RMEn|
00000280  73 75 72 65 20 46 50 45  6d 75 6c 61 74 6f 72 20  |sure FPEmulator |
00000290  32 2e 37 30 20 45 72 72  6f 72 20 59 6f 75 20 6e  |2.70 Error You n|
000002a0  65 65 64 20 46 50 45 6d  75 6c 61 74 6f 72 20 32  |eed FPEmulator 2|
000002b0  2e 37 30 20 6f 72 20 6c  61 74 65 72 0a 52 4d 45  |.70 or later.RME|
000002c0  6e 73 75 72 65 20 53 68  61 72 65 64 43 4c 69 62  |nsure SharedCLib|
000002d0  72 61 72 79 20 33 2e 37  35 20 52 4d 4c 6f 61 64  |rary 3.75 RMLoad|
000002e0  20 53 79 73 74 65 6d 3a  4d 6f 64 75 6c 65 73 2e  | System:Modules.|
000002f0  43 4c 69 62 0a 52 4d 45  6e 73 75 72 65 20 53 68  |CLib.RMEnsure Sh|
00000300  61 72 65 64 43 4c 69 62  72 61 72 79 20 33 2e 37  |aredCLibrary 3.7|
00000310  35 20 45 72 72 6f 72 20  59 6f 75 20 6e 65 65 64  |5 Error You need|
00000320  20 53 68 61 72 65 64 43  4c 69 62 72 61 72 79 20  | SharedCLibrary |
00000330  33 2e 37 35 20 6f 72 20  6c 61 74 65 72 0a 0a 7c  |3.75 or later..||
00000340  20 45 6e 73 75 72 65 20  54 72 61 78 53 65 71 75  | Ensure TraxSequ|
00000350  65 6e 63 65 72 20 69 73  6e 27 74 20 61 6c 72 65  |encer isn't alre|
00000360  61 64 79 20 72 75 6e 6e  69 6e 67 0a 49 66 20 22  |ady running.If "|
00000370  3c 54 72 61 78 53 65 71  75 65 6e 63 65 72 24 52  |<TraxSequencer$R|
00000380  75 6e 6e 69 6e 67 3e 22  3c 3e 22 22 20 54 68 65  |unning>"<>"" The|
00000390  6e 20 45 72 72 6f 72 20  54 72 61 78 53 65 71 75  |n Error TraxSequ|
000003a0  65 6e 63 65 72 20 69 73  20 61 6c 72 65 61 64 79  |encer is already|
000003b0  20 72 75 6e 6e 69 6e 67  0a 53 65 74 20 54 72 61  | running.Set Tra|
000003c0  78 53 65 71 75 65 6e 63  65 72 24 52 75 6e 6e 69  |xSequencer$Runni|
000003d0  6e 67 20 31 0a 0a 7c 20  4c 6f 61 64 20 74 68 65  |ng 1..| Load the|
000003e0  20 21 52 75 6e 49 6d 61  67 65 0a 0a 57 69 6d 70  | !RunImage..Wimp|
000003f0  53 6c 6f 74 20 2d 6d 69  6e 20 34 38 30 4b 20 2d  |Slot -min 480K -|
00000400  6d 61 78 20 34 38 30 4b  0a 0a 7c 52 75 6e 20 3c  |max 480K..|Run <|
00000410  54 72 61 78 53 65 71 75  65 6e 63 65 72 24 44 69  |TraxSequencer$Di|
00000420  72 3e 2e 21 52 75 6e 49  6d 61 67 65 20 25 2a 30  |r>.!RunImage %*0|
00000430  20 31 3e 20 3c 4f 62 65  79 24 44 69 72 3e 2e 54  | 1> <Obey$Dir>.T|
00000440  72 61 63 65 46 69 6c 65  31 20 32 3e 20 3c 4f 62  |raceFile1 2> <Ob|
00000450  65 79 24 44 69 72 3e 2e  54 72 61 63 65 46 69 6c  |ey$Dir>.TraceFil|
00000460  65 32 0a 52 75 6e 20 3c  54 72 61 78 53 65 71 75  |e2.Run <TraxSequ|
00000470  65 6e 63 65 72 24 44 69  72 3e 2e 21 52 75 6e 49  |encer$Dir>.!RunI|
00000480  6d 61 67 65 20 25 2a 30                           |mage %*0|
00000488