Home » Archimedes archive » Acorn User » AU 1996-05.adf » Optical » !OptclDemo/!Run

!OptclDemo/!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 1996-05.adf » Optical
Filename: !OptclDemo/!Run
Read OK:
File size: 02E6 bytes
Load address: 0000
Exec address: 0000
File contents
| Run file for !OptclDemo

IconSprites <Obey$Dir>.!Sprites
Set File$Type_B8F OptFonts
Set File$Type_DFE CSV

Set Alias$@RunType_B8F Run <Obey$Dir>.!Run -fonts %%*0
Set OptclPro$Dir <Obey$Dir>.Resources

If "<System$Path>"=""  then Error 0 System resources cannot be found
RMEnsure ColourTrans 0.52 RMLoad System:modules.Colours
RMEnsure ColourTrans 0.52 Error Use !SysMerge to merge !System folders first!

RMEnsure TWAINLib 0.00 Run "<OptclPro$Dir>.IfExists" <TWAIN$Dir>.TWAINLib Then RMLoad <TWAIN$Dir>.TWAINLib
RMEnsure TWAINLib 0.00 RMLoad <OptclPro$Dir>.TWAINLib

RMEnsure NeurotronSample 1.00 RMLoad <OptclPro$Dir>.NeuroSamp

WimpSlot -min 572K -max 572K
<OptclPro$Dir>.Loader

WimpSlot -min 572K -max 572K
<OptclPro$Dir>.!RunImage %*0
00000000  7c 20 52 75 6e 20 66 69  6c 65 20 66 6f 72 20 21  || Run file for !|
00000010  4f 70 74 63 6c 44 65 6d  6f 0a 0a 49 63 6f 6e 53  |OptclDemo..IconS|
00000020  70 72 69 74 65 73 20 3c  4f 62 65 79 24 44 69 72  |prites <Obey$Dir|
00000030  3e 2e 21 53 70 72 69 74  65 73 0a 53 65 74 20 46  |>.!Sprites.Set F|
00000040  69 6c 65 24 54 79 70 65  5f 42 38 46 20 4f 70 74  |ile$Type_B8F Opt|
00000050  46 6f 6e 74 73 0a 53 65  74 20 46 69 6c 65 24 54  |Fonts.Set File$T|
00000060  79 70 65 5f 44 46 45 20  43 53 56 0a 0a 53 65 74  |ype_DFE CSV..Set|
00000070  20 41 6c 69 61 73 24 40  52 75 6e 54 79 70 65 5f  | Alias$@RunType_|
00000080  42 38 46 20 52 75 6e 20  3c 4f 62 65 79 24 44 69  |B8F Run <Obey$Di|
00000090  72 3e 2e 21 52 75 6e 20  2d 66 6f 6e 74 73 20 25  |r>.!Run -fonts %|
000000a0  25 2a 30 0a 53 65 74 20  4f 70 74 63 6c 50 72 6f  |%*0.Set OptclPro|
000000b0  24 44 69 72 20 3c 4f 62  65 79 24 44 69 72 3e 2e  |$Dir <Obey$Dir>.|
000000c0  52 65 73 6f 75 72 63 65  73 0a 0a 49 66 20 22 3c  |Resources..If "<|
000000d0  53 79 73 74 65 6d 24 50  61 74 68 3e 22 3d 22 22  |System$Path>"=""|
000000e0  20 20 74 68 65 6e 20 45  72 72 6f 72 20 30 20 53  |  then Error 0 S|
000000f0  79 73 74 65 6d 20 72 65  73 6f 75 72 63 65 73 20  |ystem resources |
00000100  63 61 6e 6e 6f 74 20 62  65 20 66 6f 75 6e 64 0a  |cannot be found.|
00000110  52 4d 45 6e 73 75 72 65  20 43 6f 6c 6f 75 72 54  |RMEnsure ColourT|
00000120  72 61 6e 73 20 30 2e 35  32 20 52 4d 4c 6f 61 64  |rans 0.52 RMLoad|
00000130  20 53 79 73 74 65 6d 3a  6d 6f 64 75 6c 65 73 2e  | System:modules.|
00000140  43 6f 6c 6f 75 72 73 0a  52 4d 45 6e 73 75 72 65  |Colours.RMEnsure|
00000150  20 43 6f 6c 6f 75 72 54  72 61 6e 73 20 30 2e 35  | ColourTrans 0.5|
00000160  32 20 45 72 72 6f 72 20  55 73 65 20 21 53 79 73  |2 Error Use !Sys|
00000170  4d 65 72 67 65 20 74 6f  20 6d 65 72 67 65 20 21  |Merge to merge !|
00000180  53 79 73 74 65 6d 20 66  6f 6c 64 65 72 73 20 66  |System folders f|
00000190  69 72 73 74 21 0a 0a 52  4d 45 6e 73 75 72 65 20  |irst!..RMEnsure |
000001a0  54 57 41 49 4e 4c 69 62  20 30 2e 30 30 20 52 75  |TWAINLib 0.00 Ru|
000001b0  6e 20 22 3c 4f 70 74 63  6c 50 72 6f 24 44 69 72  |n "<OptclPro$Dir|
000001c0  3e 2e 49 66 45 78 69 73  74 73 22 20 3c 54 57 41  |>.IfExists" <TWA|
000001d0  49 4e 24 44 69 72 3e 2e  54 57 41 49 4e 4c 69 62  |IN$Dir>.TWAINLib|
000001e0  20 54 68 65 6e 20 52 4d  4c 6f 61 64 20 3c 54 57  | Then RMLoad <TW|
000001f0  41 49 4e 24 44 69 72 3e  2e 54 57 41 49 4e 4c 69  |AIN$Dir>.TWAINLi|
00000200  62 0a 52 4d 45 6e 73 75  72 65 20 54 57 41 49 4e  |b.RMEnsure TWAIN|
00000210  4c 69 62 20 30 2e 30 30  20 52 4d 4c 6f 61 64 20  |Lib 0.00 RMLoad |
00000220  3c 4f 70 74 63 6c 50 72  6f 24 44 69 72 3e 2e 54  |<OptclPro$Dir>.T|
00000230  57 41 49 4e 4c 69 62 0a  0a 52 4d 45 6e 73 75 72  |WAINLib..RMEnsur|
00000240  65 20 4e 65 75 72 6f 74  72 6f 6e 53 61 6d 70 6c  |e NeurotronSampl|
00000250  65 20 31 2e 30 30 20 52  4d 4c 6f 61 64 20 3c 4f  |e 1.00 RMLoad <O|
00000260  70 74 63 6c 50 72 6f 24  44 69 72 3e 2e 4e 65 75  |ptclPro$Dir>.Neu|
00000270  72 6f 53 61 6d 70 0a 0a  57 69 6d 70 53 6c 6f 74  |roSamp..WimpSlot|
00000280  20 2d 6d 69 6e 20 35 37  32 4b 20 2d 6d 61 78 20  | -min 572K -max |
00000290  35 37 32 4b 0a 3c 4f 70  74 63 6c 50 72 6f 24 44  |572K.<OptclPro$D|
000002a0  69 72 3e 2e 4c 6f 61 64  65 72 0a 0a 57 69 6d 70  |ir>.Loader..Wimp|
000002b0  53 6c 6f 74 20 2d 6d 69  6e 20 35 37 32 4b 20 2d  |Slot -min 572K -|
000002c0  6d 61 78 20 35 37 32 4b  0a 3c 4f 70 74 63 6c 50  |max 572K.<OptclP|
000002d0  72 6f 24 44 69 72 3e 2e  21 52 75 6e 49 6d 61 67  |ro$Dir>.!RunImag|
000002e0  65 20 25 2a 30 0a                                 |e %*0.|
000002e6