Home » Archimedes archive » Archimedes World » AW-1995-03-Disc1.adf » Disk1Mar95 » !AWMar95/Goodies/DrawBasic/!DrawBasic/!Run

!AWMar95/Goodies/DrawBasic/!DrawBasic/!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-03-Disc1.adf » Disk1Mar95
Filename: !AWMar95/Goodies/DrawBasic/!DrawBasic/!Run
Read OK:
File size: 02A8 bytes
Load address: 0000
Exec address: 0000
File contents
Iconsprites <Obey$Dir>.!Sprites
%Set DrawBasic$Dir <Obey$Dir>
%Set DrawBasic$Path <DrawBasic$Dir>.

%Set ThrowBack$Path Resources:$.Resources.Edit.
%if "<DrawBasic$Options>"="" then %Set DrawBasic$Options DrawBasic:Standard

%Set Alias$@RunType_FFB %Set Basic$File %%0 |m Basic -quit |"%%0|" %%*1
 
%Set Alias$@RunType_B9B %Set ThrowBack$File %%0 |m %Run ThrowBack:Convert
%Set Alias$@RunType_B9A %Set DrawBasic$Options %%0 |m %echo NEW DRAWBASIC LIBRARY FILE: |m %echo |m %echo %%0 
%Set File$Type_B9B  DBasic
%Set File$Type_B9A  DBasLib
%UnSet ThrowBack$File
%RMEnsure DrawBasic 0 RMLoad <DrawBasic$Dir>.DrawBasic
%Run <DrawBasic$Dir>.!RunImage
*%Filer_OpenDir DrawBasic:Library
00000000  49 63 6f 6e 73 70 72 69  74 65 73 20 3c 4f 62 65  |Iconsprites <Obe|
00000010  79 24 44 69 72 3e 2e 21  53 70 72 69 74 65 73 0a  |y$Dir>.!Sprites.|
00000020  25 53 65 74 20 44 72 61  77 42 61 73 69 63 24 44  |%Set DrawBasic$D|
00000030  69 72 20 3c 4f 62 65 79  24 44 69 72 3e 0a 25 53  |ir <Obey$Dir>.%S|
00000040  65 74 20 44 72 61 77 42  61 73 69 63 24 50 61 74  |et DrawBasic$Pat|
00000050  68 20 3c 44 72 61 77 42  61 73 69 63 24 44 69 72  |h <DrawBasic$Dir|
00000060  3e 2e 0a 0a 25 53 65 74  20 54 68 72 6f 77 42 61  |>...%Set ThrowBa|
00000070  63 6b 24 50 61 74 68 20  52 65 73 6f 75 72 63 65  |ck$Path Resource|
00000080  73 3a 24 2e 52 65 73 6f  75 72 63 65 73 2e 45 64  |s:$.Resources.Ed|
00000090  69 74 2e 0a 25 69 66 20  22 3c 44 72 61 77 42 61  |it..%if "<DrawBa|
000000a0  73 69 63 24 4f 70 74 69  6f 6e 73 3e 22 3d 22 22  |sic$Options>"=""|
000000b0  20 74 68 65 6e 20 25 53  65 74 20 44 72 61 77 42  | then %Set DrawB|
000000c0  61 73 69 63 24 4f 70 74  69 6f 6e 73 20 44 72 61  |asic$Options Dra|
000000d0  77 42 61 73 69 63 3a 53  74 61 6e 64 61 72 64 0a  |wBasic:Standard.|
000000e0  0a 25 53 65 74 20 41 6c  69 61 73 24 40 52 75 6e  |.%Set Alias$@Run|
000000f0  54 79 70 65 5f 46 46 42  20 25 53 65 74 20 42 61  |Type_FFB %Set Ba|
00000100  73 69 63 24 46 69 6c 65  20 25 25 30 20 7c 6d 20  |sic$File %%0 |m |
00000110  42 61 73 69 63 20 2d 71  75 69 74 20 7c 22 25 25  |Basic -quit |"%%|
00000120  30 7c 22 20 25 25 2a 31  0a 20 0a 25 53 65 74 20  |0|" %%*1. .%Set |
00000130  41 6c 69 61 73 24 40 52  75 6e 54 79 70 65 5f 42  |Alias$@RunType_B|
00000140  39 42 20 25 53 65 74 20  54 68 72 6f 77 42 61 63  |9B %Set ThrowBac|
00000150  6b 24 46 69 6c 65 20 25  25 30 20 7c 6d 20 25 52  |k$File %%0 |m %R|
00000160  75 6e 20 54 68 72 6f 77  42 61 63 6b 3a 43 6f 6e  |un ThrowBack:Con|
00000170  76 65 72 74 0a 25 53 65  74 20 41 6c 69 61 73 24  |vert.%Set Alias$|
00000180  40 52 75 6e 54 79 70 65  5f 42 39 41 20 25 53 65  |@RunType_B9A %Se|
00000190  74 20 44 72 61 77 42 61  73 69 63 24 4f 70 74 69  |t DrawBasic$Opti|
000001a0  6f 6e 73 20 25 25 30 20  7c 6d 20 25 65 63 68 6f  |ons %%0 |m %echo|
000001b0  20 4e 45 57 20 44 52 41  57 42 41 53 49 43 20 4c  | NEW DRAWBASIC L|
000001c0  49 42 52 41 52 59 20 46  49 4c 45 3a 20 7c 6d 20  |IBRARY FILE: |m |
000001d0  25 65 63 68 6f 20 7c 6d  20 25 65 63 68 6f 20 25  |%echo |m %echo %|
000001e0  25 30 20 0a 25 53 65 74  20 46 69 6c 65 24 54 79  |%0 .%Set File$Ty|
000001f0  70 65 5f 42 39 42 20 20  44 42 61 73 69 63 0a 25  |pe_B9B  DBasic.%|
00000200  53 65 74 20 46 69 6c 65  24 54 79 70 65 5f 42 39  |Set File$Type_B9|
00000210  41 20 20 44 42 61 73 4c  69 62 0a 25 55 6e 53 65  |A  DBasLib.%UnSe|
00000220  74 20 54 68 72 6f 77 42  61 63 6b 24 46 69 6c 65  |t ThrowBack$File|
00000230  0a 25 52 4d 45 6e 73 75  72 65 20 44 72 61 77 42  |.%RMEnsure DrawB|
00000240  61 73 69 63 20 30 20 52  4d 4c 6f 61 64 20 3c 44  |asic 0 RMLoad <D|
00000250  72 61 77 42 61 73 69 63  24 44 69 72 3e 2e 44 72  |rawBasic$Dir>.Dr|
00000260  61 77 42 61 73 69 63 0a  25 52 75 6e 20 3c 44 72  |awBasic.%Run <Dr|
00000270  61 77 42 61 73 69 63 24  44 69 72 3e 2e 21 52 75  |awBasic$Dir>.!Ru|
00000280  6e 49 6d 61 67 65 0a 2a  25 46 69 6c 65 72 5f 4f  |nImage.*%Filer_O|
00000290  70 65 6e 44 69 72 20 44  72 61 77 42 61 73 69 63  |penDir DrawBasic|
000002a0  3a 4c 69 62 72 61 72 79                           |:Library|
000002a8