Home » Archimedes archive » Micro User » MU 1991-01.adf » PD-Stuff » Draw1_2/!Draw1/!Run

Draw1_2/!Draw1/!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 » Micro User » MU 1991-01.adf » PD-Stuff
Filename: Draw1_2/!Draw1/!Run
Read OK:
File size: 02AB bytes
Load address: 0000
Exec address: 0000
File contents
If "<System$Path>" = "" Then Error 0 System resources cannot be found

RMEnsure ColourTrans 0.52 Load System:Modules.Colours
RMEnsure ColourTrans 0.52 Error 0 ColourTrans module not found
RMEnsure Draw 1.01 Error 0 Draw module not found
RMEnsure SharedCLibrary 3.50 Load System:Modules.Clib
RMEnsure SharedCLibrary 3.50 Error 0 Shared C Library not found
RMEnsure FPEmulator 0 Load System:Modules.FPEmulator

IconSprites <Obey$Dir>.!Sprites

Set Draw2$Dir <Obey$Dir>
If "<Draw$PrintFile>" = "" Then Set Draw$PrintFile printer:
Set Alias$@RunType_AFF /<Draw2$Dir> -load %%*0
Set Alias$@PrintType_AFF /<Draw2$Dir> -print %%*0

WimpSlot -min 300K -max 300K
Run "<Draw2$Dir>.Draw2" %*0
00000000  0a 49 66 20 22 3c 53 79  73 74 65 6d 24 50 61 74  |.If "<System$Pat|
00000010  68 3e 22 20 3d 20 22 22  20 54 68 65 6e 20 45 72  |h>" = "" Then Er|
00000020  72 6f 72 20 30 20 53 79  73 74 65 6d 20 72 65 73  |ror 0 System res|
00000030  6f 75 72 63 65 73 20 63  61 6e 6e 6f 74 20 62 65  |ources cannot be|
00000040  20 66 6f 75 6e 64 0a 0a  52 4d 45 6e 73 75 72 65  | found..RMEnsure|
00000050  20 43 6f 6c 6f 75 72 54  72 61 6e 73 20 30 2e 35  | ColourTrans 0.5|
00000060  32 20 4c 6f 61 64 20 53  79 73 74 65 6d 3a 4d 6f  |2 Load System:Mo|
00000070  64 75 6c 65 73 2e 43 6f  6c 6f 75 72 73 0a 52 4d  |dules.Colours.RM|
00000080  45 6e 73 75 72 65 20 43  6f 6c 6f 75 72 54 72 61  |Ensure ColourTra|
00000090  6e 73 20 30 2e 35 32 20  45 72 72 6f 72 20 30 20  |ns 0.52 Error 0 |
000000a0  43 6f 6c 6f 75 72 54 72  61 6e 73 20 6d 6f 64 75  |ColourTrans modu|
000000b0  6c 65 20 6e 6f 74 20 66  6f 75 6e 64 0a 52 4d 45  |le not found.RME|
000000c0  6e 73 75 72 65 20 44 72  61 77 20 31 2e 30 31 20  |nsure Draw 1.01 |
000000d0  45 72 72 6f 72 20 30 20  44 72 61 77 20 6d 6f 64  |Error 0 Draw mod|
000000e0  75 6c 65 20 6e 6f 74 20  66 6f 75 6e 64 0a 52 4d  |ule not found.RM|
000000f0  45 6e 73 75 72 65 20 53  68 61 72 65 64 43 4c 69  |Ensure SharedCLi|
00000100  62 72 61 72 79 20 33 2e  35 30 20 4c 6f 61 64 20  |brary 3.50 Load |
00000110  53 79 73 74 65 6d 3a 4d  6f 64 75 6c 65 73 2e 43  |System:Modules.C|
00000120  6c 69 62 0a 52 4d 45 6e  73 75 72 65 20 53 68 61  |lib.RMEnsure Sha|
00000130  72 65 64 43 4c 69 62 72  61 72 79 20 33 2e 35 30  |redCLibrary 3.50|
00000140  20 45 72 72 6f 72 20 30  20 53 68 61 72 65 64 20  | Error 0 Shared |
00000150  43 20 4c 69 62 72 61 72  79 20 6e 6f 74 20 66 6f  |C Library not fo|
00000160  75 6e 64 0a 52 4d 45 6e  73 75 72 65 20 46 50 45  |und.RMEnsure FPE|
00000170  6d 75 6c 61 74 6f 72 20  30 20 4c 6f 61 64 20 53  |mulator 0 Load S|
00000180  79 73 74 65 6d 3a 4d 6f  64 75 6c 65 73 2e 46 50  |ystem:Modules.FP|
00000190  45 6d 75 6c 61 74 6f 72  0a 0a 49 63 6f 6e 53 70  |Emulator..IconSp|
000001a0  72 69 74 65 73 20 3c 4f  62 65 79 24 44 69 72 3e  |rites <Obey$Dir>|
000001b0  2e 21 53 70 72 69 74 65  73 0a 0a 53 65 74 20 44  |.!Sprites..Set D|
000001c0  72 61 77 32 24 44 69 72  20 3c 4f 62 65 79 24 44  |raw2$Dir <Obey$D|
000001d0  69 72 3e 0a 49 66 20 22  3c 44 72 61 77 24 50 72  |ir>.If "<Draw$Pr|
000001e0  69 6e 74 46 69 6c 65 3e  22 20 3d 20 22 22 20 54  |intFile>" = "" T|
000001f0  68 65 6e 20 53 65 74 20  44 72 61 77 24 50 72 69  |hen Set Draw$Pri|
00000200  6e 74 46 69 6c 65 20 70  72 69 6e 74 65 72 3a 0a  |ntFile printer:.|
00000210  53 65 74 20 41 6c 69 61  73 24 40 52 75 6e 54 79  |Set Alias$@RunTy|
00000220  70 65 5f 41 46 46 20 2f  3c 44 72 61 77 32 24 44  |pe_AFF /<Draw2$D|
00000230  69 72 3e 20 2d 6c 6f 61  64 20 25 25 2a 30 0a 53  |ir> -load %%*0.S|
00000240  65 74 20 41 6c 69 61 73  24 40 50 72 69 6e 74 54  |et Alias$@PrintT|
00000250  79 70 65 5f 41 46 46 20  2f 3c 44 72 61 77 32 24  |ype_AFF /<Draw2$|
00000260  44 69 72 3e 20 2d 70 72  69 6e 74 20 25 25 2a 30  |Dir> -print %%*0|
00000270  0a 0a 57 69 6d 70 53 6c  6f 74 20 2d 6d 69 6e 20  |..WimpSlot -min |
00000280  33 30 30 4b 20 2d 6d 61  78 20 33 30 30 4b 0a 52  |300K -max 300K.R|
00000290  75 6e 20 22 3c 44 72 61  77 32 24 44 69 72 3e 2e  |un "<Draw2$Dir>.|
000002a0  44 72 61 77 32 22 20 25  2a 30 0a                 |Draw2" %*0.|
000002ab