Home » Archimedes archive » Archimedes World » AW-1995-07-Disc2.adf » AW0795_2 » PD/!Spr2Jpeg/!Run

PD/!Spr2Jpeg/!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-07-Disc2.adf » AW0795_2
Filename: PD/!Spr2Jpeg/!Run
Read OK:
File size: 02E0 bytes
Load address: 0000
Exec address: 0000
File contents
RMEnsure WimpExtension 0.01 If "<System$Path>"="" Then Error 0 Please locate your System directory and try again
RMEnsure WimpExtension 0.01 RMLoad System:Modules.WimpExt
RMEnsure WimpExtension 2.17 Error 0 This version of the WimpExtension module is too old for Sprite 2 Jpeg - please replace your copy and try again
If "<Wimp$ScrapDir>"="" Then Error 0 Please locate your Scrap directory and try again
If "<ChangeFSI$Dir>"="" Then Error 0 Please locate ChangeFSI and try again
If "<S2J$Dir>"<>"" Then Error 0 Sprite 2 Jpeg is already running
Set S2J$Dir <Obey$Dir>
Set S2J$Scrap <Wimp$ScrapDir>.S2Jpeg
Set S2J$Path <ChangeFSI$Dir>.,<S2J$Dir>.Jpeg�Code.
Wimpslot -min 80k -max 80k
IconSprites <S2J$Dir>.!Sprites
Run <S2J$Dir>.!RunImage
00000000  52 4d 45 6e 73 75 72 65  20 57 69 6d 70 45 78 74  |RMEnsure WimpExt|
00000010  65 6e 73 69 6f 6e 20 30  2e 30 31 20 49 66 20 22  |ension 0.01 If "|
00000020  3c 53 79 73 74 65 6d 24  50 61 74 68 3e 22 3d 22  |<System$Path>"="|
00000030  22 20 54 68 65 6e 20 45  72 72 6f 72 20 30 20 50  |" Then Error 0 P|
00000040  6c 65 61 73 65 20 6c 6f  63 61 74 65 20 79 6f 75  |lease locate you|
00000050  72 20 53 79 73 74 65 6d  20 64 69 72 65 63 74 6f  |r System directo|
00000060  72 79 20 61 6e 64 20 74  72 79 20 61 67 61 69 6e  |ry and try again|
00000070  0a 52 4d 45 6e 73 75 72  65 20 57 69 6d 70 45 78  |.RMEnsure WimpEx|
00000080  74 65 6e 73 69 6f 6e 20  30 2e 30 31 20 52 4d 4c  |tension 0.01 RML|
00000090  6f 61 64 20 53 79 73 74  65 6d 3a 4d 6f 64 75 6c  |oad System:Modul|
000000a0  65 73 2e 57 69 6d 70 45  78 74 0a 52 4d 45 6e 73  |es.WimpExt.RMEns|
000000b0  75 72 65 20 57 69 6d 70  45 78 74 65 6e 73 69 6f  |ure WimpExtensio|
000000c0  6e 20 32 2e 31 37 20 45  72 72 6f 72 20 30 20 54  |n 2.17 Error 0 T|
000000d0  68 69 73 20 76 65 72 73  69 6f 6e 20 6f 66 20 74  |his version of t|
000000e0  68 65 20 57 69 6d 70 45  78 74 65 6e 73 69 6f 6e  |he WimpExtension|
000000f0  20 6d 6f 64 75 6c 65 20  69 73 20 74 6f 6f 20 6f  | module is too o|
00000100  6c 64 20 66 6f 72 20 53  70 72 69 74 65 20 32 20  |ld for Sprite 2 |
00000110  4a 70 65 67 20 2d 20 70  6c 65 61 73 65 20 72 65  |Jpeg - please re|
00000120  70 6c 61 63 65 20 79 6f  75 72 20 63 6f 70 79 20  |place your copy |
00000130  61 6e 64 20 74 72 79 20  61 67 61 69 6e 0a 49 66  |and try again.If|
00000140  20 22 3c 57 69 6d 70 24  53 63 72 61 70 44 69 72  | "<Wimp$ScrapDir|
00000150  3e 22 3d 22 22 20 54 68  65 6e 20 45 72 72 6f 72  |>"="" Then Error|
00000160  20 30 20 50 6c 65 61 73  65 20 6c 6f 63 61 74 65  | 0 Please locate|
00000170  20 79 6f 75 72 20 53 63  72 61 70 20 64 69 72 65  | your Scrap dire|
00000180  63 74 6f 72 79 20 61 6e  64 20 74 72 79 20 61 67  |ctory and try ag|
00000190  61 69 6e 0a 49 66 20 22  3c 43 68 61 6e 67 65 46  |ain.If "<ChangeF|
000001a0  53 49 24 44 69 72 3e 22  3d 22 22 20 54 68 65 6e  |SI$Dir>"="" Then|
000001b0  20 45 72 72 6f 72 20 30  20 50 6c 65 61 73 65 20  | Error 0 Please |
000001c0  6c 6f 63 61 74 65 20 43  68 61 6e 67 65 46 53 49  |locate ChangeFSI|
000001d0  20 61 6e 64 20 74 72 79  20 61 67 61 69 6e 0a 49  | and try again.I|
000001e0  66 20 22 3c 53 32 4a 24  44 69 72 3e 22 3c 3e 22  |f "<S2J$Dir>"<>"|
000001f0  22 20 54 68 65 6e 20 45  72 72 6f 72 20 30 20 53  |" Then Error 0 S|
00000200  70 72 69 74 65 20 32 20  4a 70 65 67 20 69 73 20  |prite 2 Jpeg is |
00000210  61 6c 72 65 61 64 79 20  72 75 6e 6e 69 6e 67 0a  |already running.|
00000220  53 65 74 20 53 32 4a 24  44 69 72 20 3c 4f 62 65  |Set S2J$Dir <Obe|
00000230  79 24 44 69 72 3e 0a 53  65 74 20 53 32 4a 24 53  |y$Dir>.Set S2J$S|
00000240  63 72 61 70 20 3c 57 69  6d 70 24 53 63 72 61 70  |crap <Wimp$Scrap|
00000250  44 69 72 3e 2e 53 32 4a  70 65 67 0a 53 65 74 20  |Dir>.S2Jpeg.Set |
00000260  53 32 4a 24 50 61 74 68  20 3c 43 68 61 6e 67 65  |S2J$Path <Change|
00000270  46 53 49 24 44 69 72 3e  2e 2c 3c 53 32 4a 24 44  |FSI$Dir>.,<S2J$D|
00000280  69 72 3e 2e 4a 70 65 67  a0 43 6f 64 65 2e 0a 57  |ir>.Jpeg.Code..W|
00000290  69 6d 70 73 6c 6f 74 20  2d 6d 69 6e 20 38 30 6b  |impslot -min 80k|
000002a0  20 2d 6d 61 78 20 38 30  6b 0a 49 63 6f 6e 53 70  | -max 80k.IconSp|
000002b0  72 69 74 65 73 20 3c 53  32 4a 24 44 69 72 3e 2e  |rites <S2J$Dir>.|
000002c0  21 53 70 72 69 74 65 73  0a 52 75 6e 20 3c 53 32  |!Sprites.Run <S2|
000002d0  4a 24 44 69 72 3e 2e 21  52 75 6e 49 6d 61 67 65  |J$Dir>.!RunImage|
000002e0