Home » Personal collection » Acorn tapes » Commercial_Releases » box02_tape07b_acorn_eu_arcade_game_creator.wav » EDITOR

EDITOR

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 » Personal collection » Acorn tapes » Commercial_Releases » box02_tape07b_acorn_eu_arcade_game_creator.wav
Filename: EDITOR
Read OK:
File size: 0D07 bytes
Load address: 2000
Exec address: 1900
Duplicates

There are 4 duplicate copies of this file in the archive:

File contents
   10REM Mode 5 Sprite Editor
   20REM By R.A.Waddilove
   25REM (c) Electron User
   30ON ERROR OSCLI"FX178,255":OSCLI"FX4":REPORT:PRINT " at line ";ERL:OSCLI"FX12,4":END
   40MODE 5
   50PROCinitialise
   60PROCscreen
   70PROCedit
   80END
   90 
  100DEF PROCinitialise
  101*OPT1,0
  110*FX16
  120*FX4,1
  130*FX12,7
  140VDU 19,15,7;0;
  150VDU 23,255,248,136,136,136,248,0,0,0
  160VDU 23,254,0,112,112,112,0,0,0,0
  170VDU 23;8202;0;0;0;
  180ENDPROC
  190 
  200DEF PROCscreen
  210DRAW 0,140:DRAW 1278,140:DRAW 1278,0:DRAW 0,0
  220MOVE 190,712:DRAW 990,712:DRAW 990,180:DRAW 190,180:DRAW 190,712
  230COLOUR 15:PRINT TAB(1,6)"0    1    2    3"TAB(12,30)"PenUp"TAB(1,28)"Sprite:0"TAB(1,30)"Pen:";:COLOUR 1:PRINT;1
  240x%=0:y%=0:S%=0:O%=0:C%=1:P%=0
  250ENDPROC
  260 
  270DEF PROCedit
  280opt$=" @!""#0123SLNPCI,.:/"
  290REPEAT k$=INKEY$9:PROCcursor(0)
  300K%=INSTR(opt$,k$):IF K%>1 THEN ON K%-1 GOSUB 1040,1040,1040,1040,420,420,420,420,690,910,550,600,400,1130,1190,1280,1380,1470
  310K%=ASC k$:IF K%=127 PROCplot(0)
  320IF K%=136 x%=x%+(x%>0) ELSE IF K%=137 x%=x%-(x%<23) ELSE IF K%=139 y%=y%+(y%>0) ELSE IF K%=138 y%=y%-(y%<31)
  330PROCcursor(15):IF P% OR K%=135 PROCplot(C%)
  340UNTIL FALSE
  350ENDPROC
  360 
  370DEF PROCcursor(C%):GCOL0,C%:MOVE200+x%*32,700-y%*16:VDU5,255,4:ENDPROC
  380 
  390REM ***** Colour *****
  400C%=(C%+1)MOD4:COLOUR C%:PRINT TAB(5,30);C%;" ":RETURN
  410 
  420REM ***** New Sprite *****
  430S%=VAL k$:COLOUR 15:PRINT TAB(8,28)k$
  440REM ***** Print Sprite *****
  450O%=S%*1280DIV4:*FX178
  460VDU 26,24,192;184;980;710;16;26
  470FOR x%=0 TO 23
  480FOR y%=0 TO 31
  490Z%=POINT(O%+x%*8,991-y%*4):IF Z% PROCplot(Z%)
  500NEXT
  510NEXT
  520x%=0:y%=0:*FX178,255
  530RETURN
  540 
  550REM ***** New *****
  560FOR I%=1 TO 4:PRINT TAB(S%*5,I%)"   ":NEXT
  570VDU 26,24,192;184;980;710;16;26
  580RETURN
  590 
  600REM ***** Pen *****
  610P%=NOT P%:COLOUR 15
  620PRINT TAB(15,30);:IF P% PRINT"Down" ELSE PRINT"Up  "
  630RETURN
  640 
  650DEF PROCplot(C%):GCOL0,C%:PLOT69,O%+x%*8,991-y%*4:MOVE200+x%*32,700-y%*16:VDU5,254,4:ENDPROC
  680 
  690REM ***** Save *****
  700A%=&5940+S%*80
  710x%=0:y%=0
  720GCOL 3,15
  730REPEAT
  740MOVE 200,700-(y%+1)*16:DRAW 200+(x%+1)*32,700-(y%+1)*16:DRAW 200+(x%+1)*32,700
  750K%=GET:*FX21
  760MOVE 200,700-(y%+1)*16:DRAW 200+(x%+1)*32,700-(y%+1)*16:DRAW 200+(x%+1)*32,700
  770x%=x%+(K%=136 AND x%>0)-(K%=137 AND x%<23):y%=y%+(K%=139 AND y%>0)-(K%=138 AND y%<31)
  780UNTIL K%=13 AND x%>0 AND y%>0
  790IF x% x%=x% DIV4
  800B%=&B02:?&B00=x%+1:?&B01=y%+1
  810FOR X%=0 TO x%
  820FOR Y%=0 TO y%
  830?B%=?(A%+X%*8+&140*(Y%DIV8)+Y%MOD8)
  840B%=B%+1
  850NEXT
  860NEXT
  870PROCinput("Save:"):IF name$="" THEN RETURN
  880OSCLI"SAVE "+name$+" B00 +"+STR$~(B%-&B00)
  890RETURN
  900 
  910REM ***** Load *****
  920A%=&5940+S%*80
  930PROCinput("Load:"):IF name$="" THEN RETURN
  940OSCLI"LOAD "+name$+" B00"
  950B%=&B02
  960FOR X%=0 TO ?&B00-1
  970FOR Y%=0 TO ?&B01-1
  980?(A%+X%*8+&140*(Y%DIV8)+Y%MOD8)=?B%
  990B%=B%+1
 1000NEXT
 1010NEXT
 1020GOTO 440
 1030 
 1040REM ***** Copy *****
 1050A%=&5940+S%*80:B%=&5940+(K%-2)*80
 1060FOR Y%=0 TO 3
 1070FOR X%=0 TO 44 STEP 4
 1080!(B%+X%+Y%*&140)=!(A%+X%+Y%*&140)
 1090NEXT
 1100NEXT
 1110RETURN
 1120 
 1130REM ***** VDU 19 *****
 1140PROCinput("Pen:"):A%=VAL name$
 1150PROCinput("New ink:"):B%=VAL name$
 1160VDU 19,A%,B%;0;
 1170RETURN
 1180 
 1190REM ***** Left Scroll *****
 1200*FX178,0,0
 1210FOR X%=1 TO 24
 1220FOR Y%=0 TO 31
 1230GCOL 0,POINT(X%*8+O%,991-Y%*4):PLOT 65,-8,0
 1240NEXT
 1250NEXT
 1260GOTO 440
 1270 
 1280REM ***** Right Scroll *****
 1290*FX178,0,0
 1300FOR X%=22 TO 0 STEP -1
 1310FOR Y%=0 TO 31
 1320GCOL 0,POINT(X%*8+O%,991-Y%*4):PLOT 65,8,0
 1330NEXT
 1340NEXT
 1350GCOL0,0:MOVE O%,991:DRAW O%,991-31*4
 1360GOTO 440
 1370 
 1380REM ***** Up Scroll *****
 1390*FX178
 1400FOR Y%=1 TO 32
 1410FOR X%=0 TO 23
 1420GCOL 0,POINT(X%*8+O%,991-Y%*4):PLOT 65,0,4
 1430NEXT
 1440NEXT
 1450GOTO 440
 1460 
 1470REM ***** Down Scroll *****
 1480*FX178
 1490FOR Y%=30 TO -1 STEP -1
 1500FOR X%=0 TO 23
 1510GCOL 0,POINT(X%*8+O%,991-Y%*4):PLOT 65,0,-4
 1520NEXT
 1530NEXT
 1540GOTO 440
 1550 
 1560DEF PROCinput(prompt$)
 1570VDU23,1,1;0;0;0;
 1580COLOUR143:COLOUR0:PRINTTAB(0,8)SPC19;CHR$13;prompt$;:INPUT""name$
 1590VDU 23;8202;0;0;0;
 1600COLOUR128:COLOUR15:PRINTTAB(0,8)SPC20
 1610ENDPROC

� Mode 5 Sprite Editor
� By R.A.Waddilove
� (c) Electron User
9� � �"FX178,255":�"FX4":�:� " at line ";�:�"FX12,4":�
(� 5
2�initialise
<�screen
F	�edit
P�
Z 
d� �initialise
e*OPT1,0
n	*FX16
x
*FX4,1
�*FX12,7
�� 19,15,7;0;
�&� 23,255,248,136,136,136,248,0,0,0
�"� 23,254,0,112,112,112,0,0,0,0
�� 23;8202;0;0;0;
��
� 
�
� �screen
�%� 0,140:� 1278,140:� 1278,0:� 0,0
�5� 190,712:� 990,712:� 990,180:� 190,180:� 190,712
�U� 15:� �1,6)"0    1    2    3"�12,30)"PenUp"�1,28)"Sprite:0"�1,30)"Pen:";:� 1:�;1
�!x%=0:y%=0:S%=0:O%=0:C%=1:P%=0
��
 
� �edit
opt$=" @!""#0123SLNPCI,.:/"
"� k$=�9:�cursor(0)
,|K%=�opt$,k$):� K%>1 � � K%-1 � �TPD,�TPD,�TPD,�TPD,�tdA,�tdA,�tdA,�tdA,�trB,�tNC,�TfB,�DXB,�tPA,�DjD,�tfD,�T@E,�DdE,�t~E
6K%=� k$:� K%=127 �plot(0)
@c� K%=136 x%=x%+(x%>0) � � K%=137 x%=x%-(x%<23) � � K%=139 y%=y%+(y%>0) � � K%=138 y%=y%-(y%<31)
J'�cursor(15):� P% � K%=135 �plot(C%)
T� �
^�
h 
r7� �cursor(C%):�0,C%:�200+x%*32,700-y%*16:�5,255,4:�
| 
�� ***** Colour *****
�&C%=(C%+1)�4:� C%:� �5,30);C%;" ":�
� 
�� ***** New Sprite *****
�S%=� k$:� 15:� �8,28)k$
�� ***** Print Sprite *****
�O%=S%*1280�4:*FX178
�!� 26,24,192;184;980;710;16;26
�� x%=0 � 23
�� y%=0 � 31
�(Z%=�O%+x%*8,991-y%*4):� Z% �plot(Z%)
��
��
x%=0:y%=0:*FX178,255
�
 
&� ***** New *****
0!� I%=1 � 4:� �S%*5,I%)"   ":�
:!� 26,24,192;184;980;710;16;26
D�
N 
X� ***** Pen *****
bP%=� P%:� 15
l%� �15,30);:� P% �"Down" � �"Up  "
v�
� 
�J� �plot(C%):�0,C%:�69,O%+x%*8,991-y%*4:�200+x%*32,700-y%*16:�5,254,4:�
� 
�� ***** Save *****
�A%=&5940+S%*80
�
x%=0:y%=0
�
� 3,15
��
�I� 200,700-(y%+1)*16:� 200+(x%+1)*32,700-(y%+1)*16:� 200+(x%+1)*32,700
�K%=�:*FX21
�I� 200,700-(y%+1)*16:� 200+(x%+1)*32,700-(y%+1)*16:� 200+(x%+1)*32,700
Qx%=x%+(K%=136 � x%>0)-(K%=137 � x%<23):y%=y%+(K%=139 � y%>0)-(K%=138 � y%<31)
� K%=13 � x%>0 � y%>0
� x% x%=x% �4
 !B%=&B02:?&B00=x%+1:?&B01=y%+1
*� X%=0 � x%
4� Y%=0 � y%
>#?B%=?(A%+X%*8+&140*(Y%�8)+Y%�8)
HB%=B%+1
R�
\�
f"�input("Save:"):� name$="" � �
p'�"SAVE "+name$+" B00 +"+�~(B%-&B00)
z�
� 
�� ***** Load *****
�A%=&5940+S%*80
�"�input("Load:"):� name$="" � �
��"LOAD "+name$+" B00"
�B%=&B02
�� X%=0 � ?&B00-1
�� Y%=0 � ?&B01-1
�#?(A%+X%*8+&140*(Y%�8)+Y%�8)=?B%
�B%=B%+1
��
��
�
� �txA
 
� ***** Copy *****
%A%=&5940+S%*80:B%=&5940+(K%-2)*80
$� Y%=0 � 3
.� X%=0 � 44 � 4
8%!(B%+X%+Y%*&140)=!(A%+X%+Y%*&140)
B�
L�
V�
` 
j� ***** VDU 19 *****
t�input("Pen:"):A%=� name$
~!�input("New ink:"):B%=� name$
�� 19,A%,B%;0;
��
� 
�� ***** Left Scroll *****
�*FX178,0,0
�� X%=1 � 24
�� Y%=0 � 31
�$� 0,�X%*8+O%,991-Y%*4):� 65,-8,0
��
��
�
� �txA
� 
� ***** Right Scroll *****

*FX178,0,0
� X%=22 � 0 � -1
� Y%=0 � 31
(#� 0,�X%*8+O%,991-Y%*4):� 65,8,0
2�
<�
F�0,0:� O%,991:� O%,991-31*4
P
� �txA
Z 
d� ***** Up Scroll *****
n
*FX178
x� Y%=1 � 32
�� X%=0 � 23
�#� 0,�X%*8+O%,991-Y%*4):� 65,0,4
��
��
�
� �txA
� 
�� ***** Down Scroll *****
�
*FX178
�� Y%=30 � -1 � -1
�� X%=0 � 23
�$� 0,�X%*8+O%,991-Y%*4):� 65,0,-4
��
��

� �txA
 
� �input(prompt$)
"�23,1,1;0;0;0;
,+�143:�0:�0,8)�19;�13;prompt$;:�""name$
6� 23;8202;0;0;0;
@�128:�15:�0,8)�20
J�
�
00000000  0d 00 0a 1a f4 20 4d 6f  64 65 20 35 20 53 70 72  |..... Mode 5 Spr|
00000010  69 74 65 20 45 64 69 74  6f 72 0d 00 14 16 f4 20  |ite Editor..... |
00000020  42 79 20 52 2e 41 2e 57  61 64 64 69 6c 6f 76 65  |By R.A.Waddilove|
00000030  0d 00 19 17 f4 20 28 63  29 20 45 6c 65 63 74 72  |..... (c) Electr|
00000040  6f 6e 20 55 73 65 72 0d  00 1e 39 ee 20 85 20 ff  |on User...9. . .|
00000050  22 46 58 31 37 38 2c 32  35 35 22 3a ff 22 46 58  |"FX178,255":."FX|
00000060  34 22 3a f6 3a f1 20 22  20 61 74 20 6c 69 6e 65  |4":.:. " at line|
00000070  20 22 3b 9e 3a ff 22 46  58 31 32 2c 34 22 3a e0  | ";.:."FX12,4":.|
00000080  0d 00 28 07 eb 20 35 0d  00 32 0f f2 69 6e 69 74  |..(.. 5..2..init|
00000090  69 61 6c 69 73 65 0d 00  3c 0b f2 73 63 72 65 65  |ialise..<..scree|
000000a0  6e 0d 00 46 09 f2 65 64  69 74 0d 00 50 05 e0 0d  |n..F..edit..P...|
000000b0  00 5a 05 20 0d 00 64 11  dd 20 f2 69 6e 69 74 69  |.Z. ..d.. .initi|
000000c0  61 6c 69 73 65 0d 00 65  0b 2a 4f 50 54 31 2c 30  |alise..e.*OPT1,0|
000000d0  0d 00 6e 09 2a 46 58 31  36 0d 00 78 0a 2a 46 58  |..n.*FX16..x.*FX|
000000e0  34 2c 31 0d 00 82 0b 2a  46 58 31 32 2c 37 0d 00  |4,1....*FX12,7..|
000000f0  8c 10 ef 20 31 39 2c 31  35 2c 37 3b 30 3b 0d 00  |... 19,15,7;0;..|
00000100  96 26 ef 20 32 33 2c 32  35 35 2c 32 34 38 2c 31  |.&. 23,255,248,1|
00000110  33 36 2c 31 33 36 2c 31  33 36 2c 32 34 38 2c 30  |36,136,136,248,0|
00000120  2c 30 2c 30 0d 00 a0 22  ef 20 32 33 2c 32 35 34  |,0,0...". 23,254|
00000130  2c 30 2c 31 31 32 2c 31  31 32 2c 31 31 32 2c 30  |,0,112,112,112,0|
00000140  2c 30 2c 30 2c 30 0d 00  aa 14 ef 20 32 33 3b 38  |,0,0,0..... 23;8|
00000150  32 30 32 3b 30 3b 30 3b  30 3b 0d 00 b4 05 e1 0d  |202;0;0;0;......|
00000160  00 be 05 20 0d 00 c8 0d  dd 20 f2 73 63 72 65 65  |... ..... .scree|
00000170  6e 0d 00 d2 25 df 20 30  2c 31 34 30 3a df 20 31  |n...%. 0,140:. 1|
00000180  32 37 38 2c 31 34 30 3a  df 20 31 32 37 38 2c 30  |278,140:. 1278,0|
00000190  3a df 20 30 2c 30 0d 00  dc 35 ec 20 31 39 30 2c  |:. 0,0...5. 190,|
000001a0  37 31 32 3a df 20 39 39  30 2c 37 31 32 3a df 20  |712:. 990,712:. |
000001b0  39 39 30 2c 31 38 30 3a  df 20 31 39 30 2c 31 38  |990,180:. 190,18|
000001c0  30 3a df 20 31 39 30 2c  37 31 32 0d 00 e6 55 fb  |0:. 190,712...U.|
000001d0  20 31 35 3a f1 20 8a 31  2c 36 29 22 30 20 20 20  | 15:. .1,6)"0   |
000001e0  20 31 20 20 20 20 32 20  20 20 20 33 22 8a 31 32  | 1    2    3".12|
000001f0  2c 33 30 29 22 50 65 6e  55 70 22 8a 31 2c 32 38  |,30)"PenUp".1,28|
00000200  29 22 53 70 72 69 74 65  3a 30 22 8a 31 2c 33 30  |)"Sprite:0".1,30|
00000210  29 22 50 65 6e 3a 22 3b  3a fb 20 31 3a f1 3b 31  |)"Pen:";:. 1:.;1|
00000220  0d 00 f0 21 78 25 3d 30  3a 79 25 3d 30 3a 53 25  |...!x%=0:y%=0:S%|
00000230  3d 30 3a 4f 25 3d 30 3a  43 25 3d 31 3a 50 25 3d  |=0:O%=0:C%=1:P%=|
00000240  30 0d 00 fa 05 e1 0d 01  04 05 20 0d 01 0e 0b dd  |0......... .....|
00000250  20 f2 65 64 69 74 0d 01  18 1f 6f 70 74 24 3d 22  | .edit....opt$="|
00000260  20 40 21 22 22 23 30 31  32 33 53 4c 4e 50 43 49  | @!""#0123SLNPCI|
00000270  2c 2e 3a 2f 22 0d 01 22  16 f5 20 6b 24 3d bf 39  |,.:/"..".. k$=.9|
00000280  3a f2 63 75 72 73 6f 72  28 30 29 0d 01 2c 7c 4b  |:.cursor(0)..,|K|
00000290  25 3d a7 6f 70 74 24 2c  6b 24 29 3a e7 20 4b 25  |%=.opt$,k$):. K%|
000002a0  3e 31 20 8c 20 ee 20 4b  25 2d 31 20 e4 20 8d 54  |>1 . . K%-1 . .T|
000002b0  50 44 2c 8d 54 50 44 2c  8d 54 50 44 2c 8d 54 50  |PD,.TPD,.TPD,.TP|
000002c0  44 2c 8d 74 64 41 2c 8d  74 64 41 2c 8d 74 64 41  |D,.tdA,.tdA,.tdA|
000002d0  2c 8d 74 64 41 2c 8d 74  72 42 2c 8d 74 4e 43 2c  |,.tdA,.trB,.tNC,|
000002e0  8d 54 66 42 2c 8d 44 58  42 2c 8d 74 50 41 2c 8d  |.TfB,.DXB,.tPA,.|
000002f0  44 6a 44 2c 8d 74 66 44  2c 8d 54 40 45 2c 8d 44  |DjD,.tfD,.T@E,.D|
00000300  64 45 2c 8d 74 7e 45 0d  01 36 1d 4b 25 3d 97 20  |dE,.t~E..6.K%=. |
00000310  6b 24 3a e7 20 4b 25 3d  31 32 37 20 f2 70 6c 6f  |k$:. K%=127 .plo|
00000320  74 28 30 29 0d 01 40 63  e7 20 4b 25 3d 31 33 36  |t(0)..@c. K%=136|
00000330  20 78 25 3d 78 25 2b 28  78 25 3e 30 29 20 8b 20  | x%=x%+(x%>0) . |
00000340  e7 20 4b 25 3d 31 33 37  20 78 25 3d 78 25 2d 28  |. K%=137 x%=x%-(|
00000350  78 25 3c 32 33 29 20 8b  20 e7 20 4b 25 3d 31 33  |x%<23) . . K%=13|
00000360  39 20 79 25 3d 79 25 2b  28 79 25 3e 30 29 20 8b  |9 y%=y%+(y%>0) .|
00000370  20 e7 20 4b 25 3d 31 33  38 20 79 25 3d 79 25 2d  | . K%=138 y%=y%-|
00000380  28 79 25 3c 33 31 29 0d  01 4a 27 f2 63 75 72 73  |(y%<31)..J'.curs|
00000390  6f 72 28 31 35 29 3a e7  20 50 25 20 84 20 4b 25  |or(15):. P% . K%|
000003a0  3d 31 33 35 20 f2 70 6c  6f 74 28 43 25 29 0d 01  |=135 .plot(C%)..|
000003b0  54 07 fd 20 a3 0d 01 5e  05 e1 0d 01 68 05 20 0d  |T.. ...^....h. .|
000003c0  01 72 37 dd 20 f2 63 75  72 73 6f 72 28 43 25 29  |.r7. .cursor(C%)|
000003d0  3a e6 30 2c 43 25 3a ec  32 30 30 2b 78 25 2a 33  |:.0,C%:.200+x%*3|
000003e0  32 2c 37 30 30 2d 79 25  2a 31 36 3a ef 35 2c 32  |2,700-y%*16:.5,2|
000003f0  35 35 2c 34 3a e1 0d 01  7c 05 20 0d 01 86 18 f4  |55,4:...|. .....|
00000400  20 2a 2a 2a 2a 2a 20 43  6f 6c 6f 75 72 20 2a 2a  | ***** Colour **|
00000410  2a 2a 2a 0d 01 90 26 43  25 3d 28 43 25 2b 31 29  |***...&C%=(C%+1)|
00000420  83 34 3a fb 20 43 25 3a  f1 20 8a 35 2c 33 30 29  |.4:. C%:. .5,30)|
00000430  3b 43 25 3b 22 20 22 3a  f8 0d 01 9a 05 20 0d 01  |;C%;" ":..... ..|
00000440  a4 1c f4 20 2a 2a 2a 2a  2a 20 4e 65 77 20 53 70  |... ***** New Sp|
00000450  72 69 74 65 20 2a 2a 2a  2a 2a 0d 01 ae 1b 53 25  |rite *****....S%|
00000460  3d bb 20 6b 24 3a fb 20  31 35 3a f1 20 8a 38 2c  |=. k$:. 15:. .8,|
00000470  32 38 29 6b 24 0d 01 b8  1e f4 20 2a 2a 2a 2a 2a  |28)k$..... *****|
00000480  20 50 72 69 6e 74 20 53  70 72 69 74 65 20 2a 2a  | Print Sprite **|
00000490  2a 2a 2a 0d 01 c2 17 4f  25 3d 53 25 2a 31 32 38  |***....O%=S%*128|
000004a0  30 81 34 3a 2a 46 58 31  37 38 0d 01 cc 21 ef 20  |0.4:*FX178...!. |
000004b0  32 36 2c 32 34 2c 31 39  32 3b 31 38 34 3b 39 38  |26,24,192;184;98|
000004c0  30 3b 37 31 30 3b 31 36  3b 32 36 0d 01 d6 0f e3  |0;710;16;26.....|
000004d0  20 78 25 3d 30 20 b8 20  32 33 0d 01 e0 0f e3 20  | x%=0 . 23..... |
000004e0  79 25 3d 30 20 b8 20 33  31 0d 01 ea 28 5a 25 3d  |y%=0 . 31...(Z%=|
000004f0  b0 4f 25 2b 78 25 2a 38  2c 39 39 31 2d 79 25 2a  |.O%+x%*8,991-y%*|
00000500  34 29 3a e7 20 5a 25 20  f2 70 6c 6f 74 28 5a 25  |4):. Z% .plot(Z%|
00000510  29 0d 01 f4 05 ed 0d 01  fe 05 ed 0d 02 08 18 78  |)..............x|
00000520  25 3d 30 3a 79 25 3d 30  3a 2a 46 58 31 37 38 2c  |%=0:y%=0:*FX178,|
00000530  32 35 35 0d 02 12 05 f8  0d 02 1c 05 20 0d 02 26  |255......... ..&|
00000540  15 f4 20 2a 2a 2a 2a 2a  20 4e 65 77 20 2a 2a 2a  |.. ***** New ***|
00000550  2a 2a 0d 02 30 21 e3 20  49 25 3d 31 20 b8 20 34  |**..0!. I%=1 . 4|
00000560  3a f1 20 8a 53 25 2a 35  2c 49 25 29 22 20 20 20  |:. .S%*5,I%)"   |
00000570  22 3a ed 0d 02 3a 21 ef  20 32 36 2c 32 34 2c 31  |":...:!. 26,24,1|
00000580  39 32 3b 31 38 34 3b 39  38 30 3b 37 31 30 3b 31  |92;184;980;710;1|
00000590  36 3b 32 36 0d 02 44 05  f8 0d 02 4e 05 20 0d 02  |6;26..D....N. ..|
000005a0  58 15 f4 20 2a 2a 2a 2a  2a 20 50 65 6e 20 2a 2a  |X.. ***** Pen **|
000005b0  2a 2a 2a 0d 02 62 10 50  25 3d ac 20 50 25 3a fb  |***..b.P%=. P%:.|
000005c0  20 31 35 0d 02 6c 25 f1  20 8a 31 35 2c 33 30 29  | 15..l%. .15,30)|
000005d0  3b 3a e7 20 50 25 20 f1  22 44 6f 77 6e 22 20 8b  |;:. P% ."Down" .|
000005e0  20 f1 22 55 70 20 20 22  0d 02 76 05 f8 0d 02 80  | ."Up  "..v.....|
000005f0  05 20 0d 02 8a 4a dd 20  f2 70 6c 6f 74 28 43 25  |. ...J. .plot(C%|
00000600  29 3a e6 30 2c 43 25 3a  f0 36 39 2c 4f 25 2b 78  |):.0,C%:.69,O%+x|
00000610  25 2a 38 2c 39 39 31 2d  79 25 2a 34 3a ec 32 30  |%*8,991-y%*4:.20|
00000620  30 2b 78 25 2a 33 32 2c  37 30 30 2d 79 25 2a 31  |0+x%*32,700-y%*1|
00000630  36 3a ef 35 2c 32 35 34  2c 34 3a e1 0d 02 a8 05  |6:.5,254,4:.....|
00000640  20 0d 02 b2 16 f4 20 2a  2a 2a 2a 2a 20 53 61 76  | ..... ***** Sav|
00000650  65 20 2a 2a 2a 2a 2a 0d  02 bc 12 41 25 3d 26 35  |e *****....A%=&5|
00000660  39 34 30 2b 53 25 2a 38  30 0d 02 c6 0d 78 25 3d  |940+S%*80....x%=|
00000670  30 3a 79 25 3d 30 0d 02  d0 0a e6 20 33 2c 31 35  |0:y%=0..... 3,15|
00000680  0d 02 da 05 f5 0d 02 e4  49 ec 20 32 30 30 2c 37  |........I. 200,7|
00000690  30 30 2d 28 79 25 2b 31  29 2a 31 36 3a df 20 32  |00-(y%+1)*16:. 2|
000006a0  30 30 2b 28 78 25 2b 31  29 2a 33 32 2c 37 30 30  |00+(x%+1)*32,700|
000006b0  2d 28 79 25 2b 31 29 2a  31 36 3a df 20 32 30 30  |-(y%+1)*16:. 200|
000006c0  2b 28 78 25 2b 31 29 2a  33 32 2c 37 30 30 0d 02  |+(x%+1)*32,700..|
000006d0  ee 0e 4b 25 3d a5 3a 2a  46 58 32 31 0d 02 f8 49  |..K%=.:*FX21...I|
000006e0  ec 20 32 30 30 2c 37 30  30 2d 28 79 25 2b 31 29  |. 200,700-(y%+1)|
000006f0  2a 31 36 3a df 20 32 30  30 2b 28 78 25 2b 31 29  |*16:. 200+(x%+1)|
00000700  2a 33 32 2c 37 30 30 2d  28 79 25 2b 31 29 2a 31  |*32,700-(y%+1)*1|
00000710  36 3a df 20 32 30 30 2b  28 78 25 2b 31 29 2a 33  |6:. 200+(x%+1)*3|
00000720  32 2c 37 30 30 0d 03 02  51 78 25 3d 78 25 2b 28  |2,700...Qx%=x%+(|
00000730  4b 25 3d 31 33 36 20 80  20 78 25 3e 30 29 2d 28  |K%=136 . x%>0)-(|
00000740  4b 25 3d 31 33 37 20 80  20 78 25 3c 32 33 29 3a  |K%=137 . x%<23):|
00000750  79 25 3d 79 25 2b 28 4b  25 3d 31 33 39 20 80 20  |y%=y%+(K%=139 . |
00000760  79 25 3e 30 29 2d 28 4b  25 3d 31 33 38 20 80 20  |y%>0)-(K%=138 . |
00000770  79 25 3c 33 31 29 0d 03  0c 19 fd 20 4b 25 3d 31  |y%<31)..... K%=1|
00000780  33 20 80 20 78 25 3e 30  20 80 20 79 25 3e 30 0d  |3 . x%>0 . y%>0.|
00000790  03 16 11 e7 20 78 25 20  78 25 3d 78 25 20 81 34  |.... x% x%=x% .4|
000007a0  0d 03 20 21 42 25 3d 26  42 30 32 3a 3f 26 42 30  |.. !B%=&B02:?&B0|
000007b0  30 3d 78 25 2b 31 3a 3f  26 42 30 31 3d 79 25 2b  |0=x%+1:?&B01=y%+|
000007c0  31 0d 03 2a 0f e3 20 58  25 3d 30 20 b8 20 78 25  |1..*.. X%=0 . x%|
000007d0  0d 03 34 0f e3 20 59 25  3d 30 20 b8 20 79 25 0d  |..4.. Y%=0 . y%.|
000007e0  03 3e 23 3f 42 25 3d 3f  28 41 25 2b 58 25 2a 38  |.>#?B%=?(A%+X%*8|
000007f0  2b 26 31 34 30 2a 28 59  25 81 38 29 2b 59 25 83  |+&140*(Y%.8)+Y%.|
00000800  38 29 0d 03 48 0b 42 25  3d 42 25 2b 31 0d 03 52  |8)..H.B%=B%+1..R|
00000810  05 ed 0d 03 5c 05 ed 0d  03 66 22 f2 69 6e 70 75  |....\....f".inpu|
00000820  74 28 22 53 61 76 65 3a  22 29 3a e7 20 6e 61 6d  |t("Save:"):. nam|
00000830  65 24 3d 22 22 20 8c 20  f8 0d 03 70 27 ff 22 53  |e$="" . ...p'."S|
00000840  41 56 45 20 22 2b 6e 61  6d 65 24 2b 22 20 42 30  |AVE "+name$+" B0|
00000850  30 20 2b 22 2b c3 7e 28  42 25 2d 26 42 30 30 29  |0 +"+.~(B%-&B00)|
00000860  0d 03 7a 05 f8 0d 03 84  05 20 0d 03 8e 16 f4 20  |..z...... ..... |
00000870  2a 2a 2a 2a 2a 20 4c 6f  61 64 20 2a 2a 2a 2a 2a  |***** Load *****|
00000880  0d 03 98 12 41 25 3d 26  35 39 34 30 2b 53 25 2a  |....A%=&5940+S%*|
00000890  38 30 0d 03 a2 22 f2 69  6e 70 75 74 28 22 4c 6f  |80...".input("Lo|
000008a0  61 64 3a 22 29 3a e7 20  6e 61 6d 65 24 3d 22 22  |ad:"):. name$=""|
000008b0  20 8c 20 f8 0d 03 ac 19  ff 22 4c 4f 41 44 20 22  | . ......"LOAD "|
000008c0  2b 6e 61 6d 65 24 2b 22  20 42 30 30 22 0d 03 b6  |+name$+" B00"...|
000008d0  0b 42 25 3d 26 42 30 32  0d 03 c0 14 e3 20 58 25  |.B%=&B02..... X%|
000008e0  3d 30 20 b8 20 3f 26 42  30 30 2d 31 0d 03 ca 14  |=0 . ?&B00-1....|
000008f0  e3 20 59 25 3d 30 20 b8  20 3f 26 42 30 31 2d 31  |. Y%=0 . ?&B01-1|
00000900  0d 03 d4 23 3f 28 41 25  2b 58 25 2a 38 2b 26 31  |...#?(A%+X%*8+&1|
00000910  34 30 2a 28 59 25 81 38  29 2b 59 25 83 38 29 3d  |40*(Y%.8)+Y%.8)=|
00000920  3f 42 25 0d 03 de 0b 42  25 3d 42 25 2b 31 0d 03  |?B%....B%=B%+1..|
00000930  e8 05 ed 0d 03 f2 05 ed  0d 03 fc 0a e5 20 8d 74  |............. .t|
00000940  78 41 0d 04 06 05 20 0d  04 10 16 f4 20 2a 2a 2a  |xA.... ..... ***|
00000950  2a 2a 20 43 6f 70 79 20  2a 2a 2a 2a 2a 0d 04 1a  |** Copy *****...|
00000960  25 41 25 3d 26 35 39 34  30 2b 53 25 2a 38 30 3a  |%A%=&5940+S%*80:|
00000970  42 25 3d 26 35 39 34 30  2b 28 4b 25 2d 32 29 2a  |B%=&5940+(K%-2)*|
00000980  38 30 0d 04 24 0e e3 20  59 25 3d 30 20 b8 20 33  |80..$.. Y%=0 . 3|
00000990  0d 04 2e 13 e3 20 58 25  3d 30 20 b8 20 34 34 20  |..... X%=0 . 44 |
000009a0  88 20 34 0d 04 38 25 21  28 42 25 2b 58 25 2b 59  |. 4..8%!(B%+X%+Y|
000009b0  25 2a 26 31 34 30 29 3d  21 28 41 25 2b 58 25 2b  |%*&140)=!(A%+X%+|
000009c0  59 25 2a 26 31 34 30 29  0d 04 42 05 ed 0d 04 4c  |Y%*&140)..B....L|
000009d0  05 ed 0d 04 56 05 f8 0d  04 60 05 20 0d 04 6a 18  |....V....`. ..j.|
000009e0  f4 20 2a 2a 2a 2a 2a 20  56 44 55 20 31 39 20 2a  |. ***** VDU 19 *|
000009f0  2a 2a 2a 2a 0d 04 74 1d  f2 69 6e 70 75 74 28 22  |****..t..input("|
00000a00  50 65 6e 3a 22 29 3a 41  25 3d bb 20 6e 61 6d 65  |Pen:"):A%=. name|
00000a10  24 0d 04 7e 21 f2 69 6e  70 75 74 28 22 4e 65 77  |$..~!.input("New|
00000a20  20 69 6e 6b 3a 22 29 3a  42 25 3d bb 20 6e 61 6d  | ink:"):B%=. nam|
00000a30  65 24 0d 04 88 11 ef 20  31 39 2c 41 25 2c 42 25  |e$..... 19,A%,B%|
00000a40  3b 30 3b 0d 04 92 05 f8  0d 04 9c 05 20 0d 04 a6  |;0;......... ...|
00000a50  1d f4 20 2a 2a 2a 2a 2a  20 4c 65 66 74 20 53 63  |.. ***** Left Sc|
00000a60  72 6f 6c 6c 20 2a 2a 2a  2a 2a 0d 04 b0 0e 2a 46  |roll *****....*F|
00000a70  58 31 37 38 2c 30 2c 30  0d 04 ba 0f e3 20 58 25  |X178,0,0..... X%|
00000a80  3d 31 20 b8 20 32 34 0d  04 c4 0f e3 20 59 25 3d  |=1 . 24..... Y%=|
00000a90  30 20 b8 20 33 31 0d 04  ce 24 e6 20 30 2c b0 58  |0 . 31...$. 0,.X|
00000aa0  25 2a 38 2b 4f 25 2c 39  39 31 2d 59 25 2a 34 29  |%*8+O%,991-Y%*4)|
00000ab0  3a f0 20 36 35 2c 2d 38  2c 30 0d 04 d8 05 ed 0d  |:. 65,-8,0......|
00000ac0  04 e2 05 ed 0d 04 ec 0a  e5 20 8d 74 78 41 0d 04  |......... .txA..|
00000ad0  f6 05 20 0d 05 00 1e f4  20 2a 2a 2a 2a 2a 20 52  |.. ..... ***** R|
00000ae0  69 67 68 74 20 53 63 72  6f 6c 6c 20 2a 2a 2a 2a  |ight Scroll ****|
00000af0  2a 0d 05 0a 0e 2a 46 58  31 37 38 2c 30 2c 30 0d  |*....*FX178,0,0.|
00000b00  05 14 14 e3 20 58 25 3d  32 32 20 b8 20 30 20 88  |.... X%=22 . 0 .|
00000b10  20 2d 31 0d 05 1e 0f e3  20 59 25 3d 30 20 b8 20  | -1..... Y%=0 . |
00000b20  33 31 0d 05 28 23 e6 20  30 2c b0 58 25 2a 38 2b  |31..(#. 0,.X%*8+|
00000b30  4f 25 2c 39 39 31 2d 59  25 2a 34 29 3a f0 20 36  |O%,991-Y%*4):. 6|
00000b40  35 2c 38 2c 30 0d 05 32  05 ed 0d 05 3c 05 ed 0d  |5,8,0..2....<...|
00000b50  05 46 1f e6 30 2c 30 3a  ec 20 4f 25 2c 39 39 31  |.F..0,0:. O%,991|
00000b60  3a df 20 4f 25 2c 39 39  31 2d 33 31 2a 34 0d 05  |:. O%,991-31*4..|
00000b70  50 0a e5 20 8d 74 78 41  0d 05 5a 05 20 0d 05 64  |P.. .txA..Z. ..d|
00000b80  1b f4 20 2a 2a 2a 2a 2a  20 55 70 20 53 63 72 6f  |.. ***** Up Scro|
00000b90  6c 6c 20 2a 2a 2a 2a 2a  0d 05 6e 0a 2a 46 58 31  |ll *****..n.*FX1|
00000ba0  37 38 0d 05 78 0f e3 20  59 25 3d 31 20 b8 20 33  |78..x.. Y%=1 . 3|
00000bb0  32 0d 05 82 0f e3 20 58  25 3d 30 20 b8 20 32 33  |2..... X%=0 . 23|
00000bc0  0d 05 8c 23 e6 20 30 2c  b0 58 25 2a 38 2b 4f 25  |...#. 0,.X%*8+O%|
00000bd0  2c 39 39 31 2d 59 25 2a  34 29 3a f0 20 36 35 2c  |,991-Y%*4):. 65,|
00000be0  30 2c 34 0d 05 96 05 ed  0d 05 a0 05 ed 0d 05 aa  |0,4.............|
00000bf0  0a e5 20 8d 74 78 41 0d  05 b4 05 20 0d 05 be 1d  |.. .txA.... ....|
00000c00  f4 20 2a 2a 2a 2a 2a 20  44 6f 77 6e 20 53 63 72  |. ***** Down Scr|
00000c10  6f 6c 6c 20 2a 2a 2a 2a  2a 0d 05 c8 0a 2a 46 58  |oll *****....*FX|
00000c20  31 37 38 0d 05 d2 15 e3  20 59 25 3d 33 30 20 b8  |178..... Y%=30 .|
00000c30  20 2d 31 20 88 20 2d 31  0d 05 dc 0f e3 20 58 25  | -1 . -1..... X%|
00000c40  3d 30 20 b8 20 32 33 0d  05 e6 24 e6 20 30 2c b0  |=0 . 23...$. 0,.|
00000c50  58 25 2a 38 2b 4f 25 2c  39 39 31 2d 59 25 2a 34  |X%*8+O%,991-Y%*4|
00000c60  29 3a f0 20 36 35 2c 30  2c 2d 34 0d 05 f0 05 ed  |):. 65,0,-4.....|
00000c70  0d 05 fa 05 ed 0d 06 04  0a e5 20 8d 74 78 41 0d  |.......... .txA.|
00000c80  06 0e 05 20 0d 06 18 15  dd 20 f2 69 6e 70 75 74  |... ..... .input|
00000c90  28 70 72 6f 6d 70 74 24  29 0d 06 22 12 ef 32 33  |(prompt$).."..23|
00000ca0  2c 31 2c 31 3b 30 3b 30  3b 30 3b 0d 06 2c 2b fb  |,1,1;0;0;0;..,+.|
00000cb0  31 34 33 3a fb 30 3a f1  8a 30 2c 38 29 89 31 39  |143:.0:..0,8).19|
00000cc0  3b bd 31 33 3b 70 72 6f  6d 70 74 24 3b 3a e8 22  |;.13;prompt$;:."|
00000cd0  22 6e 61 6d 65 24 0d 06  36 14 ef 20 32 33 3b 38  |"name$..6.. 23;8|
00000ce0  32 30 32 3b 30 3b 30 3b  30 3b 0d 06 40 16 fb 31  |202;0;0;0;..@..1|
00000cf0  32 38 3a fb 31 35 3a f1  8a 30 2c 38 29 89 32 30  |28:.15:..0,8).20|
00000d00  0d 06 4a 05 e1 0d ff                              |..J....|
00000d07
EDITOR.m0
EDITOR.m1
EDITOR.m2
EDITOR.m4
EDITOR.m5