Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_15.ADF » A/DIAGRAM
A/DIAGRAM
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 ADFS disks » Electron_User_Group » EUG_15.ADF |
Filename: | A/DIAGRAM |
Read OK: | ✔ |
File size: | 07A3 bytes |
Load address: | FFFF1D00 |
Exec address: | FFFF8023 |
File contents
10*KEY3*FX12,0|M*FX4,0|MMODE3|M 20*KEY2 LIST 30REM DIAGRAM 40REM (c) EUG 50MODE0:VDU23,1,0;0;0;0; 60*FX226,140 70*FX227,156 80*FX11,20 90*FX4,1 100X%=600:Y%=500:A%=5:B%=5:P=1 110PLOT71,X%,Y% 120PRINTTAB(36,0)"DIAGRAM" 130PRINTTAB(0,2)"________________________________________________________________________________" 140PRINTTAB(0,26)"________________________________________________________________________________" 150PRINTTAB(0,29)"Pen Up/Dn:COPY Draw:Up-Dn-Lf-Rt Arrows" 160PRINTTAB(0,30)"FUNC keys: Speed ^:S \/:X Text:T Load:< Save:> Diag:P O K L Angle +:A -:Z" 170REPEAT 180PRINTTAB(0,28)">>Angle=+";A%;" Speed=+ "B%;" Pen "P" X="X%;" Y="Y%;"<<" 190*FX21,0 200C%=GET 210IFX%<10X%=10 220IFY%<200Y%=210 230IFY%>890Y%=890 240IFX%>1245X%=1245 250IFC%=135PROCpen 260IFC%=136PROCleft 270IFC%=137PROCright 280IFC%=138PROCdown 290IFC%=139PROCup 300IFC%=140PROCangle1 310IFC%=165PROCangle0 320IFC%=150PROCdownleft 330IFC%=154PROCupleft 340IFC%=155PROCupright 350IFC%=158PROCspeed1 360IFC%=163PROCspeed2 370IFC%=159PROCtext 380IFC%=151PROCdownright 390IFC%=170PROCsave 400IFC%=168PROCload 410IFC%=171PROCprint 420IFP=0MOVEX%,Y% 430IFP=1DRAWX%,Y% 440UNTIL0 450VDU23,1,1;0;0;0; 460END 470DEFPROCspeed1:B%=B%+1:A%=A%+1:ENDPROC 480DEFPROCspeed2:B%=B%-1:A%=A%-1:ENDPROC 490DEFPROCpenIFP=1P=0:ENDPROCELSEP=1:ENDPROC 500DEFPROCleft:X%=X%-B%:ENDPROC 510DEFPROCright:X%=X%+B%:ENDPROC 520DEFPROCdown:Y%=Y%-B%:ENDPROC 530DEFPROCup:Y%=Y%+B%:ENDPROC 540DEFPROCangle1:A%=A%+1:ENDPROC 550DEFPROCangle0:A%=A%-1:ENDPROC 560DEFPROCupright:X%=X%+B%:Y%=Y%+A%:ENDPROC 570DEFPROCdownright:X%=X%+B%:Y%=Y%-A%:ENDPROC 580DEFPROCdownleft:X%=X%-B%:Y%=Y%-A%:ENDPROC 590DEFPROCupleft:X%=X%-B%:Y%=Y%+A%:ENDPROC 600DEFPROCsave 610*FX21,0 620*FX12,0 630VDU23,1,1;0;0;0; 640start%=&3500 650end%=&75FF 660INPUTTAB(0,0)"Name of file to save"nam$ 670IFnam$=""ENDPROC 680VDU23,1,0;0;0;0; 690OSCLI"SAVE "+nam$+" "+STR$~start%+" "+STR$~end% 700*FX11,20 710ENDPROC 720DEFPROCtext 730*FX12,0 740*FX21,0 750VDU23,1,1;0;0;0; 760INPUTTAB(0,0)"Enter text, Press RET"M$ 770VDU5 780PRINT;M$ 790P=0 800VDU4 810VDU23,1,0;0;0;0; 820*FX11,20 830ENDPROC 840DEFPROCload 850*FX12,0 860*FX21,0 870VDU23,1,1;0;0;0; 880PRINTTAB(0,0)"Name of file to load";:INPUTname$ 890VDU23,1,0;0;0;0; 900IFname$=""ENDPROC 910OSCLI"LOAD "+name$ 920*FX11,20 930ENDPROC 940DEFPROCprint 950PRINTTAB(0,0)"NO PRINT DUMP INSTALLED" 960ENDPROC
!*KEY3*FX12,0|M*FX4,0|MMODE3|M *KEY2 LIST � DIAGRAM ( � (c) EUG 2�0:�23,1,0;0;0;0; <*FX226,140 F*FX227,156 P*FX11,20 Z *FX4,1 dX%=600:Y%=500:A%=5:B%=5:P=1 n �71,X%,Y% x�36,0)"DIAGRAM" �\�0,2)"________________________________________________________________________________" �]�0,26)"________________________________________________________________________________" �3�0,29)"Pen Up/Dn:COPY Draw:Up-Dn-Lf-Rt Arrows" �V�0,30)"FUNC keys: Speed ^:S \/:X Text:T Load:< Save:> Diag:P O K L Angle +:A -:Z" �� �L�0,28)">>Angle=+";A%;" Speed=+ "B%;" Pen "P" X="X%;" Y="Y%;"<<" �*FX21,0 �C%=� ��X%<10X%=10 ��Y%<200Y%=210 ��Y%>890Y%=890 ��X%>1245X%=1245 ��C%=135�pen �C%=136�left �C%=137�right �C%=138�down "�C%=139�up ,�C%=140�angle1 6�C%=165�angle0 @�C%=150�downleft J�C%=154�upleft T�C%=155�upright ^�C%=158�speed1 h�C%=163�speed2 r�C%=159�text |�C%=151�downright ��C%=170�save ��C%=168�load ��C%=171�print ��P=0�X%,Y% ��P=1�X%,Y% ��0 ��23,1,1;0;0;0; �� ���speed1:B%=B%+1:A%=A%+1:� ���speed2:B%=B%-1:A%=A%-1:� ���pen�P=1P=0:�P=1:� ���left:X%=X%-B%:� ���right:X%=X%+B%:� ��down:Y%=Y%-B%:� ��up:Y%=Y%+B%:� ��angle1:A%=A%+1:� &��angle0:A%=A%-1:� 0!��upright:X%=X%+B%:Y%=Y%+A%:� :#��downright:X%=X%+B%:Y%=Y%-A%:� D"��downleft:X%=X%-B%:Y%=Y%-A%:� N ��upleft:X%=X%-B%:Y%=Y%+A%:� X ��save b*FX21,0 l*FX12,0 v�23,1,1;0;0;0; �start%=&3500 �end%=&75FF �$�0,0)"Name of file to save"nam$ � �nam$=""� ��23,1,0;0;0;0; �)�"SAVE "+nam$+" "+�~start%+" "+�~end% �*FX11,20 �� � ��text �*FX12,0 �*FX21,0 ��23,1,1;0;0;0; �#�0,0)"Enter text, Press RET"M$ �5 �;M$ P=0 �4 *�23,1,0;0;0;0; 4*FX11,20 >� H ��load R*FX12,0 \*FX21,0 f�23,1,1;0;0;0; p(�0,0)"Name of file to load";:�name$ z�23,1,0;0;0;0; ��name$=""� ��"LOAD "+name$ �*FX11,20 �� ���print �#�0,0)"NO PRINT DUMP INSTALLED" �� �
00000000 0d 00 0a 21 2a 4b 45 59 33 2a 46 58 31 32 2c 30 |...!*KEY3*FX12,0| 00000010 7c 4d 2a 46 58 34 2c 30 7c 4d 4d 4f 44 45 33 7c ||M*FX4,0|MMODE3|| 00000020 4d 0d 00 14 0e 2a 4b 45 59 32 20 4c 49 53 54 0d |M....*KEY2 LIST.| 00000030 00 1e 0d f4 20 44 49 41 47 52 41 4d 0d 00 28 0d |.... DIAGRAM..(.| 00000040 f4 20 28 63 29 20 45 55 47 0d 00 32 15 eb 30 3a |. (c) EUG..2..0:| 00000050 ef 32 33 2c 31 2c 30 3b 30 3b 30 3b 30 3b 0d 00 |.23,1,0;0;0;0;..| 00000060 3c 0e 2a 46 58 32 32 36 2c 31 34 30 0d 00 46 0e |<.*FX226,140..F.| 00000070 2a 46 58 32 32 37 2c 31 35 36 0d 00 50 0c 2a 46 |*FX227,156..P.*F| 00000080 58 31 31 2c 32 30 0d 00 5a 0a 2a 46 58 34 2c 31 |X11,20..Z.*FX4,1| 00000090 0d 00 64 1f 58 25 3d 36 30 30 3a 59 25 3d 35 30 |..d.X%=600:Y%=50| 000000a0 30 3a 41 25 3d 35 3a 42 25 3d 35 3a 50 3d 31 0d |0:A%=5:B%=5:P=1.| 000000b0 00 6e 0d f0 37 31 2c 58 25 2c 59 25 0d 00 78 14 |.n..71,X%,Y%..x.| 000000c0 f1 8a 33 36 2c 30 29 22 44 49 41 47 52 41 4d 22 |..36,0)"DIAGRAM"| 000000d0 0d 00 82 5c f1 8a 30 2c 32 29 22 5f 5f 5f 5f 5f |...\..0,2)"_____| 000000e0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f |________________| * 00000120 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 22 0d 00 8c 5d |___________"...]| 00000130 f1 8a 30 2c 32 36 29 22 5f 5f 5f 5f 5f 5f 5f 5f |..0,26)"________| 00000140 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f |________________| * 00000180 5f 5f 5f 5f 5f 5f 5f 5f 22 0d 00 96 33 f1 8a 30 |________"...3..0| 00000190 2c 32 39 29 22 50 65 6e 20 55 70 2f 44 6e 3a 43 |,29)"Pen Up/Dn:C| 000001a0 4f 50 59 20 44 72 61 77 3a 55 70 2d 44 6e 2d 4c |OPY Draw:Up-Dn-L| 000001b0 66 2d 52 74 20 41 72 72 6f 77 73 22 0d 00 a0 56 |f-Rt Arrows"...V| 000001c0 f1 8a 30 2c 33 30 29 22 46 55 4e 43 20 6b 65 79 |..0,30)"FUNC key| 000001d0 73 3a 20 53 70 65 65 64 20 5e 3a 53 20 5c 2f 3a |s: Speed ^:S \/:| 000001e0 58 20 54 65 78 74 3a 54 20 4c 6f 61 64 3a 3c 20 |X Text:T Load:< | 000001f0 53 61 76 65 3a 3e 20 44 69 61 67 3a 50 20 4f 20 |Save:> Diag:P O | 00000200 4b 20 4c 20 41 6e 67 6c 65 20 2b 3a 41 20 2d 3a |K L Angle +:A -:| 00000210 5a 22 0d 00 aa 05 f5 0d 00 b4 4c f1 8a 30 2c 32 |Z"........L..0,2| 00000220 38 29 22 3e 3e 41 6e 67 6c 65 3d 2b 22 3b 41 25 |8)">>Angle=+";A%| 00000230 3b 22 20 20 20 53 70 65 65 64 3d 2b 20 22 42 25 |;" Speed=+ "B%| 00000240 3b 22 20 20 20 50 65 6e 20 22 50 22 20 20 20 58 |;" Pen "P" X| 00000250 3d 22 58 25 3b 22 20 20 20 59 3d 22 59 25 3b 22 |="X%;" Y="Y%;"| 00000260 3c 3c 22 0d 00 be 0b 2a 46 58 32 31 2c 30 0d 00 |<<"....*FX21,0..| 00000270 c8 08 43 25 3d a5 0d 00 d2 0f e7 58 25 3c 31 30 |..C%=......X%<10| 00000280 58 25 3d 31 30 0d 00 dc 11 e7 59 25 3c 32 30 30 |X%=10.....Y%<200| 00000290 59 25 3d 32 31 30 0d 00 e6 11 e7 59 25 3e 38 39 |Y%=210.....Y%>89| 000002a0 30 59 25 3d 38 39 30 0d 00 f0 13 e7 58 25 3e 31 |0Y%=890.....X%>1| 000002b0 32 34 35 58 25 3d 31 32 34 35 0d 00 fa 0f e7 43 |245X%=1245.....C| 000002c0 25 3d 31 33 35 f2 70 65 6e 0d 01 04 10 e7 43 25 |%=135.pen.....C%| 000002d0 3d 31 33 36 f2 6c 65 66 74 0d 01 0e 11 e7 43 25 |=136.left.....C%| 000002e0 3d 31 33 37 f2 72 69 67 68 74 0d 01 18 10 e7 43 |=137.right.....C| 000002f0 25 3d 31 33 38 f2 64 6f 77 6e 0d 01 22 0e e7 43 |%=138.down.."..C| 00000300 25 3d 31 33 39 f2 75 70 0d 01 2c 12 e7 43 25 3d |%=139.up..,..C%=| 00000310 31 34 30 f2 61 6e 67 6c 65 31 0d 01 36 12 e7 43 |140.angle1..6..C| 00000320 25 3d 31 36 35 f2 61 6e 67 6c 65 30 0d 01 40 14 |%=165.angle0..@.| 00000330 e7 43 25 3d 31 35 30 f2 64 6f 77 6e 6c 65 66 74 |.C%=150.downleft| 00000340 0d 01 4a 12 e7 43 25 3d 31 35 34 f2 75 70 6c 65 |..J..C%=154.uple| 00000350 66 74 0d 01 54 13 e7 43 25 3d 31 35 35 f2 75 70 |ft..T..C%=155.up| 00000360 72 69 67 68 74 0d 01 5e 12 e7 43 25 3d 31 35 38 |right..^..C%=158| 00000370 f2 73 70 65 65 64 31 0d 01 68 12 e7 43 25 3d 31 |.speed1..h..C%=1| 00000380 36 33 f2 73 70 65 65 64 32 0d 01 72 10 e7 43 25 |63.speed2..r..C%| 00000390 3d 31 35 39 f2 74 65 78 74 0d 01 7c 15 e7 43 25 |=159.text..|..C%| 000003a0 3d 31 35 31 f2 64 6f 77 6e 72 69 67 68 74 0d 01 |=151.downright..| 000003b0 86 10 e7 43 25 3d 31 37 30 f2 73 61 76 65 0d 01 |...C%=170.save..| 000003c0 90 10 e7 43 25 3d 31 36 38 f2 6c 6f 61 64 0d 01 |...C%=168.load..| 000003d0 9a 11 e7 43 25 3d 31 37 31 f2 70 72 69 6e 74 0d |...C%=171.print.| 000003e0 01 a4 0e e7 50 3d 30 ec 58 25 2c 59 25 0d 01 ae |....P=0.X%,Y%...| 000003f0 0e e7 50 3d 31 df 58 25 2c 59 25 0d 01 b8 06 fd |..P=1.X%,Y%.....| 00000400 30 0d 01 c2 12 ef 32 33 2c 31 2c 31 3b 30 3b 30 |0.....23,1,1;0;0| 00000410 3b 30 3b 0d 01 cc 05 e0 0d 01 d6 1e dd f2 73 70 |;0;...........sp| 00000420 65 65 64 31 3a 42 25 3d 42 25 2b 31 3a 41 25 3d |eed1:B%=B%+1:A%=| 00000430 41 25 2b 31 3a e1 0d 01 e0 1e dd f2 73 70 65 65 |A%+1:.......spee| 00000440 64 32 3a 42 25 3d 42 25 2d 31 3a 41 25 3d 41 25 |d2:B%=B%-1:A%=A%| 00000450 2d 31 3a e1 0d 01 ea 18 dd f2 70 65 6e e7 50 3d |-1:.......pen.P=| 00000460 31 50 3d 30 3a e1 8b 50 3d 31 3a e1 0d 01 f4 15 |1P=0:..P=1:.....| 00000470 dd f2 6c 65 66 74 3a 58 25 3d 58 25 2d 42 25 3a |..left:X%=X%-B%:| 00000480 e1 0d 01 fe 16 dd f2 72 69 67 68 74 3a 58 25 3d |.......right:X%=| 00000490 58 25 2b 42 25 3a e1 0d 02 08 15 dd f2 64 6f 77 |X%+B%:.......dow| 000004a0 6e 3a 59 25 3d 59 25 2d 42 25 3a e1 0d 02 12 13 |n:Y%=Y%-B%:.....| 000004b0 dd f2 75 70 3a 59 25 3d 59 25 2b 42 25 3a e1 0d |..up:Y%=Y%+B%:..| 000004c0 02 1c 16 dd f2 61 6e 67 6c 65 31 3a 41 25 3d 41 |.....angle1:A%=A| 000004d0 25 2b 31 3a e1 0d 02 26 16 dd f2 61 6e 67 6c 65 |%+1:...&...angle| 000004e0 30 3a 41 25 3d 41 25 2d 31 3a e1 0d 02 30 21 dd |0:A%=A%-1:...0!.| 000004f0 f2 75 70 72 69 67 68 74 3a 58 25 3d 58 25 2b 42 |.upright:X%=X%+B| 00000500 25 3a 59 25 3d 59 25 2b 41 25 3a e1 0d 02 3a 23 |%:Y%=Y%+A%:...:#| 00000510 dd f2 64 6f 77 6e 72 69 67 68 74 3a 58 25 3d 58 |..downright:X%=X| 00000520 25 2b 42 25 3a 59 25 3d 59 25 2d 41 25 3a e1 0d |%+B%:Y%=Y%-A%:..| 00000530 02 44 22 dd f2 64 6f 77 6e 6c 65 66 74 3a 58 25 |.D"..downleft:X%| 00000540 3d 58 25 2d 42 25 3a 59 25 3d 59 25 2d 41 25 3a |=X%-B%:Y%=Y%-A%:| 00000550 e1 0d 02 4e 20 dd f2 75 70 6c 65 66 74 3a 58 25 |...N ..upleft:X%| 00000560 3d 58 25 2d 42 25 3a 59 25 3d 59 25 2b 41 25 3a |=X%-B%:Y%=Y%+A%:| 00000570 e1 0d 02 58 0a dd f2 73 61 76 65 0d 02 62 0b 2a |...X...save..b.*| 00000580 46 58 32 31 2c 30 0d 02 6c 0b 2a 46 58 31 32 2c |FX21,0..l.*FX12,| 00000590 30 0d 02 76 12 ef 32 33 2c 31 2c 31 3b 30 3b 30 |0..v..23,1,1;0;0| 000005a0 3b 30 3b 0d 02 80 10 73 74 61 72 74 25 3d 26 33 |;0;....start%=&3| 000005b0 35 30 30 0d 02 8a 0e 65 6e 64 25 3d 26 37 35 46 |500....end%=&75F| 000005c0 46 0d 02 94 24 e8 8a 30 2c 30 29 22 4e 61 6d 65 |F...$..0,0)"Name| 000005d0 20 6f 66 20 66 69 6c 65 20 74 6f 20 73 61 76 65 | of file to save| 000005e0 22 6e 61 6d 24 0d 02 9e 0d e7 6e 61 6d 24 3d 22 |"nam$.....nam$="| 000005f0 22 e1 0d 02 a8 12 ef 32 33 2c 31 2c 30 3b 30 3b |"......23,1,0;0;| 00000600 30 3b 30 3b 0d 02 b2 29 ff 22 53 41 56 45 20 22 |0;0;...)."SAVE "| 00000610 2b 6e 61 6d 24 2b 22 20 22 2b c3 7e 73 74 61 72 |+nam$+" "+.~star| 00000620 74 25 2b 22 20 22 2b c3 7e 65 6e 64 25 0d 02 bc |t%+" "+.~end%...| 00000630 0c 2a 46 58 31 31 2c 32 30 0d 02 c6 05 e1 0d 02 |.*FX11,20.......| 00000640 d0 0a dd f2 74 65 78 74 0d 02 da 0b 2a 46 58 31 |....text....*FX1| 00000650 32 2c 30 0d 02 e4 0b 2a 46 58 32 31 2c 30 0d 02 |2,0....*FX21,0..| 00000660 ee 12 ef 32 33 2c 31 2c 31 3b 30 3b 30 3b 30 3b |...23,1,1;0;0;0;| 00000670 0d 02 f8 23 e8 8a 30 2c 30 29 22 45 6e 74 65 72 |...#..0,0)"Enter| 00000680 20 74 65 78 74 2c 20 50 72 65 73 73 20 52 45 54 | text, Press RET| 00000690 22 4d 24 0d 03 02 06 ef 35 0d 03 0c 08 f1 3b 4d |"M$.....5.....;M| 000006a0 24 0d 03 16 07 50 3d 30 0d 03 20 06 ef 34 0d 03 |$....P=0.. ..4..| 000006b0 2a 12 ef 32 33 2c 31 2c 30 3b 30 3b 30 3b 30 3b |*..23,1,0;0;0;0;| 000006c0 0d 03 34 0c 2a 46 58 31 31 2c 32 30 0d 03 3e 05 |..4.*FX11,20..>.| 000006d0 e1 0d 03 48 0a dd f2 6c 6f 61 64 0d 03 52 0b 2a |...H...load..R.*| 000006e0 46 58 31 32 2c 30 0d 03 5c 0b 2a 46 58 32 31 2c |FX12,0..\.*FX21,| 000006f0 30 0d 03 66 12 ef 32 33 2c 31 2c 31 3b 30 3b 30 |0..f..23,1,1;0;0| 00000700 3b 30 3b 0d 03 70 28 f1 8a 30 2c 30 29 22 4e 61 |;0;..p(..0,0)"Na| 00000710 6d 65 20 6f 66 20 66 69 6c 65 20 74 6f 20 6c 6f |me of file to lo| 00000720 61 64 22 3b 3a e8 6e 61 6d 65 24 0d 03 7a 12 ef |ad";:.name$..z..| 00000730 32 33 2c 31 2c 30 3b 30 3b 30 3b 30 3b 0d 03 84 |23,1,0;0;0;0;...| 00000740 0e e7 6e 61 6d 65 24 3d 22 22 e1 0d 03 8e 12 ff |..name$=""......| 00000750 22 4c 4f 41 44 20 22 2b 6e 61 6d 65 24 0d 03 98 |"LOAD "+name$...| 00000760 0c 2a 46 58 31 31 2c 32 30 0d 03 a2 05 e1 0d 03 |.*FX11,20.......| 00000770 ac 0b dd f2 70 72 69 6e 74 0d 03 b6 23 f1 8a 30 |....print...#..0| 00000780 2c 30 29 22 4e 4f 20 50 52 49 4e 54 20 44 55 4d |,0)"NO PRINT DUM| 00000790 50 20 49 4e 53 54 41 4c 4c 45 44 22 0d 03 c0 05 |P INSTALLED"....| 000007a0 e1 0d ff |...| 000007a3