Home » Archimedes archive » Archimedes World » AW-1994-04-Disc1.adf » Disk1Apr94 » !AWApr94/Goodies/Basic/SaveDraw/To_!Draw

!AWApr94/Goodies/Basic/SaveDraw/To_!Draw

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-04-Disc1.adf » Disk1Apr94
Filename: !AWApr94/Goodies/Basic/SaveDraw/To_!Draw
Read OK:
File size: 00E9 bytes
Load address: 0000
Exec address: 0000
File contents
    1LIBRARY "PathLib:OS_units.Draw"
    2REM Creates a draw file consting of only a 40 byte header
    3    file%=FNDraw_CreateFile("NullFile",40)
    4
    5REM Save this file to the Pipe filing system
    6    PROCDraw_SendToDraw("Null",file%)
    7
    8END
ț "PathLib:OS_units.Draw"
;� Creates a draw file consting of only a 40 byte header
-    file%=�Draw_CreateFile("NullFile",40)

.� Save this file to the Pipe filing system
&    �Draw_SendToDraw("Null",file%)

�
�
00000000  0d 00 01 1e c8 9b 20 22  50 61 74 68 4c 69 62 3a  |...... "PathLib:|
00000010  4f 53 5f 75 6e 69 74 73  2e 44 72 61 77 22 0d 00  |OS_units.Draw"..|
00000020  02 3b f4 20 43 72 65 61  74 65 73 20 61 20 64 72  |.;. Creates a dr|
00000030  61 77 20 66 69 6c 65 20  63 6f 6e 73 74 69 6e 67  |aw file consting|
00000040  20 6f 66 20 6f 6e 6c 79  20 61 20 34 30 20 62 79  | of only a 40 by|
00000050  74 65 20 68 65 61 64 65  72 0d 00 03 2d 20 20 20  |te header...-   |
00000060  20 66 69 6c 65 25 3d a4  44 72 61 77 5f 43 72 65  | file%=.Draw_Cre|
00000070  61 74 65 46 69 6c 65 28  22 4e 75 6c 6c 46 69 6c  |ateFile("NullFil|
00000080  65 22 2c 34 30 29 0d 00  04 04 0d 00 05 2e f4 20  |e",40)......... |
00000090  53 61 76 65 20 74 68 69  73 20 66 69 6c 65 20 74  |Save this file t|
000000a0  6f 20 74 68 65 20 50 69  70 65 20 66 69 6c 69 6e  |o the Pipe filin|
000000b0  67 20 73 79 73 74 65 6d  0d 00 06 26 20 20 20 20  |g system...&    |
000000c0  f2 44 72 61 77 5f 53 65  6e 64 54 6f 44 72 61 77  |.Draw_SendToDraw|
000000d0  28 22 4e 75 6c 6c 22 2c  66 69 6c 65 25 29 0d 00  |("Null",file%)..|
000000e0  07 04 0d 00 08 05 e0 0d  ff                       |.........|
000000e9