Home » Archimedes archive » Archimedes World » AW-1995-10 Disc 2.adf » AW1095_2 » Freeware/MPEGTools/!MPEGplay/!Run

Freeware/MPEGTools/!MPEGplay/!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 » Archimedes World » AW-1995-10 Disc 2.adf » AW1095_2
Filename: Freeware/MPEGTools/!MPEGplay/!Run
Read OK:
File size: 03F9 bytes
Load address: 0000
Exec address: 0000
File contents
|
| !Run file for MPEGplay
|
| Copyright � L.L. Frederiks, 1995
|

RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions

Iconsprites <Obey$Dir>.!Sprites

Set MPEGplay$Dir <Obey$Dir>

RMEnsure UtilityModule 3.10 If "<System$Path>"="" Then Error 0 System resources cannot be found

Set System$Path_Message System resources cannot be found
        
RMEnsure BorderUtils 0.02 RMEnsure WindowManager 3.17 RMLoad System:Modules.BorderUtil
RMEnsure BorderUtils 0.02 RMEnsure WindowManager 3.17 Error You need BorderUtils 0.02

RMEnsure SharedCLibrary 3.75 RMLoad System:Modules.Clib
RMEnsure SharedCLibrary 3.75 Error You need Clib 3.75 or later
                                  
RMEnsure FPEmulator 2.80 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 2.80 Error You need FPEmulator 2.80 or later

If "<MPEGplay$Running>"<>"" Then Error 0 You can't run two copies of MPEGplay simultaneously...

WimpSlot -min 100K -max 100K

Run <MPEGplay$Dir>.!RunImage %*0
00000000  7c 0a 7c 20 21 52 75 6e  20 66 69 6c 65 20 66 6f  ||.| !Run file fo|
00000010  72 20 4d 50 45 47 70 6c  61 79 0a 7c 0a 7c 20 43  |r MPEGplay.|.| C|
00000020  6f 70 79 72 69 67 68 74  20 a9 20 4c 2e 4c 2e 20  |opyright . L.L. |
00000030  46 72 65 64 65 72 69 6b  73 2c 20 31 39 39 35 0a  |Frederiks, 1995.|
00000040  7c 0a 0a 52 4d 45 6e 73  75 72 65 20 55 74 69 6c  ||..RMEnsure Util|
00000050  69 74 79 4d 6f 64 75 6c  65 20 33 2e 31 30 20 45  |ityModule 3.10 E|
00000060  72 72 6f 72 20 54 68 69  73 20 61 70 70 6c 69 63  |rror This applic|
00000070  61 74 69 6f 6e 20 69 73  20 6f 6e 6c 79 20 73 75  |ation is only su|
00000080  69 74 61 62 6c 65 20 66  6f 72 20 75 73 65 20 77  |itable for use w|
00000090  69 74 68 20 52 49 53 43  20 4f 53 20 33 2e 31 30  |ith RISC OS 3.10|
000000a0  20 6f 72 20 6c 61 74 65  72 20 76 65 72 73 69 6f  | or later versio|
000000b0  6e 73 0a 0a 49 63 6f 6e  73 70 72 69 74 65 73 20  |ns..Iconsprites |
000000c0  3c 4f 62 65 79 24 44 69  72 3e 2e 21 53 70 72 69  |<Obey$Dir>.!Spri|
000000d0  74 65 73 0a 0a 53 65 74  20 4d 50 45 47 70 6c 61  |tes..Set MPEGpla|
000000e0  79 24 44 69 72 20 3c 4f  62 65 79 24 44 69 72 3e  |y$Dir <Obey$Dir>|
000000f0  0a 0a 52 4d 45 6e 73 75  72 65 20 55 74 69 6c 69  |..RMEnsure Utili|
00000100  74 79 4d 6f 64 75 6c 65  20 33 2e 31 30 20 49 66  |tyModule 3.10 If|
00000110  20 22 3c 53 79 73 74 65  6d 24 50 61 74 68 3e 22  | "<System$Path>"|
00000120  3d 22 22 20 54 68 65 6e  20 45 72 72 6f 72 20 30  |="" Then Error 0|
00000130  20 53 79 73 74 65 6d 20  72 65 73 6f 75 72 63 65  | System resource|
00000140  73 20 63 61 6e 6e 6f 74  20 62 65 20 66 6f 75 6e  |s cannot be foun|
00000150  64 0a 0a 53 65 74 20 53  79 73 74 65 6d 24 50 61  |d..Set System$Pa|
00000160  74 68 5f 4d 65 73 73 61  67 65 20 53 79 73 74 65  |th_Message Syste|
00000170  6d 20 72 65 73 6f 75 72  63 65 73 20 63 61 6e 6e  |m resources cann|
00000180  6f 74 20 62 65 20 66 6f  75 6e 64 0a 20 20 20 20  |ot be found.    |
00000190  20 20 20 20 0a 52 4d 45  6e 73 75 72 65 20 42 6f  |    .RMEnsure Bo|
000001a0  72 64 65 72 55 74 69 6c  73 20 30 2e 30 32 20 52  |rderUtils 0.02 R|
000001b0  4d 45 6e 73 75 72 65 20  57 69 6e 64 6f 77 4d 61  |MEnsure WindowMa|
000001c0  6e 61 67 65 72 20 33 2e  31 37 20 52 4d 4c 6f 61  |nager 3.17 RMLoa|
000001d0  64 20 53 79 73 74 65 6d  3a 4d 6f 64 75 6c 65 73  |d System:Modules|
000001e0  2e 42 6f 72 64 65 72 55  74 69 6c 0a 52 4d 45 6e  |.BorderUtil.RMEn|
000001f0  73 75 72 65 20 42 6f 72  64 65 72 55 74 69 6c 73  |sure BorderUtils|
00000200  20 30 2e 30 32 20 52 4d  45 6e 73 75 72 65 20 57  | 0.02 RMEnsure W|
00000210  69 6e 64 6f 77 4d 61 6e  61 67 65 72 20 33 2e 31  |indowManager 3.1|
00000220  37 20 45 72 72 6f 72 20  59 6f 75 20 6e 65 65 64  |7 Error You need|
00000230  20 42 6f 72 64 65 72 55  74 69 6c 73 20 30 2e 30  | BorderUtils 0.0|
00000240  32 0a 0a 52 4d 45 6e 73  75 72 65 20 53 68 61 72  |2..RMEnsure Shar|
00000250  65 64 43 4c 69 62 72 61  72 79 20 33 2e 37 35 20  |edCLibrary 3.75 |
00000260  52 4d 4c 6f 61 64 20 53  79 73 74 65 6d 3a 4d 6f  |RMLoad System:Mo|
00000270  64 75 6c 65 73 2e 43 6c  69 62 0a 52 4d 45 6e 73  |dules.Clib.RMEns|
00000280  75 72 65 20 53 68 61 72  65 64 43 4c 69 62 72 61  |ure SharedCLibra|
00000290  72 79 20 33 2e 37 35 20  45 72 72 6f 72 20 59 6f  |ry 3.75 Error Yo|
000002a0  75 20 6e 65 65 64 20 43  6c 69 62 20 33 2e 37 35  |u need Clib 3.75|
000002b0  20 6f 72 20 6c 61 74 65  72 0a 20 20 20 20 20 20  | or later.      |
000002c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000002d0  20 20 20 20 20 20 20 20  20 20 20 20 0a 52 4d 45  |            .RME|
000002e0  6e 73 75 72 65 20 46 50  45 6d 75 6c 61 74 6f 72  |nsure FPEmulator|
000002f0  20 32 2e 38 30 20 52 4d  4c 6f 61 64 20 53 79 73  | 2.80 RMLoad Sys|
00000300  74 65 6d 3a 4d 6f 64 75  6c 65 73 2e 46 50 45 6d  |tem:Modules.FPEm|
00000310  75 6c 61 74 6f 72 0a 52  4d 45 6e 73 75 72 65 20  |ulator.RMEnsure |
00000320  46 50 45 6d 75 6c 61 74  6f 72 20 32 2e 38 30 20  |FPEmulator 2.80 |
00000330  45 72 72 6f 72 20 59 6f  75 20 6e 65 65 64 20 46  |Error You need F|
00000340  50 45 6d 75 6c 61 74 6f  72 20 32 2e 38 30 20 6f  |PEmulator 2.80 o|
00000350  72 20 6c 61 74 65 72 0a  0a 49 66 20 22 3c 4d 50  |r later..If "<MP|
00000360  45 47 70 6c 61 79 24 52  75 6e 6e 69 6e 67 3e 22  |EGplay$Running>"|
00000370  3c 3e 22 22 20 54 68 65  6e 20 45 72 72 6f 72 20  |<>"" Then Error |
00000380  30 20 59 6f 75 20 63 61  6e 27 74 20 72 75 6e 20  |0 You can't run |
00000390  74 77 6f 20 63 6f 70 69  65 73 20 6f 66 20 4d 50  |two copies of MP|
000003a0  45 47 70 6c 61 79 20 73  69 6d 75 6c 74 61 6e 65  |EGplay simultane|
000003b0  6f 75 73 6c 79 2e 2e 2e  0a 0a 57 69 6d 70 53 6c  |ously.....WimpSl|
000003c0  6f 74 20 2d 6d 69 6e 20  31 30 30 4b 20 2d 6d 61  |ot -min 100K -ma|
000003d0  78 20 31 30 30 4b 0a 0a  52 75 6e 20 3c 4d 50 45  |x 100K..Run <MPE|
000003e0  47 70 6c 61 79 24 44 69  72 3e 2e 21 52 75 6e 49  |Gplay$Dir>.!RunI|
000003f0  6d 61 67 65 20 25 2a 30  0a                       |mage %*0.|
000003f9