Home » Archimedes archive » Acorn User » AU 1995-05.adf » !StarInfo_StarInfo » Miskin/!SpiroDraw/!RunIm3

Miskin/!SpiroDraw/!RunIm3

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 1995-05.adf » !StarInfo_StarInfo
Filename: Miskin/!SpiroDraw/!RunIm3
Read OK:
File size: 03D8 bytes
Load address: 0000
Exec address: 0000
File contents
   10ONERROR REPORT:PRINTERL/10:END
   20LIBRARY "<SpiroDraw$Dir>.Common"
   30DIM messages% 20
   40!messages%=2:messages%!4=6:messages%!8=&400C0:messages%!12=9:messages%!16=0
   50PROCvars
   60$B%="TASK":SYS &400C0,310,!B%,prog$,messages% TO v%,task%
   70ON ERROR IF FNwimperror THEN END
   80PROCicon
   90PROCloadTemplates
  100PROCdispicon
  110menu2%=FNdrawmenu(3,"Save,<m>[sbx%]DrawFile,<m>[sbx%]Sprite,<m>[sbx%]Parameters",FALSE)
  120menu%=FNdrawmenu(6,prog$+",[ibh%]Info,[menu2%]<s>Save,<s>Undo,Clear,Stop,Quit",TRUE)
  130ON ERROR IF FNwimperror THEN END
  140REPEAT
  150PROCpoll
  160UNTIL quit%
  170PROCclose
  180END
  190:
  200DEFFNourkey
  210IF B%!24<>13:=FALSE
  220IF !B%=sbx% PROCquicksave:=TRUE
  230IF !B%=opt% PROCdrawsprite:=TRUE
  240=TRUE
  250
  260DEFPROCloadTemplates
  270SYS &400D9,,"<SpiroDraw$Dir>.Templates3"
  280maxbuff%=1168:inlen%=716
  290templ%=FNclaim(maxbuff%+4)
  300DIM indir% inlen%
  310data%=indir%:end%=indir%+inlen%
  320ibh%=FNwindow("info")
  330sbx%=FNwindow("save")
  340opt%=FNwindow("main")
  350disp%=FNwindow("preview")
  360PROCsetuppalette
  370PROCdrawnewcol
  380PROCseticon(12):PROCseticon(5)
  390SYS &400DA
  400SYS&1E,7,,templ%
  410ENDPROC

� �:�/10:�
ț "<SpiroDraw$Dir>.Common"
� messages% 20
(O!messages%=2:messages%!4=6:messages%!8=&400C0:messages%!12=9:messages%!16=0
2	�vars
<;$B%="TASK":ș &400C0,310,!B%,prog$,messages% � v%,task%
F� � � �wimperror � �
P	�icon
Z�loadTemplates
d
�dispicon
nVmenu2%=�drawmenu(3,"Save,<m>[sbx%]DrawFile,<m>[sbx%]Sprite,<m>[sbx%]Parameters",�)
xTmenu%=�drawmenu(6,prog$+",[ibh%]Info,[menu2%]<s>Save,<s>Undo,Clear,Stop,Quit",�)
�� � � �wimperror � �
��
�	�poll
�� quit%
�
�close
��
�:
�ݤourkey
�� B%!24<>13:=�
�� !B%=sbx% �quicksave:=�
�� !B%=opt% �drawsprite:=�
�=�
�
��loadTemplates
+ș &400D9,,"<SpiroDraw$Dir>.Templates3"
maxbuff%=1168:inlen%=716
"templ%=�claim(maxbuff%+4)
,� indir% inlen%
6#data%=indir%:end%=indir%+inlen%
@ibh%=�window("info")
Jsbx%=�window("save")
Topt%=�window("main")
^disp%=�window("preview")
h�setuppalette
r�drawnewcol
|�seticon(12):�seticon(5)
�
ș &400DA
�ș&1E,7,,templ%
��
�
00000000  0d 00 0a 10 ee 85 20 f6  3a f1 9e 2f 31 30 3a e0  |...... .:../10:.|
00000010  0d 00 14 1f c8 9b 20 22  3c 53 70 69 72 6f 44 72  |...... "<SpiroDr|
00000020  61 77 24 44 69 72 3e 2e  43 6f 6d 6d 6f 6e 22 0d  |aw$Dir>.Common".|
00000030  00 1e 12 de 20 6d 65 73  73 61 67 65 73 25 20 32  |.... messages% 2|
00000040  30 0d 00 28 4f 21 6d 65  73 73 61 67 65 73 25 3d  |0..(O!messages%=|
00000050  32 3a 6d 65 73 73 61 67  65 73 25 21 34 3d 36 3a  |2:messages%!4=6:|
00000060  6d 65 73 73 61 67 65 73  25 21 38 3d 26 34 30 30  |messages%!8=&400|
00000070  43 30 3a 6d 65 73 73 61  67 65 73 25 21 31 32 3d  |C0:messages%!12=|
00000080  39 3a 6d 65 73 73 61 67  65 73 25 21 31 36 3d 30  |9:messages%!16=0|
00000090  0d 00 32 09 f2 76 61 72  73 0d 00 3c 3b 24 42 25  |..2..vars..<;$B%|
000000a0  3d 22 54 41 53 4b 22 3a  c8 99 20 26 34 30 30 43  |="TASK":.. &400C|
000000b0  30 2c 33 31 30 2c 21 42  25 2c 70 72 6f 67 24 2c  |0,310,!B%,prog$,|
000000c0  6d 65 73 73 61 67 65 73  25 20 b8 20 76 25 2c 74  |messages% . v%,t|
000000d0  61 73 6b 25 0d 00 46 18  ee 20 85 20 e7 20 a4 77  |ask%..F.. . . .w|
000000e0  69 6d 70 65 72 72 6f 72  20 8c 20 e0 0d 00 50 09  |imperror . ...P.|
000000f0  f2 69 63 6f 6e 0d 00 5a  12 f2 6c 6f 61 64 54 65  |.icon..Z..loadTe|
00000100  6d 70 6c 61 74 65 73 0d  00 64 0d f2 64 69 73 70  |mplates..d..disp|
00000110  69 63 6f 6e 0d 00 6e 56  6d 65 6e 75 32 25 3d a4  |icon..nVmenu2%=.|
00000120  64 72 61 77 6d 65 6e 75  28 33 2c 22 53 61 76 65  |drawmenu(3,"Save|
00000130  2c 3c 6d 3e 5b 73 62 78  25 5d 44 72 61 77 46 69  |,<m>[sbx%]DrawFi|
00000140  6c 65 2c 3c 6d 3e 5b 73  62 78 25 5d 53 70 72 69  |le,<m>[sbx%]Spri|
00000150  74 65 2c 3c 6d 3e 5b 73  62 78 25 5d 50 61 72 61  |te,<m>[sbx%]Para|
00000160  6d 65 74 65 72 73 22 2c  a3 29 0d 00 78 54 6d 65  |meters",.)..xTme|
00000170  6e 75 25 3d a4 64 72 61  77 6d 65 6e 75 28 36 2c  |nu%=.drawmenu(6,|
00000180  70 72 6f 67 24 2b 22 2c  5b 69 62 68 25 5d 49 6e  |prog$+",[ibh%]In|
00000190  66 6f 2c 5b 6d 65 6e 75  32 25 5d 3c 73 3e 53 61  |fo,[menu2%]<s>Sa|
000001a0  76 65 2c 3c 73 3e 55 6e  64 6f 2c 43 6c 65 61 72  |ve,<s>Undo,Clear|
000001b0  2c 53 74 6f 70 2c 51 75  69 74 22 2c b9 29 0d 00  |,Stop,Quit",.)..|
000001c0  82 18 ee 20 85 20 e7 20  a4 77 69 6d 70 65 72 72  |... . . .wimperr|
000001d0  6f 72 20 8c 20 e0 0d 00  8c 05 f5 0d 00 96 09 f2  |or . ...........|
000001e0  70 6f 6c 6c 0d 00 a0 0b  fd 20 71 75 69 74 25 0d  |poll..... quit%.|
000001f0  00 aa 0a f2 63 6c 6f 73  65 0d 00 b4 05 e0 0d 00  |....close.......|
00000200  be 05 3a 0d 00 c8 0c dd  a4 6f 75 72 6b 65 79 0d  |..:......ourkey.|
00000210  00 d2 12 e7 20 42 25 21  32 34 3c 3e 31 33 3a 3d  |.... B%!24<>13:=|
00000220  a3 0d 00 dc 1c e7 20 21  42 25 3d 73 62 78 25 20  |...... !B%=sbx% |
00000230  f2 71 75 69 63 6b 73 61  76 65 3a 3d b9 0d 00 e6  |.quicksave:=....|
00000240  1d e7 20 21 42 25 3d 6f  70 74 25 20 f2 64 72 61  |.. !B%=opt% .dra|
00000250  77 73 70 72 69 74 65 3a  3d b9 0d 00 f0 06 3d b9  |wsprite:=.....=.|
00000260  0d 00 fa 04 0d 01 04 13  dd f2 6c 6f 61 64 54 65  |..........loadTe|
00000270  6d 70 6c 61 74 65 73 0d  01 0e 2b c8 99 20 26 34  |mplates...+.. &4|
00000280  30 30 44 39 2c 2c 22 3c  53 70 69 72 6f 44 72 61  |00D9,,"<SpiroDra|
00000290  77 24 44 69 72 3e 2e 54  65 6d 70 6c 61 74 65 73  |w$Dir>.Templates|
000002a0  33 22 0d 01 18 1c 6d 61  78 62 75 66 66 25 3d 31  |3"....maxbuff%=1|
000002b0  31 36 38 3a 69 6e 6c 65  6e 25 3d 37 31 36 0d 01  |168:inlen%=716..|
000002c0  22 1d 74 65 6d 70 6c 25  3d a4 63 6c 61 69 6d 28  |".templ%=.claim(|
000002d0  6d 61 78 62 75 66 66 25  2b 34 29 0d 01 2c 13 de  |maxbuff%+4)..,..|
000002e0  20 69 6e 64 69 72 25 20  69 6e 6c 65 6e 25 0d 01  | indir% inlen%..|
000002f0  36 23 64 61 74 61 25 3d  69 6e 64 69 72 25 3a 65  |6#data%=indir%:e|
00000300  6e 64 25 3d 69 6e 64 69  72 25 2b 69 6e 6c 65 6e  |nd%=indir%+inlen|
00000310  25 0d 01 40 18 69 62 68  25 3d a4 77 69 6e 64 6f  |%..@.ibh%=.windo|
00000320  77 28 22 69 6e 66 6f 22  29 0d 01 4a 18 73 62 78  |w("info")..J.sbx|
00000330  25 3d a4 77 69 6e 64 6f  77 28 22 73 61 76 65 22  |%=.window("save"|
00000340  29 0d 01 54 18 6f 70 74  25 3d a4 77 69 6e 64 6f  |)..T.opt%=.windo|
00000350  77 28 22 6d 61 69 6e 22  29 0d 01 5e 1c 64 69 73  |w("main")..^.dis|
00000360  70 25 3d a4 77 69 6e 64  6f 77 28 22 70 72 65 76  |p%=.window("prev|
00000370  69 65 77 22 29 0d 01 68  11 f2 73 65 74 75 70 70  |iew")..h..setupp|
00000380  61 6c 65 74 74 65 0d 01  72 0f f2 64 72 61 77 6e  |alette..r..drawn|
00000390  65 77 63 6f 6c 0d 01 7c  1c f2 73 65 74 69 63 6f  |ewcol..|..setico|
000003a0  6e 28 31 32 29 3a f2 73  65 74 69 63 6f 6e 28 35  |n(12):.seticon(5|
000003b0  29 0d 01 86 0d c8 99 20  26 34 30 30 44 41 0d 01  |)...... &400DA..|
000003c0  90 13 c8 99 26 31 45 2c  37 2c 2c 74 65 6d 70 6c  |....&1E,7,,templ|
000003d0  25 0d 01 9a 05 e1 0d ff                           |%.......|
000003d8