Home » Archimedes archive » Acorn User » AU 1994-03.adf » !IBankDemo_IBankDemo » !ImageBank/!Run

!ImageBank/!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 » Acorn User » AU 1994-03.adf » !IBankDemo_IBankDemo
Filename: !ImageBank/!Run
Read OK:
File size: 03D5 bytes
Load address: 0000
Exec address: 0000
File contents
| > ImageBank:!Run

If "<Font$Path>" = "" Then Error Fonts not found. Please open a directory display containing !Fonts.

Set ImageBank$Dir <Obey$Dir>
SetMacro ImageBank$Path <ImageBank$Dir>.

IconSprites ImageBank:!Sprites

If "<File$Type_C85>" = "" Then Set File$Type_C85 JPEG
If "<File$Type_690>" = "" Then Set File$Type_690 Clear

| ---------------------------------------------------------------

RMEnsure UtilityModule 3.10 Error ImageBank can only be run under RISC�OS 3.1

| ---------------------------------------------------------------
| The following 2 system variables can be altered for your system.

| This variable sets from where to save and load the Choices file.
Set ImageBank$OptionsFile <ImageBank$Dir>.!Choices

| This variable is used to set the location for the catalogue files.
Set ImageBank$Catalogues <ImageBank$Dir>.Catalogues

| ---------------------------------------------------------------

WimpSlot -min 256k -max 256K

Run ImageBank:!RunImage %*0
00000000  7c 20 3e 20 49 6d 61 67  65 42 61 6e 6b 3a 21 52  || > ImageBank:!R|
00000010  75 6e 0a 0a 49 66 20 22  3c 46 6f 6e 74 24 50 61  |un..If "<Font$Pa|
00000020  74 68 3e 22 20 3d 20 22  22 20 54 68 65 6e 20 45  |th>" = "" Then E|
00000030  72 72 6f 72 20 46 6f 6e  74 73 20 6e 6f 74 20 66  |rror Fonts not f|
00000040  6f 75 6e 64 2e 20 50 6c  65 61 73 65 20 6f 70 65  |ound. Please ope|
00000050  6e 20 61 20 64 69 72 65  63 74 6f 72 79 20 64 69  |n a directory di|
00000060  73 70 6c 61 79 20 63 6f  6e 74 61 69 6e 69 6e 67  |splay containing|
00000070  20 21 46 6f 6e 74 73 2e  0a 0a 53 65 74 20 49 6d  | !Fonts...Set Im|
00000080  61 67 65 42 61 6e 6b 24  44 69 72 20 3c 4f 62 65  |ageBank$Dir <Obe|
00000090  79 24 44 69 72 3e 0a 53  65 74 4d 61 63 72 6f 20  |y$Dir>.SetMacro |
000000a0  49 6d 61 67 65 42 61 6e  6b 24 50 61 74 68 20 3c  |ImageBank$Path <|
000000b0  49 6d 61 67 65 42 61 6e  6b 24 44 69 72 3e 2e 0a  |ImageBank$Dir>..|
000000c0  0a 49 63 6f 6e 53 70 72  69 74 65 73 20 49 6d 61  |.IconSprites Ima|
000000d0  67 65 42 61 6e 6b 3a 21  53 70 72 69 74 65 73 0a  |geBank:!Sprites.|
000000e0  0a 49 66 20 22 3c 46 69  6c 65 24 54 79 70 65 5f  |.If "<File$Type_|
000000f0  43 38 35 3e 22 20 3d 20  22 22 20 54 68 65 6e 20  |C85>" = "" Then |
00000100  53 65 74 20 46 69 6c 65  24 54 79 70 65 5f 43 38  |Set File$Type_C8|
00000110  35 20 4a 50 45 47 0a 49  66 20 22 3c 46 69 6c 65  |5 JPEG.If "<File|
00000120  24 54 79 70 65 5f 36 39  30 3e 22 20 3d 20 22 22  |$Type_690>" = ""|
00000130  20 54 68 65 6e 20 53 65  74 20 46 69 6c 65 24 54  | Then Set File$T|
00000140  79 70 65 5f 36 39 30 20  43 6c 65 61 72 0a 0a 7c  |ype_690 Clear..||
00000150  20 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | ---------------|
00000160  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000190  0a 0a 52 4d 45 6e 73 75  72 65 20 55 74 69 6c 69  |..RMEnsure Utili|
000001a0  74 79 4d 6f 64 75 6c 65  20 33 2e 31 30 20 45 72  |tyModule 3.10 Er|
000001b0  72 6f 72 20 49 6d 61 67  65 42 61 6e 6b 20 63 61  |ror ImageBank ca|
000001c0  6e 20 6f 6e 6c 79 20 62  65 20 72 75 6e 20 75 6e  |n only be run un|
000001d0  64 65 72 20 52 49 53 43  a0 4f 53 20 33 2e 31 0a  |der RISC.OS 3.1.|
000001e0  0a 7c 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.| -------------|
000001f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000220  2d 2d 0a 7c 20 54 68 65  20 66 6f 6c 6c 6f 77 69  |--.| The followi|
00000230  6e 67 20 32 20 73 79 73  74 65 6d 20 76 61 72 69  |ng 2 system vari|
00000240  61 62 6c 65 73 20 63 61  6e 20 62 65 20 61 6c 74  |ables can be alt|
00000250  65 72 65 64 20 66 6f 72  20 79 6f 75 72 20 73 79  |ered for your sy|
00000260  73 74 65 6d 2e 0a 0a 7c  20 54 68 69 73 20 76 61  |stem...| This va|
00000270  72 69 61 62 6c 65 20 73  65 74 73 20 66 72 6f 6d  |riable sets from|
00000280  20 77 68 65 72 65 20 74  6f 20 73 61 76 65 20 61  | where to save a|
00000290  6e 64 20 6c 6f 61 64 20  74 68 65 20 43 68 6f 69  |nd load the Choi|
000002a0  63 65 73 20 66 69 6c 65  2e 0a 53 65 74 20 49 6d  |ces file..Set Im|
000002b0  61 67 65 42 61 6e 6b 24  4f 70 74 69 6f 6e 73 46  |ageBank$OptionsF|
000002c0  69 6c 65 20 3c 49 6d 61  67 65 42 61 6e 6b 24 44  |ile <ImageBank$D|
000002d0  69 72 3e 2e 21 43 68 6f  69 63 65 73 0a 0a 7c 20  |ir>.!Choices..| |
000002e0  54 68 69 73 20 76 61 72  69 61 62 6c 65 20 69 73  |This variable is|
000002f0  20 75 73 65 64 20 74 6f  20 73 65 74 20 74 68 65  | used to set the|
00000300  20 6c 6f 63 61 74 69 6f  6e 20 66 6f 72 20 74 68  | location for th|
00000310  65 20 63 61 74 61 6c 6f  67 75 65 20 66 69 6c 65  |e catalogue file|
00000320  73 2e 0a 53 65 74 20 49  6d 61 67 65 42 61 6e 6b  |s..Set ImageBank|
00000330  24 43 61 74 61 6c 6f 67  75 65 73 20 3c 49 6d 61  |$Catalogues <Ima|
00000340  67 65 42 61 6e 6b 24 44  69 72 3e 2e 43 61 74 61  |geBank$Dir>.Cata|
00000350  6c 6f 67 75 65 73 0a 0a  7c 20 2d 2d 2d 2d 2d 2d  |logues..| ------|
00000360  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000390  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 0a 57 69 6d 70 53  |---------..WimpS|
000003a0  6c 6f 74 20 2d 6d 69 6e  20 32 35 36 6b 20 2d 6d  |lot -min 256k -m|
000003b0  61 78 20 32 35 36 4b 0a  0a 52 75 6e 20 49 6d 61  |ax 256K..Run Ima|
000003c0  67 65 42 61 6e 6b 3a 21  52 75 6e 49 6d 61 67 65  |geBank:!RunImage|
000003d0  20 25 2a 30 0a                                    | %*0.|
000003d5