Home » Archimedes archive » Archimedes World » AW-1994-07-Disc1.adf » Disk1Jul94 » !AWJuly94/Goodies/BankSystem/!BankSys/!Run

!AWJuly94/Goodies/BankSystem/!BankSys/!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-1994-07-Disc1.adf » Disk1Jul94
Filename: !AWJuly94/Goodies/BankSystem/!BankSys/!Run
Read OK:
File size: 0402 bytes
Load address: 0000
Exec address: 0000
File contents
| !Run file for !BankSys
|
| Please do not alter this !Run file. It is possible to by-pass this
| operating system check. But, the program will crash in operation
| under RISC OS 2.
|

Set RISCOS$Version Three
RMEnsure UtilityModule 3.00 Set RISCOS$Version Two
RMEnsure WimpExtension 2.18 RMLoad <Obey$Dir>.Modules.WimpExt
RMEnsure WimpExtension 2.18 Error !Bank needs WimpExtension 2.18 or later
RMEnsure MemAlloc 0.11 RMLoad <Obey$Dir>.Modules.MemAlloc
RMEnsure MemAlloc 0.11 Error !Bank needs MemAlloc 0.11 or later

| You can change the amount on the following line, or delete it
| altogether. Please note, a font cache of at least 48k is recommended
| if your have the outline font windows selected.

FontSize 80k

If "<Wimp$Scrap>"="" Then Error !BankSys requires a scrap directory to work
IconSprites <Obey$Dir>.!Sprites
Set Bank$Dir <Obey$Dir>
Set File$Type_E98 BankData
Set Alias$@RunType_E98 Run <Bank$Dir>.!Run -Load %%*0
WimpSlot -min 320k -max 320k
If "<RISCOS$Version>"="Three" Then Run <Bank$Dir>.!RunImage %*0
00000000  7c 20 21 52 75 6e 20 66  69 6c 65 20 66 6f 72 20  || !Run file for |
00000010  21 42 61 6e 6b 53 79 73  0a 7c 0a 7c 20 50 6c 65  |!BankSys.|.| Ple|
00000020  61 73 65 20 64 6f 20 6e  6f 74 20 61 6c 74 65 72  |ase do not alter|
00000030  20 74 68 69 73 20 21 52  75 6e 20 66 69 6c 65 2e  | this !Run file.|
00000040  20 49 74 20 69 73 20 70  6f 73 73 69 62 6c 65 20  | It is possible |
00000050  74 6f 20 62 79 2d 70 61  73 73 20 74 68 69 73 0a  |to by-pass this.|
00000060  7c 20 6f 70 65 72 61 74  69 6e 67 20 73 79 73 74  || operating syst|
00000070  65 6d 20 63 68 65 63 6b  2e 20 42 75 74 2c 20 74  |em check. But, t|
00000080  68 65 20 70 72 6f 67 72  61 6d 20 77 69 6c 6c 20  |he program will |
00000090  63 72 61 73 68 20 69 6e  20 6f 70 65 72 61 74 69  |crash in operati|
000000a0  6f 6e 0a 7c 20 75 6e 64  65 72 20 52 49 53 43 20  |on.| under RISC |
000000b0  4f 53 20 32 2e 0a 7c 0a  0a 53 65 74 20 52 49 53  |OS 2..|..Set RIS|
000000c0  43 4f 53 24 56 65 72 73  69 6f 6e 20 54 68 72 65  |COS$Version Thre|
000000d0  65 0a 52 4d 45 6e 73 75  72 65 20 55 74 69 6c 69  |e.RMEnsure Utili|
000000e0  74 79 4d 6f 64 75 6c 65  20 33 2e 30 30 20 53 65  |tyModule 3.00 Se|
000000f0  74 20 52 49 53 43 4f 53  24 56 65 72 73 69 6f 6e  |t RISCOS$Version|
00000100  20 54 77 6f 0a 52 4d 45  6e 73 75 72 65 20 57 69  | Two.RMEnsure Wi|
00000110  6d 70 45 78 74 65 6e 73  69 6f 6e 20 32 2e 31 38  |mpExtension 2.18|
00000120  20 52 4d 4c 6f 61 64 20  3c 4f 62 65 79 24 44 69  | RMLoad <Obey$Di|
00000130  72 3e 2e 4d 6f 64 75 6c  65 73 2e 57 69 6d 70 45  |r>.Modules.WimpE|
00000140  78 74 0a 52 4d 45 6e 73  75 72 65 20 57 69 6d 70  |xt.RMEnsure Wimp|
00000150  45 78 74 65 6e 73 69 6f  6e 20 32 2e 31 38 20 45  |Extension 2.18 E|
00000160  72 72 6f 72 20 21 42 61  6e 6b 20 6e 65 65 64 73  |rror !Bank needs|
00000170  20 57 69 6d 70 45 78 74  65 6e 73 69 6f 6e 20 32  | WimpExtension 2|
00000180  2e 31 38 20 6f 72 20 6c  61 74 65 72 0a 52 4d 45  |.18 or later.RME|
00000190  6e 73 75 72 65 20 4d 65  6d 41 6c 6c 6f 63 20 30  |nsure MemAlloc 0|
000001a0  2e 31 31 20 52 4d 4c 6f  61 64 20 3c 4f 62 65 79  |.11 RMLoad <Obey|
000001b0  24 44 69 72 3e 2e 4d 6f  64 75 6c 65 73 2e 4d 65  |$Dir>.Modules.Me|
000001c0  6d 41 6c 6c 6f 63 0a 52  4d 45 6e 73 75 72 65 20  |mAlloc.RMEnsure |
000001d0  4d 65 6d 41 6c 6c 6f 63  20 30 2e 31 31 20 45 72  |MemAlloc 0.11 Er|
000001e0  72 6f 72 20 21 42 61 6e  6b 20 6e 65 65 64 73 20  |ror !Bank needs |
000001f0  4d 65 6d 41 6c 6c 6f 63  20 30 2e 31 31 20 6f 72  |MemAlloc 0.11 or|
00000200  20 6c 61 74 65 72 0a 0a  7c 20 59 6f 75 20 63 61  | later..| You ca|
00000210  6e 20 63 68 61 6e 67 65  20 74 68 65 20 61 6d 6f  |n change the amo|
00000220  75 6e 74 20 6f 6e 20 74  68 65 20 66 6f 6c 6c 6f  |unt on the follo|
00000230  77 69 6e 67 20 6c 69 6e  65 2c 20 6f 72 20 64 65  |wing line, or de|
00000240  6c 65 74 65 20 69 74 0a  7c 20 61 6c 74 6f 67 65  |lete it.| altoge|
00000250  74 68 65 72 2e 20 50 6c  65 61 73 65 20 6e 6f 74  |ther. Please not|
00000260  65 2c 20 61 20 66 6f 6e  74 20 63 61 63 68 65 20  |e, a font cache |
00000270  6f 66 20 61 74 20 6c 65  61 73 74 20 34 38 6b 20  |of at least 48k |
00000280  69 73 20 72 65 63 6f 6d  6d 65 6e 64 65 64 0a 7c  |is recommended.||
00000290  20 69 66 20 79 6f 75 72  20 68 61 76 65 20 74 68  | if your have th|
000002a0  65 20 6f 75 74 6c 69 6e  65 20 66 6f 6e 74 20 77  |e outline font w|
000002b0  69 6e 64 6f 77 73 20 73  65 6c 65 63 74 65 64 2e  |indows selected.|
000002c0  0a 0a 46 6f 6e 74 53 69  7a 65 20 38 30 6b 0a 0a  |..FontSize 80k..|
000002d0  49 66 20 22 3c 57 69 6d  70 24 53 63 72 61 70 3e  |If "<Wimp$Scrap>|
000002e0  22 3d 22 22 20 54 68 65  6e 20 45 72 72 6f 72 20  |"="" Then Error |
000002f0  21 42 61 6e 6b 53 79 73  20 72 65 71 75 69 72 65  |!BankSys require|
00000300  73 20 61 20 73 63 72 61  70 20 64 69 72 65 63 74  |s a scrap direct|
00000310  6f 72 79 20 74 6f 20 77  6f 72 6b 0a 49 63 6f 6e  |ory to work.Icon|
00000320  53 70 72 69 74 65 73 20  3c 4f 62 65 79 24 44 69  |Sprites <Obey$Di|
00000330  72 3e 2e 21 53 70 72 69  74 65 73 0a 53 65 74 20  |r>.!Sprites.Set |
00000340  42 61 6e 6b 24 44 69 72  20 3c 4f 62 65 79 24 44  |Bank$Dir <Obey$D|
00000350  69 72 3e 0a 53 65 74 20  46 69 6c 65 24 54 79 70  |ir>.Set File$Typ|
00000360  65 5f 45 39 38 20 42 61  6e 6b 44 61 74 61 0a 53  |e_E98 BankData.S|
00000370  65 74 20 41 6c 69 61 73  24 40 52 75 6e 54 79 70  |et Alias$@RunTyp|
00000380  65 5f 45 39 38 20 52 75  6e 20 3c 42 61 6e 6b 24  |e_E98 Run <Bank$|
00000390  44 69 72 3e 2e 21 52 75  6e 20 2d 4c 6f 61 64 20  |Dir>.!Run -Load |
000003a0  25 25 2a 30 0a 57 69 6d  70 53 6c 6f 74 20 2d 6d  |%%*0.WimpSlot -m|
000003b0  69 6e 20 33 32 30 6b 20  2d 6d 61 78 20 33 32 30  |in 320k -max 320|
000003c0  6b 0a 49 66 20 22 3c 52  49 53 43 4f 53 24 56 65  |k.If "<RISCOS$Ve|
000003d0  72 73 69 6f 6e 3e 22 3d  22 54 68 72 65 65 22 20  |rsion>"="Three" |
000003e0  54 68 65 6e 20 52 75 6e  20 3c 42 61 6e 6b 24 44  |Then Run <Bank$D|
000003f0  69 72 3e 2e 21 52 75 6e  49 6d 61 67 65 20 25 2a  |ir>.!RunImage %*|
00000400  30 0a                                             |0.|
00000402