Home » Personal collection » Acorn ADFS disks » Electron » EUG_submission.ADF » PT3/PTDemo
PT3/PTDemo
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 » EUG_submission.ADF |
Filename: | PT3/PTDemo |
Read OK: | ✔ |
File size: | 0997 bytes |
Load address: | FFFF1D00 |
Exec address: | FFFF8023 |
Duplicates
There are 4 duplicate copies of this file in the archive:
- AEW website » eug » eug_5_25_discs_Eug-38_D-EUG38.dsd » U.PTDEM
- Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_38.ADF » PTDemo
- Personal collection » Acorn ADFS disks » Electron » EUG_submission.ADF » PT3/PTDemo
- Personal collection » Acorn hard disk » misc » misc3 » eug_titles/PT3/PTDemo
- Personal collection » Acorn hard disk » zipped_disks » elk03 » eug38/PTDemo
File contents
10 REM Programming Technique Demo Part 3: Screen Memory Written by Dominic Ford 1998 20 : 30 REM Program Layout 40 REM 100 - Main menu system 50 REM 1000 - Slow plotting system 100 REM Main menu 110 REPEAT 120 MODE 6:PRINT" Programming Technique Demo Part 3: Screen Memory Written by Dominic Ford 1998" 130 PRINT'"Please select:"''"1. Saving screen memory."'"2. Quit!"'''''"Sorry - the user defined character"'"demonstrations and the module for"'"multi-coloured characters are still in" 140 PRINT"progress. They will form part of a more"'"substancial feature on characters next"'"issue." 150 REPEAT:key$=GET$:UNTIL INSTR("12",key$)<>0 160 IF key$="1" THEN MODE 4:PROCcad 170 UNTIL key$="2" 180 MODE 6:END 1000 REM Module to draw CAD view of J3 1010 : 1020 DEFPROCcad 1030 PRINT"ShipWrecked II: Jupiter 3 CAD View" 1040 PRINT"==================================" 1050 PRINT'"This is the graphics routine which I"'"used when producing the CAD View of"'"Jupiter 3 for the Shipwrecked II"'"instructions file. It takes quite a"'"while to calculate, and yet by saving"'"screen memory, it appears near" 1060 PRINT"instantaneously on your screen in the"'"instruction system. This demonstration"'"will show how the picture is slowly"'"built up before being saved."' 1070 PRINT"Press ESCAPE to quit plotting early, or"'"SPACE to return to the main menu after"'"plotting has finished (a bell rings to"'"indicate plotting is complete)"'''"Press <SPACE> to start" 1080 REPEAT UNTIL INKEY(-99) 1090 : 1100 REM Set up screen (colour scheme +text) 1110CLS:VDU19,1,2,0;0;0;0;:x=0:xo=0 1120VDU23,1,0;0;0;0;:PRINTTAB(9,1)"CAD View of Jupiter 3";TAB(9,2)"---------------------";TAB(0,5)"Navigation";TAB(2,6)"Area";TAB(10,25)"Control Tourist";TAB(11,26)"Disc Disc";TAB(32,24)"Docking";TAB(34,25)"Bay" 1140: 1150 REM Plot main body of J3 (using rather unpleasant trigonometry!) 1160FORtheta=0TO360STEP15:FORalpha=-20TO270STEP5 1170IF alpha>160 THEN x=25 ELSE x=0 1180IF alpha<181 THEN stat=TRUE ELSE stat=FALSE 1190IF stat THEN MOVE550-xo-(alpha-5)*2+COS(theta*PI/180)*50,FNy(theta,alpha-5) 1200IF stat THEN DRAW550-x-alpha*2+COS(theta*PI/180)*50,FNy(theta,alpha) 1210IF stat AND ((alpha MOD 45)=0 OR alpha=-20) THEN DRAW550-x-alpha*2+COS((theta-30)*PI/180)*50,FNy(theta-30,alpha) 1220MOVE650+(alpha-5)*2+COS(theta*PI/180)*50,FNy(theta,alpha-5) 1230DRAW650+alpha*2+COS(theta*PI/180)*50,FNy(theta,alpha) 1240IF (alpha MOD 45)=0 THEN DRAW650+alpha*2+COS((theta-30)*PI/180)*50,FNy(theta-30,alpha) 1250xo=x:NEXT:xo=0:NEXT 1260: 1270 REM Beep and wait for space 1280PRINTTAB(7,30)"Press <SPACE> to continue" 1290VDU7:REPEAT UNTIL INKEY(-99) 1300ENDPROC 1310: 1320DEFFNy(th,al)=600+250*SIN(th*PI/180)*SIN(al*PI/180)
r � Programming Technique Demo Part 3: Screen Memory Written by Dominic Ford 1998 : � Program Layout ( � 100 - Main menu system 2" � 1000 - Slow plotting system d � Main menu n � x~ � 6:�" Programming Technique Demo Part 3: Screen Memory Written by Dominic Ford 1998" �� �'"Please select:"''"1. Saving screen memory."'"2. Quit!"'''''"Sorry - the user defined character"'"demonstrations and the module for"'"multi-coloured characters are still in" �a �"progress. They will form part of a more"'"substancial feature on characters next"'"issue." � �:key$=�:� �"12",key$)<>0 � � key$="1" � � 4:�cad � � key$="2" � � 6:� �$ � Module to draw CAD view of J3 � : � ��cad * �"ShipWrecked II: Jupiter 3 CAD View" * �"==================================" � �'"This is the graphics routine which I"'"used when producing the CAD View of"'"Jupiter 3 for the Shipwrecked II"'"instructions file. It takes quite a"'"while to calculate, and yet by saving"'"screen memory, it appears near" $� �"instantaneously on your screen in the"'"instruction system. This demonstration"'"will show how the picture is slowly"'"built up before being saved."' .� �"Press ESCAPE to quit plotting early, or"'"SPACE to return to the main menu after"'"plotting has finished (a bell rings to"'"indicate plotting is complete)"'''"Press <SPACE> to start" 8 � � �(-99) B : L* � Set up screen (colour scheme +text) V�:�19,1,2,0;0;0;0;:x=0:xo=0 `��23,1,0;0;0;0;:�9,1)"CAD View of Jupiter 3";�9,2)"---------------------";�0,5)"Navigation";�2,6)"Area";�10,25)"Control Tourist";�11,26)"Disc Disc";�32,24)"Docking";�34,25)"Bay" t: ~C � Plot main body of J3 (using rather unpleasant trigonometry!) �$�theta=0�360�15:�alpha=-20�270�5 �� alpha>160 � x=25 � x=0 �!� alpha<181 � stat=� � stat=� �D� stat � �550-xo-(alpha-5)*2+�(theta*�/180)*50,�y(theta,alpha-5) �=� stat � �550-x-alpha*2+�(theta*�/180)*50,�y(theta,alpha) �d� stat � ((alpha � 45)=0 � alpha=-20) � �550-x-alpha*2+�((theta-30)*�/180)*50,�y(theta-30,alpha) �8�650+(alpha-5)*2+�(theta*�/180)*50,�y(theta,alpha-5) �2�650+alpha*2+�(theta*�/180)*50,�y(theta,alpha) �M� (alpha � 45)=0 � �650+alpha*2+�((theta-30)*�/180)*50,�y(theta-30,alpha) �xo=x:�:xo=0:� �: � � Beep and wait for space &�7,30)"Press <SPACE> to continue" �7:� � �(-99) � : (.ݤy(th,al)=600+250*�(th*�/180)*�(al*�/180) �
00000000 0d 00 0a 72 20 f4 20 50 72 6f 67 72 61 6d 6d 69 |...r . Programmi| 00000010 6e 67 20 54 65 63 68 6e 69 71 75 65 20 44 65 6d |ng Technique Dem| 00000020 6f 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |o | 00000030 20 50 61 72 74 20 33 3a 20 53 63 72 65 65 6e 20 | Part 3: Screen | 00000040 4d 65 6d 6f 72 79 20 20 20 20 20 20 20 20 20 20 |Memory | 00000050 20 20 20 20 20 20 57 72 69 74 74 65 6e 20 62 79 | Written by| 00000060 20 44 6f 6d 69 6e 69 63 20 46 6f 72 64 20 31 39 | Dominic Ford 19| 00000070 39 38 0d 00 14 06 20 3a 0d 00 1e 15 20 f4 20 50 |98.... :.... . P| 00000080 72 6f 67 72 61 6d 20 4c 61 79 6f 75 74 0d 00 28 |rogram Layout..(| 00000090 1e 20 f4 20 20 31 30 30 20 2d 20 4d 61 69 6e 20 |. . 100 - Main | 000000a0 6d 65 6e 75 20 73 79 73 74 65 6d 0d 00 32 22 20 |menu system..2" | 000000b0 f4 20 31 30 30 30 20 2d 20 53 6c 6f 77 20 70 6c |. 1000 - Slow pl| 000000c0 6f 74 74 69 6e 67 20 73 79 73 74 65 6d 0d 00 64 |otting system..d| 000000d0 10 20 f4 20 4d 61 69 6e 20 6d 65 6e 75 0d 00 6e |. . Main menu..n| 000000e0 06 20 f5 0d 00 78 7e 20 eb 20 36 3a f1 22 20 20 |. ...x~ . 6:." | 000000f0 20 20 20 20 20 50 72 6f 67 72 61 6d 6d 69 6e 67 | Programming| 00000100 20 54 65 63 68 6e 69 71 75 65 20 44 65 6d 6f 20 | Technique Demo | 00000110 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 | P| 00000120 61 72 74 20 33 3a 20 53 63 72 65 65 6e 20 4d 65 |art 3: Screen Me| 00000130 6d 6f 72 79 20 20 20 20 20 20 20 20 20 20 20 20 |mory | 00000140 20 20 20 20 57 72 69 74 74 65 6e 20 62 79 20 44 | Written by D| 00000150 6f 6d 69 6e 69 63 20 46 6f 72 64 20 31 39 39 38 |ominic Ford 1998| 00000160 22 0d 00 82 b4 20 f1 27 22 50 6c 65 61 73 65 20 |".... .'"Please | 00000170 73 65 6c 65 63 74 3a 22 27 27 22 31 2e 20 53 61 |select:"''"1. Sa| 00000180 76 69 6e 67 20 73 63 72 65 65 6e 20 6d 65 6d 6f |ving screen memo| 00000190 72 79 2e 22 27 22 32 2e 20 51 75 69 74 21 22 27 |ry."'"2. Quit!"'| 000001a0 27 27 27 27 22 53 6f 72 72 79 20 2d 20 74 68 65 |''''"Sorry - the| 000001b0 20 75 73 65 72 20 64 65 66 69 6e 65 64 20 63 68 | user defined ch| 000001c0 61 72 61 63 74 65 72 22 27 22 64 65 6d 6f 6e 73 |aracter"'"demons| 000001d0 74 72 61 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 |trations and the| 000001e0 20 6d 6f 64 75 6c 65 20 66 6f 72 22 27 22 6d 75 | module for"'"mu| 000001f0 6c 74 69 2d 63 6f 6c 6f 75 72 65 64 20 63 68 61 |lti-coloured cha| 00000200 72 61 63 74 65 72 73 20 61 72 65 20 73 74 69 6c |racters are stil| 00000210 6c 20 69 6e 22 0d 00 8c 61 20 f1 22 70 72 6f 67 |l in"...a ."prog| 00000220 72 65 73 73 2e 20 54 68 65 79 20 77 69 6c 6c 20 |ress. They will | 00000230 66 6f 72 6d 20 70 61 72 74 20 6f 66 20 61 20 6d |form part of a m| 00000240 6f 72 65 22 27 22 73 75 62 73 74 61 6e 63 69 61 |ore"'"substancia| 00000250 6c 20 66 65 61 74 75 72 65 20 6f 6e 20 63 68 61 |l feature on cha| 00000260 72 61 63 74 65 72 73 20 6e 65 78 74 22 27 22 69 |racters next"'"i| 00000270 73 73 75 65 2e 22 0d 00 96 1e 20 f5 3a 6b 65 79 |ssue.".... .:key| 00000280 24 3d be 3a fd 20 a7 22 31 32 22 2c 6b 65 79 24 |$=.:. ."12",key$| 00000290 29 3c 3e 30 0d 00 a0 1a 20 e7 20 6b 65 79 24 3d |)<>0.... . key$=| 000002a0 22 31 22 20 8c 20 eb 20 34 3a f2 63 61 64 0d 00 |"1" . . 4:.cad..| 000002b0 aa 0f 20 fd 20 6b 65 79 24 3d 22 32 22 0d 00 b4 |.. . key$="2"...| 000002c0 0a 20 eb 20 36 3a e0 0d 03 e8 24 20 f4 20 4d 6f |. . 6:....$ . Mo| 000002d0 64 75 6c 65 20 74 6f 20 64 72 61 77 20 43 41 44 |dule to draw CAD| 000002e0 20 76 69 65 77 20 6f 66 20 4a 33 0d 03 f2 06 20 | view of J3.... | 000002f0 3a 0d 03 fc 0a 20 dd f2 63 61 64 0d 04 06 2a 20 |:.... ..cad...* | 00000300 f1 22 53 68 69 70 57 72 65 63 6b 65 64 20 49 49 |."ShipWrecked II| 00000310 3a 20 4a 75 70 69 74 65 72 20 33 20 43 41 44 20 |: Jupiter 3 CAD | 00000320 56 69 65 77 22 0d 04 10 2a 20 f1 22 3d 3d 3d 3d |View"...* ."====| 00000330 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000340 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 22 0d |==============".| 00000350 04 1a e5 20 f1 27 22 54 68 69 73 20 69 73 20 74 |... .'"This is t| 00000360 68 65 20 67 72 61 70 68 69 63 73 20 72 6f 75 74 |he graphics rout| 00000370 69 6e 65 20 77 68 69 63 68 20 49 22 27 22 75 73 |ine which I"'"us| 00000380 65 64 20 77 68 65 6e 20 70 72 6f 64 75 63 69 6e |ed when producin| 00000390 67 20 74 68 65 20 43 41 44 20 56 69 65 77 20 6f |g the CAD View o| 000003a0 66 22 27 22 4a 75 70 69 74 65 72 20 33 20 66 6f |f"'"Jupiter 3 fo| 000003b0 72 20 74 68 65 20 53 68 69 70 77 72 65 63 6b 65 |r the Shipwrecke| 000003c0 64 20 49 49 22 27 22 69 6e 73 74 72 75 63 74 69 |d II"'"instructi| 000003d0 6f 6e 73 20 66 69 6c 65 2e 20 49 74 20 74 61 6b |ons file. It tak| 000003e0 65 73 20 71 75 69 74 65 20 61 22 27 22 77 68 69 |es quite a"'"whi| 000003f0 6c 65 20 74 6f 20 63 61 6c 63 75 6c 61 74 65 2c |le to calculate,| 00000400 20 61 6e 64 20 79 65 74 20 62 79 20 73 61 76 69 | and yet by savi| 00000410 6e 67 22 27 22 73 63 72 65 65 6e 20 6d 65 6d 6f |ng"'"screen memo| 00000420 72 79 2c 20 69 74 20 61 70 70 65 61 72 73 20 6e |ry, it appears n| 00000430 65 61 72 22 0d 04 24 9c 20 f1 22 69 6e 73 74 61 |ear"..$. ."insta| 00000440 6e 74 61 6e 65 6f 75 73 6c 79 20 6f 6e 20 79 6f |ntaneously on yo| 00000450 75 72 20 73 63 72 65 65 6e 20 69 6e 20 74 68 65 |ur screen in the| 00000460 22 27 22 69 6e 73 74 72 75 63 74 69 6f 6e 20 73 |"'"instruction s| 00000470 79 73 74 65 6d 2e 20 54 68 69 73 20 64 65 6d 6f |ystem. This demo| 00000480 6e 73 74 72 61 74 69 6f 6e 22 27 22 77 69 6c 6c |nstration"'"will| 00000490 20 73 68 6f 77 20 68 6f 77 20 74 68 65 20 70 69 | show how the pi| 000004a0 63 74 75 72 65 20 69 73 20 73 6c 6f 77 6c 79 22 |cture is slowly"| 000004b0 27 22 62 75 69 6c 74 20 75 70 20 62 65 66 6f 72 |'"built up befor| 000004c0 65 20 62 65 69 6e 67 20 73 61 76 65 64 2e 22 27 |e being saved."'| 000004d0 0d 04 2e bd 20 f1 22 50 72 65 73 73 20 45 53 43 |.... ."Press ESC| 000004e0 41 50 45 20 74 6f 20 71 75 69 74 20 70 6c 6f 74 |APE to quit plot| 000004f0 74 69 6e 67 20 65 61 72 6c 79 2c 20 6f 72 22 27 |ting early, or"'| 00000500 22 53 50 41 43 45 20 74 6f 20 72 65 74 75 72 6e |"SPACE to return| 00000510 20 74 6f 20 74 68 65 20 6d 61 69 6e 20 6d 65 6e | to the main men| 00000520 75 20 61 66 74 65 72 22 27 22 70 6c 6f 74 74 69 |u after"'"plotti| 00000530 6e 67 20 68 61 73 20 66 69 6e 69 73 68 65 64 20 |ng has finished | 00000540 28 61 20 62 65 6c 6c 20 72 69 6e 67 73 20 74 6f |(a bell rings to| 00000550 22 27 22 69 6e 64 69 63 61 74 65 20 70 6c 6f 74 |"'"indicate plot| 00000560 74 69 6e 67 20 69 73 20 63 6f 6d 70 6c 65 74 65 |ting is complete| 00000570 29 22 27 27 27 22 50 72 65 73 73 20 3c 53 50 41 |)"'''"Press <SPA| 00000580 43 45 3e 20 74 6f 20 73 74 61 72 74 22 0d 04 38 |CE> to start"..8| 00000590 0f 20 f5 20 fd 20 a6 28 2d 39 39 29 0d 04 42 06 |. . . .(-99)..B.| 000005a0 20 3a 0d 04 4c 2a 20 f4 20 53 65 74 20 75 70 20 | :..L* . Set up | 000005b0 73 63 72 65 65 6e 20 28 63 6f 6c 6f 75 72 20 73 |screen (colour s| 000005c0 63 68 65 6d 65 20 2b 74 65 78 74 29 0d 04 56 1f |cheme +text)..V.| 000005d0 db 3a ef 31 39 2c 31 2c 32 2c 30 3b 30 3b 30 3b |.:.19,1,2,0;0;0;| 000005e0 30 3b 3a 78 3d 30 3a 78 6f 3d 30 0d 04 60 c2 ef |0;:x=0:xo=0..`..| 000005f0 32 33 2c 31 2c 30 3b 30 3b 30 3b 30 3b 3a f1 8a |23,1,0;0;0;0;:..| 00000600 39 2c 31 29 22 43 41 44 20 56 69 65 77 20 6f 66 |9,1)"CAD View of| 00000610 20 4a 75 70 69 74 65 72 20 33 22 3b 8a 39 2c 32 | Jupiter 3";.9,2| 00000620 29 22 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |)"--------------| 00000630 2d 2d 2d 2d 2d 2d 2d 22 3b 8a 30 2c 35 29 22 4e |-------";.0,5)"N| 00000640 61 76 69 67 61 74 69 6f 6e 22 3b 8a 32 2c 36 29 |avigation";.2,6)| 00000650 22 41 72 65 61 22 3b 8a 31 30 2c 32 35 29 22 43 |"Area";.10,25)"C| 00000660 6f 6e 74 72 6f 6c 20 20 20 20 20 20 54 6f 75 72 |ontrol Tour| 00000670 69 73 74 22 3b 8a 31 31 2c 32 36 29 22 44 69 73 |ist";.11,26)"Dis| 00000680 63 20 20 20 20 20 20 20 20 20 44 69 73 63 22 3b |c Disc";| 00000690 8a 33 32 2c 32 34 29 22 44 6f 63 6b 69 6e 67 22 |.32,24)"Docking"| 000006a0 3b 8a 33 34 2c 32 35 29 22 42 61 79 22 0d 04 74 |;.34,25)"Bay"..t| 000006b0 05 3a 0d 04 7e 43 20 f4 20 50 6c 6f 74 20 6d 61 |.:..~C . Plot ma| 000006c0 69 6e 20 62 6f 64 79 20 6f 66 20 4a 33 20 28 75 |in body of J3 (u| 000006d0 73 69 6e 67 20 72 61 74 68 65 72 20 75 6e 70 6c |sing rather unpl| 000006e0 65 61 73 61 6e 74 20 74 72 69 67 6f 6e 6f 6d 65 |easant trigonome| 000006f0 74 72 79 21 29 0d 04 88 24 e3 74 68 65 74 61 3d |try!)...$.theta=| 00000700 30 b8 33 36 30 88 31 35 3a e3 61 6c 70 68 61 3d |0.360.15:.alpha=| 00000710 2d 32 30 b8 32 37 30 88 35 0d 04 92 1c e7 20 61 |-20.270.5..... a| 00000720 6c 70 68 61 3e 31 36 30 20 8c 20 78 3d 32 35 20 |lpha>160 . x=25 | 00000730 8b 20 78 3d 30 0d 04 9c 21 e7 20 61 6c 70 68 61 |. x=0...!. alpha| 00000740 3c 31 38 31 20 8c 20 73 74 61 74 3d b9 20 8b 20 |<181 . stat=. . | 00000750 73 74 61 74 3d a3 0d 04 a6 44 e7 20 73 74 61 74 |stat=....D. stat| 00000760 20 8c 20 ec 35 35 30 2d 78 6f 2d 28 61 6c 70 68 | . .550-xo-(alph| 00000770 61 2d 35 29 2a 32 2b 9b 28 74 68 65 74 61 2a af |a-5)*2+.(theta*.| 00000780 2f 31 38 30 29 2a 35 30 2c a4 79 28 74 68 65 74 |/180)*50,.y(thet| 00000790 61 2c 61 6c 70 68 61 2d 35 29 0d 04 b0 3d e7 20 |a,alpha-5)...=. | 000007a0 73 74 61 74 20 8c 20 df 35 35 30 2d 78 2d 61 6c |stat . .550-x-al| 000007b0 70 68 61 2a 32 2b 9b 28 74 68 65 74 61 2a af 2f |pha*2+.(theta*./| 000007c0 31 38 30 29 2a 35 30 2c a4 79 28 74 68 65 74 61 |180)*50,.y(theta| 000007d0 2c 61 6c 70 68 61 29 0d 04 ba 64 e7 20 73 74 61 |,alpha)...d. sta| 000007e0 74 20 80 20 28 28 61 6c 70 68 61 20 83 20 34 35 |t . ((alpha . 45| 000007f0 29 3d 30 20 84 20 61 6c 70 68 61 3d 2d 32 30 29 |)=0 . alpha=-20)| 00000800 20 8c 20 df 35 35 30 2d 78 2d 61 6c 70 68 61 2a | . .550-x-alpha*| 00000810 32 2b 9b 28 28 74 68 65 74 61 2d 33 30 29 2a af |2+.((theta-30)*.| 00000820 2f 31 38 30 29 2a 35 30 2c a4 79 28 74 68 65 74 |/180)*50,.y(thet| 00000830 61 2d 33 30 2c 61 6c 70 68 61 29 0d 04 c4 38 ec |a-30,alpha)...8.| 00000840 36 35 30 2b 28 61 6c 70 68 61 2d 35 29 2a 32 2b |650+(alpha-5)*2+| 00000850 9b 28 74 68 65 74 61 2a af 2f 31 38 30 29 2a 35 |.(theta*./180)*5| 00000860 30 2c a4 79 28 74 68 65 74 61 2c 61 6c 70 68 61 |0,.y(theta,alpha| 00000870 2d 35 29 0d 04 ce 32 df 36 35 30 2b 61 6c 70 68 |-5)...2.650+alph| 00000880 61 2a 32 2b 9b 28 74 68 65 74 61 2a af 2f 31 38 |a*2+.(theta*./18| 00000890 30 29 2a 35 30 2c a4 79 28 74 68 65 74 61 2c 61 |0)*50,.y(theta,a| 000008a0 6c 70 68 61 29 0d 04 d8 4d e7 20 28 61 6c 70 68 |lpha)...M. (alph| 000008b0 61 20 83 20 34 35 29 3d 30 20 8c 20 df 36 35 30 |a . 45)=0 . .650| 000008c0 2b 61 6c 70 68 61 2a 32 2b 9b 28 28 74 68 65 74 |+alpha*2+.((thet| 000008d0 61 2d 33 30 29 2a af 2f 31 38 30 29 2a 35 30 2c |a-30)*./180)*50,| 000008e0 a4 79 28 74 68 65 74 61 2d 33 30 2c 61 6c 70 68 |.y(theta-30,alph| 000008f0 61 29 0d 04 e2 11 78 6f 3d 78 3a ed 3a 78 6f 3d |a)....xo=x:.:xo=| 00000900 30 3a ed 0d 04 ec 05 3a 0d 04 f6 1e 20 f4 20 42 |0:.....:.... . B| 00000910 65 65 70 20 61 6e 64 20 77 61 69 74 20 66 6f 72 |eep and wait for| 00000920 20 73 70 61 63 65 0d 05 00 26 f1 8a 37 2c 33 30 | space...&..7,30| 00000930 29 22 50 72 65 73 73 20 3c 53 50 41 43 45 3e 20 |)"Press <SPACE> | 00000940 74 6f 20 63 6f 6e 74 69 6e 75 65 22 0d 05 0a 11 |to continue"....| 00000950 ef 37 3a f5 20 fd 20 a6 28 2d 39 39 29 0d 05 14 |.7:. . .(-99)...| 00000960 05 e1 0d 05 1e 05 3a 0d 05 28 2e dd a4 79 28 74 |......:..(...y(t| 00000970 68 2c 61 6c 29 3d 36 30 30 2b 32 35 30 2a b5 28 |h,al)=600+250*.(| 00000980 74 68 2a af 2f 31 38 30 29 2a b5 28 61 6c 2a af |th*./180)*.(al*.| 00000990 2f 31 38 30 29 0d ff |/180)..| 00000997