Home » CEEFAX disks » telesoftware16.adl » 03-06-89/RoboMC
03-06-89/RoboMC
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 » CEEFAX disks » telesoftware16.adl |
Filename: | 03-06-89/RoboMC |
Read OK: | ✔ |
File size: | 14C4 bytes |
Load address: | 0800 |
Exec address: | 8023 |
File contents
10REM Smart Video File: RoboMC 20REM (C) BBC 1989 30ONERRORPROC4 40MODE3:PROC0:PRINTTAB(20,0)" Micro Live - Robotics ":PROC1:VDU28,0,24,79,3:PRINT"Industrial robots are jointed arms which move precisely,"'"under computer control.":PRINT'"Most have five or six jointed arms driven by electric motors" 50PRINT"They are more expensive than they look, but are useful for repetitive":PRINT"jobs, and jobs that require precise movements.)"':PRINT"Four main sub-systems can be identified in most robots:"':PRINT"1) The structure and mechanical design of the arm." 60PRINT"2) The motive power.":PRINT"3) The control and coordination (usually by computer).":PRINT"4) Sensors, for gathering information about position and environment."':PRINT"The number of joints a robot has determines its 'degrees of freedom'."' 70PRINT"One of the most important specifications of a robot arm is the number of":PRINT"'degrees of freedom' it has: this governs the movements it can perform."':PROC3:PRINT'"How many joints did the last robot we saw have?"':PROC@(1,"Two"):PROC@(2,"Three"):PROC@(3,"Six"):PROC2:REPEAT 80:_%=FN@(3,3):IFNOT_%PRINT"That is not right, try again" 90UNTIL_%:CLS:PRINT"3 - Yes, the robot we just saw has six degrees of freedom:":PRINT'"1 - Waist - swivels horizontally":PRINT"2 - Shoulder - swivels vertically":PRINT"3 - Elbow - swivels vertically":PRINT"4 - Wrist - rotates":PRINT"5 - Wrist - moves up and down" 100PRINT"6 - Hand - moves in and out":PRINT''"How many degrees of freedom do the human hand and wrist have?"':PROC@(1,"six"):PROC@(2,"seven"):PROC@(3,"four"):PROC2:REPEAT:_%=FN@(2,3):IFNOT_%PRINT'"Think about you own arm and then try again."' 110UNTIL_%:CLS:PRINT"2 - Yes, the human arm and wrist have seven degrees of freedom.":PRINT"The one that is often overlooked is that the upper arm can rotate within":PRINT"the shoulder socket, as well as move in two directions." 120PRINT'"If you need a robot arm to pick up components from a shelf, simple in-out":PRINT"and up and down movements would suffice. But if the robot must reach":PRINT"into awkward spaces - often the case with paint spraying or spot welding -" 130PRINT"then a jointed arm, with five or six rotary joints, has many advantages.":PRINT'"A robot's working envelope is an imaginary hemi-sphere with the robot":PRINT"at its centre. It defines the volume that the robot can reach." 140PRINT'"For a robot to have a three dimensional working envelope, it must have":PRINT"at least three degrees of freedom. Three degrees of freedom will position":PRINT"the end-effector anywhere within its working envelope, but if control" 150PRINT"over the direction from which an object is grasped is needed, then further":PRINT"degrees of freedom are necessary. The ideal is three for the arm and a":PRINT"further three for the end-effector, totalling six. This enables any" 160PRINT"object in the working envelope to be grasped from any angle.":PROC3:PRINT"If a robot only had three joints - a waist, shoulder and elbow - what":PRINT"problems would it encounter?"':PROC@(1,"It would not be able to reach all of its working envelope.") 170PROC@(2,"It would be unable to position objects accurately"):PROC@(3,"It would have no control of the orientation of its end-effector"):PROC2:REPEAT:_%=FN@(3,3):IFNOT_%PRINT'"No, that is not right. Try again."' 180UNTIL_%:PRINT"3 - That is correct: it would have no control over the orientation of its":PRINT"end-effector and so could not rotate or angle its hands to work with tools.":PRINT"For a robot to have a three dimensional working envelope, it must have at" 190PRINT"least three degrees of freedom. Three degrees of freedom will position":PRINT"the end-effector anywhere within the working envelope, but if control":PRINT"over the direction from which an object is grasped is needed, then further" 200PRINT"degrees of freedom are necessary. The ideal is three for the arm and a":PRINT"further three for the end-effector, totalling six. This enables any object":PRINT"in the working envelope to be grasped from any angle.":PROC3 210PRINT"How many controlling computers did the industrial robot have?"':PROC@(1,"Seven, one per joint and one for overall control"):PROC@(2,"Only one"):PROC@(3,"Twenty-two"):PROC2:REPEAT:_%=FN@(1,3):IFNOT_%PRINT'"Incorrect. Try again."' 220UNTIL_%:CLS:PRINT'"1 - Yes the Puma has seven controlling computers, one for each joint,":PRINT"and one larger computer to calculate where all the joint motors need to":PRINT"be at any one time, to get the 'hand' into the right position and" 230PRINT"orientation. This is called 'distributed control' because the":PRINT"responsibilities of controlling what is going on at the joints":PRINT"themselves are delegated to the smaller computers." 240PRINT'"To move the robot to a new position, the main computer has to decide":PRINT"how far, and in what sequence, to rotate each motor.":PRINT'"The controlling computer for each joint must then drive the joint motors" 250PRINT"in the direction chosen; but how does it know when to stop? That's":PRINT"the subject of the next section.":PROC0:PRINT'"Press the RETURN key to return to the main program.":PROC1:`%=GET:CHAIN"Smart99" 260DEFFN@(a%,b%):REPEAT:*FX15,1 270K%=GET:UNTILK%>48ANDK%<(49+b%):K%=K%-48:IFK%=a%THEN=TRUEELSE=FALSE 280DEFPROC0:COLOUR129:COLOUR0:ENDPROC 290DEFPROC1:COLOUR128:COLOUR1:ENDPROC 300DEFPROC2:PRINT:PROC0:PRINT" Press the number key corresponding with your answer ";:PROC1:PRINT':ENDPROC 310DEFPROC@(c%,H$):PRINTSPC(10);:PROC0:PRINT" ";STR$c%;" ";:PROC1:PRINT" - ";H$:ENDPROC 320DEFPROC3:PRINT'"Press the ";:PROC0:PRINT" RETURN ";:PROC1:PRINT" key to continue.":REPEAT:*FX15,1 330`%=GET:UNTIL`%=13:CLS:ENDPROC 340DEFPROC4:IFERR<>17REPORT:PRINT" at line ";ERL:END 350PROC0:PRINT" Press R to restart this section and X to return to the main program ";:PROC1:REPEAT:G$=GET$:UNTILG$="R"ORG$="r"ORG$="X"ORG$="x":IFG$="R"ORG$="r"RUNELSECLEAR:MODE7:OSCLI("L. SCREEN FFFF7C00"):VDU28,5,23,36,11:CHAIN"Smart99" 360END
� Smart Video File: RoboMC � (C) BBC 1989 ��4 (��3:�0:�20,0)" Micro Live - Robotics ":�1:�28,0,24,79,3:�"Industrial robots are jointed arms which move precisely,"'"under computer control.":�'"Most have five or six jointed arms driven by electric motors" 2��"They are more expensive than they look, but are useful for repetitive":�"jobs, and jobs that require precise movements.)"':�"Four main sub-systems can be identified in most robots:"':�"1) The structure and mechanical design of the arm." <��"2) The motive power.":�"3) The control and coordination (usually by computer).":�"4) Sensors, for gathering information about position and environment."':�"The number of joints a robot has determines its 'degrees of freedom'."' F��"One of the most important specifications of a robot arm is the number of":�"'degrees of freedom' it has: this governs the movements it can perform."':�3:�'"How many joints did the last robot we saw have?"':�@(1,"Two"):�@(2,"Three"):�@(3,"Six"):�2:� P3:_%=�@(3,3):�_%�"That is not right, try again" Z�_%:�:�"3 - Yes, the robot we just saw has six degrees of freedom:":�'"1 - Waist - swivels horizontally":�"2 - Shoulder - swivels vertically":�"3 - Elbow - swivels vertically":�"4 - Wrist - rotates":�"5 - Wrist - moves up and down" d��"6 - Hand - moves in and out":�''"How many degrees of freedom do the human hand and wrist have?"':�@(1,"six"):�@(2,"seven"):�@(3,"four"):�2:�:_%=�@(2,3):�_%�'"Think about you own arm and then try again."' n�_%:�:�"2 - Yes, the human arm and wrist have seven degrees of freedom.":�"The one that is often overlooked is that the upper arm can rotate within":�"the shoulder socket, as well as move in two directions." x��'"If you need a robot arm to pick up components from a shelf, simple in-out":�"and up and down movements would suffice. But if the robot must reach":�"into awkward spaces - often the case with paint spraying or spot welding -" ���"then a jointed arm, with five or six rotary joints, has many advantages.":�'"A robot's working envelope is an imaginary hemi-sphere with the robot":�"at its centre. It defines the volume that the robot can reach." ���'"For a robot to have a three dimensional working envelope, it must have":�"at least three degrees of freedom. Three degrees of freedom will position":�"the end-effector anywhere within its working envelope, but if control" ���"over the direction from which an object is grasped is needed, then further":�"degrees of freedom are necessary. The ideal is three for the arm and a":�"further three for the end-effector, totalling six. This enables any" ���"object in the working envelope to be grasped from any angle.":�3:�"If a robot only had three joints - a waist, shoulder and elbow - what":�"problems would it encounter?"':�@(1,"It would not be able to reach all of its working envelope.") ���@(2,"It would be unable to position objects accurately"):�@(3,"It would have no control of the orientation of its end-effector"):�2:�:_%=�@(3,3):�_%�'"No, that is not right. Try again."' ��_%:�"3 - That is correct: it would have no control over the orientation of its":�"end-effector and so could not rotate or angle its hands to work with tools.":�"For a robot to have a three dimensional working envelope, it must have at" ���"least three degrees of freedom. Three degrees of freedom will position":�"the end-effector anywhere within the working envelope, but if control":�"over the direction from which an object is grasped is needed, then further" ���"degrees of freedom are necessary. The ideal is three for the arm and a":�"further three for the end-effector, totalling six. This enables any object":�"in the working envelope to be grasped from any angle.":�3 ���"How many controlling computers did the industrial robot have?"':�@(1,"Seven, one per joint and one for overall control"):�@(2,"Only one"):�@(3,"Twenty-two"):�2:�:_%=�@(1,3):�_%�'"Incorrect. Try again."' ��_%:�:�'"1 - Yes the Puma has seven controlling computers, one for each joint,":�"and one larger computer to calculate where all the joint motors need to":�"be at any one time, to get the 'hand' into the right position and" ��"orientation. This is called 'distributed control' because the":�"responsibilities of controlling what is going on at the joints":�"themselves are delegated to the smaller computers." ���'"To move the robot to a new position, the main computer has to decide":�"how far, and in what sequence, to rotate each motor.":�'"The controlling computer for each joint must then drive the joint motors" ���"in the direction chosen; but how does it know when to stop? That's":�"the subject of the next section.":�0:�'"Press the RETURN key to return to the main program.":�1:`%=�:�"Smart99" ݤ@(a%,b%):�:*FX15,1 0K%=�:�K%>48�K%<(49+b%):K%=K%-48:�K%=a%�=��=� ��0:�129:�0:� "��1:�128:�1:� ,N��2:�:�0:�" Press the number key corresponding with your answer ";:�1:�':� 67��@(c%,H$):�(10);:�0:�" ";�c%;" ";:�1:�" - ";H$:� @I��3:�'"Press the ";:�0:�" RETURN ";:�1:�" key to continue.":�:*FX15,1 J`%=�:�`%=13:�:� T ��4:�<>17�:�" at line ";�:� ^��0:�" Press R to restart this section and X to return to the main program ";:�1:�:G$=�:�G$="R"�G$="r"�G$="X"�G$="x":�G$="R"�G$="r"���:�7:�("L. SCREEN FFFF7C00"):�28,5,23,36,11:�"Smart99" h� �
00000000 0d 00 0a 1e f4 20 53 6d 61 72 74 20 56 69 64 65 |..... Smart Vide| 00000010 6f 20 46 69 6c 65 3a 20 52 6f 62 6f 4d 43 0d 00 |o File: RoboMC..| 00000020 14 12 f4 20 28 43 29 20 42 42 43 20 31 39 38 39 |... (C) BBC 1989| 00000030 0d 00 1e 08 ee 85 f2 34 0d 00 28 d4 eb 33 3a f2 |.......4..(..3:.| 00000040 30 3a f1 8a 32 30 2c 30 29 22 20 20 4d 69 63 72 |0:..20,0)" Micr| 00000050 6f 20 4c 69 76 65 20 2d 20 52 6f 62 6f 74 69 63 |o Live - Robotic| 00000060 73 20 20 22 3a f2 31 3a ef 32 38 2c 30 2c 32 34 |s ":.1:.28,0,24| 00000070 2c 37 39 2c 33 3a f1 22 49 6e 64 75 73 74 72 69 |,79,3:."Industri| 00000080 61 6c 20 72 6f 62 6f 74 73 20 61 72 65 20 6a 6f |al robots are jo| 00000090 69 6e 74 65 64 20 61 72 6d 73 20 77 68 69 63 68 |inted arms which| 000000a0 20 6d 6f 76 65 20 70 72 65 63 69 73 65 6c 79 2c | move precisely,| 000000b0 22 27 22 75 6e 64 65 72 20 63 6f 6d 70 75 74 65 |"'"under compute| 000000c0 72 20 63 6f 6e 74 72 6f 6c 2e 22 3a f1 27 22 4d |r control.":.'"M| 000000d0 6f 73 74 20 68 61 76 65 20 66 69 76 65 20 6f 72 |ost have five or| 000000e0 20 73 69 78 20 6a 6f 69 6e 74 65 64 20 61 72 6d | six jointed arm| 000000f0 73 20 64 72 69 76 65 6e 20 62 79 20 65 6c 65 63 |s driven by elec| 00000100 74 72 69 63 20 6d 6f 74 6f 72 73 22 0d 00 32 f2 |tric motors"..2.| 00000110 f1 22 54 68 65 79 20 61 72 65 20 6d 6f 72 65 20 |."They are more | 00000120 65 78 70 65 6e 73 69 76 65 20 74 68 61 6e 20 74 |expensive than t| 00000130 68 65 79 20 6c 6f 6f 6b 2c 20 62 75 74 20 61 72 |hey look, but ar| 00000140 65 20 75 73 65 66 75 6c 20 66 6f 72 20 72 65 70 |e useful for rep| 00000150 65 74 69 74 69 76 65 22 3a f1 22 6a 6f 62 73 2c |etitive":."jobs,| 00000160 20 61 6e 64 20 6a 6f 62 73 20 74 68 61 74 20 72 | and jobs that r| 00000170 65 71 75 69 72 65 20 70 72 65 63 69 73 65 20 6d |equire precise m| 00000180 6f 76 65 6d 65 6e 74 73 2e 29 22 27 3a f1 22 46 |ovements.)"':."F| 00000190 6f 75 72 20 6d 61 69 6e 20 73 75 62 2d 73 79 73 |our main sub-sys| 000001a0 74 65 6d 73 20 63 61 6e 20 62 65 20 69 64 65 6e |tems can be iden| 000001b0 74 69 66 69 65 64 20 69 6e 20 6d 6f 73 74 20 72 |tified in most r| 000001c0 6f 62 6f 74 73 3a 22 27 3a f1 22 31 29 20 54 68 |obots:"':."1) Th| 000001d0 65 20 73 74 72 75 63 74 75 72 65 20 61 6e 64 20 |e structure and | 000001e0 6d 65 63 68 61 6e 69 63 61 6c 20 64 65 73 69 67 |mechanical desig| 000001f0 6e 20 6f 66 20 74 68 65 20 61 72 6d 2e 22 0d 00 |n of the arm."..| 00000200 3c e9 f1 22 32 29 20 54 68 65 20 6d 6f 74 69 76 |<.."2) The motiv| 00000210 65 20 70 6f 77 65 72 2e 22 3a f1 22 33 29 20 54 |e power.":."3) T| 00000220 68 65 20 63 6f 6e 74 72 6f 6c 20 61 6e 64 20 63 |he control and c| 00000230 6f 6f 72 64 69 6e 61 74 69 6f 6e 20 28 75 73 75 |oordination (usu| 00000240 61 6c 6c 79 20 62 79 20 63 6f 6d 70 75 74 65 72 |ally by computer| 00000250 29 2e 22 3a f1 22 34 29 20 53 65 6e 73 6f 72 73 |).":."4) Sensors| 00000260 2c 20 66 6f 72 20 67 61 74 68 65 72 69 6e 67 20 |, for gathering | 00000270 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 75 |information abou| 00000280 74 20 70 6f 73 69 74 69 6f 6e 20 61 6e 64 20 65 |t position and e| 00000290 6e 76 69 72 6f 6e 6d 65 6e 74 2e 22 27 3a f1 22 |nvironment."':."| 000002a0 54 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 6a 6f |The number of jo| 000002b0 69 6e 74 73 20 61 20 72 6f 62 6f 74 20 68 61 73 |ints a robot has| 000002c0 20 64 65 74 65 72 6d 69 6e 65 73 20 69 74 73 20 | determines its | 000002d0 27 64 65 67 72 65 65 73 20 6f 66 20 66 72 65 65 |'degrees of free| 000002e0 64 6f 6d 27 2e 22 27 0d 00 46 fe f1 22 4f 6e 65 |dom'."'..F.."One| 000002f0 20 6f 66 20 74 68 65 20 6d 6f 73 74 20 69 6d 70 | of the most imp| 00000300 6f 72 74 61 6e 74 20 73 70 65 63 69 66 69 63 61 |ortant specifica| 00000310 74 69 6f 6e 73 20 6f 66 20 61 20 72 6f 62 6f 74 |tions of a robot| 00000320 20 61 72 6d 20 69 73 20 74 68 65 20 6e 75 6d 62 | arm is the numb| 00000330 65 72 20 6f 66 22 3a f1 22 27 64 65 67 72 65 65 |er of":."'degree| 00000340 73 20 6f 66 20 66 72 65 65 64 6f 6d 27 20 69 74 |s of freedom' it| 00000350 20 68 61 73 3a 20 74 68 69 73 20 67 6f 76 65 72 | has: this gover| 00000360 6e 73 20 74 68 65 20 6d 6f 76 65 6d 65 6e 74 73 |ns the movements| 00000370 20 69 74 20 63 61 6e 20 70 65 72 66 6f 72 6d 2e | it can perform.| 00000380 22 27 3a f2 33 3a f1 27 22 48 6f 77 20 6d 61 6e |"':.3:.'"How man| 00000390 79 20 6a 6f 69 6e 74 73 20 64 69 64 20 74 68 65 |y joints did the| 000003a0 20 6c 61 73 74 20 72 6f 62 6f 74 20 77 65 20 73 | last robot we s| 000003b0 61 77 20 68 61 76 65 3f 22 27 3a f2 40 28 31 2c |aw have?"':.@(1,| 000003c0 22 54 77 6f 22 29 3a f2 40 28 32 2c 22 54 68 72 |"Two"):.@(2,"Thr| 000003d0 65 65 22 29 3a f2 40 28 33 2c 22 53 69 78 22 29 |ee"):.@(3,"Six")| 000003e0 3a f2 32 3a f5 0d 00 50 33 3a 5f 25 3d a4 40 28 |:.2:...P3:_%=.@(| 000003f0 33 2c 33 29 3a e7 ac 5f 25 f1 22 54 68 61 74 20 |3,3):.._%."That | 00000400 69 73 20 6e 6f 74 20 72 69 67 68 74 2c 20 74 72 |is not right, tr| 00000410 79 20 61 67 61 69 6e 22 0d 00 5a eb fd 5f 25 3a |y again"..Z.._%:| 00000420 db 3a f1 22 33 20 2d 20 59 65 73 2c 20 74 68 65 |.:."3 - Yes, the| 00000430 20 72 6f 62 6f 74 20 77 65 20 6a 75 73 74 20 73 | robot we just s| 00000440 61 77 20 68 61 73 20 73 69 78 20 64 65 67 72 65 |aw has six degre| 00000450 65 73 20 6f 66 20 66 72 65 65 64 6f 6d 3a 22 3a |es of freedom:":| 00000460 f1 27 22 31 20 2d 20 57 61 69 73 74 20 2d 20 73 |.'"1 - Waist - s| 00000470 77 69 76 65 6c 73 20 68 6f 72 69 7a 6f 6e 74 61 |wivels horizonta| 00000480 6c 6c 79 22 3a f1 22 32 20 2d 20 53 68 6f 75 6c |lly":."2 - Shoul| 00000490 64 65 72 20 2d 20 73 77 69 76 65 6c 73 20 76 65 |der - swivels ve| 000004a0 72 74 69 63 61 6c 6c 79 22 3a f1 22 33 20 2d 20 |rtically":."3 - | 000004b0 45 6c 62 6f 77 20 2d 20 73 77 69 76 65 6c 73 20 |Elbow - swivels | 000004c0 76 65 72 74 69 63 61 6c 6c 79 22 3a f1 22 34 20 |vertically":."4 | 000004d0 2d 20 57 72 69 73 74 20 2d 20 72 6f 74 61 74 65 |- Wrist - rotate| 000004e0 73 22 3a f1 22 35 20 2d 20 57 72 69 73 74 20 2d |s":."5 - Wrist -| 000004f0 20 6d 6f 76 65 73 20 75 70 20 61 6e 64 20 64 6f | moves up and do| 00000500 77 6e 22 0d 00 64 d2 f1 22 36 20 2d 20 48 61 6e |wn"..d.."6 - Han| 00000510 64 20 2d 20 6d 6f 76 65 73 20 69 6e 20 61 6e 64 |d - moves in and| 00000520 20 6f 75 74 22 3a f1 27 27 22 48 6f 77 20 6d 61 | out":.''"How ma| 00000530 6e 79 20 64 65 67 72 65 65 73 20 6f 66 20 66 72 |ny degrees of fr| 00000540 65 65 64 6f 6d 20 64 6f 20 74 68 65 20 68 75 6d |eedom do the hum| 00000550 61 6e 20 68 61 6e 64 20 61 6e 64 20 77 72 69 73 |an hand and wris| 00000560 74 20 68 61 76 65 3f 22 27 3a f2 40 28 31 2c 22 |t have?"':.@(1,"| 00000570 73 69 78 22 29 3a f2 40 28 32 2c 22 73 65 76 65 |six"):.@(2,"seve| 00000580 6e 22 29 3a f2 40 28 33 2c 22 66 6f 75 72 22 29 |n"):.@(3,"four")| 00000590 3a f2 32 3a f5 3a 5f 25 3d a4 40 28 32 2c 33 29 |:.2:.:_%=.@(2,3)| 000005a0 3a e7 ac 5f 25 f1 27 22 54 68 69 6e 6b 20 61 62 |:.._%.'"Think ab| 000005b0 6f 75 74 20 79 6f 75 20 6f 77 6e 20 61 72 6d 20 |out you own arm | 000005c0 61 6e 64 20 74 68 65 6e 20 74 72 79 20 61 67 61 |and then try aga| 000005d0 69 6e 2e 22 27 0d 00 6e d3 fd 5f 25 3a db 3a f1 |in."'..n.._%:.:.| 000005e0 22 32 20 2d 20 59 65 73 2c 20 74 68 65 20 68 75 |"2 - Yes, the hu| 000005f0 6d 61 6e 20 61 72 6d 20 61 6e 64 20 77 72 69 73 |man arm and wris| 00000600 74 20 68 61 76 65 20 73 65 76 65 6e 20 64 65 67 |t have seven deg| 00000610 72 65 65 73 20 6f 66 20 66 72 65 65 64 6f 6d 2e |rees of freedom.| 00000620 22 3a f1 22 54 68 65 20 6f 6e 65 20 74 68 61 74 |":."The one that| 00000630 20 69 73 20 6f 66 74 65 6e 20 6f 76 65 72 6c 6f | is often overlo| 00000640 6f 6b 65 64 20 69 73 20 74 68 61 74 20 74 68 65 |oked is that the| 00000650 20 75 70 70 65 72 20 61 72 6d 20 63 61 6e 20 72 | upper arm can r| 00000660 6f 74 61 74 65 20 77 69 74 68 69 6e 22 3a f1 22 |otate within":."| 00000670 74 68 65 20 73 68 6f 75 6c 64 65 72 20 73 6f 63 |the shoulder soc| 00000680 6b 65 74 2c 20 61 73 20 77 65 6c 6c 20 61 73 20 |ket, as well as | 00000690 6d 6f 76 65 20 69 6e 20 74 77 6f 20 64 69 72 65 |move in two dire| 000006a0 63 74 69 6f 6e 73 2e 22 0d 00 78 e8 f1 27 22 49 |ctions."..x..'"I| 000006b0 66 20 79 6f 75 20 6e 65 65 64 20 61 20 72 6f 62 |f you need a rob| 000006c0 6f 74 20 61 72 6d 20 74 6f 20 70 69 63 6b 20 75 |ot arm to pick u| 000006d0 70 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 66 72 6f |p components fro| 000006e0 6d 20 61 20 73 68 65 6c 66 2c 20 73 69 6d 70 6c |m a shelf, simpl| 000006f0 65 20 69 6e 2d 6f 75 74 22 3a f1 22 61 6e 64 20 |e in-out":."and | 00000700 75 70 20 61 6e 64 20 64 6f 77 6e 20 6d 6f 76 65 |up and down move| 00000710 6d 65 6e 74 73 20 77 6f 75 6c 64 20 73 75 66 66 |ments would suff| 00000720 69 63 65 2e 20 20 42 75 74 20 69 66 20 74 68 65 |ice. But if the| 00000730 20 72 6f 62 6f 74 20 6d 75 73 74 20 72 65 61 63 | robot must reac| 00000740 68 22 3a f1 22 69 6e 74 6f 20 61 77 6b 77 61 72 |h":."into awkwar| 00000750 64 20 73 70 61 63 65 73 20 2d 20 6f 66 74 65 6e |d spaces - often| 00000760 20 74 68 65 20 63 61 73 65 20 77 69 74 68 20 70 | the case with p| 00000770 61 69 6e 74 20 73 70 72 61 79 69 6e 67 20 6f 72 |aint spraying or| 00000780 20 73 70 6f 74 20 77 65 6c 64 69 6e 67 20 2d 22 | spot welding -"| 00000790 0d 00 82 dc f1 22 74 68 65 6e 20 61 20 6a 6f 69 |....."then a joi| 000007a0 6e 74 65 64 20 61 72 6d 2c 20 77 69 74 68 20 66 |nted arm, with f| 000007b0 69 76 65 20 6f 72 20 73 69 78 20 72 6f 74 61 72 |ive or six rotar| 000007c0 79 20 6a 6f 69 6e 74 73 2c 20 68 61 73 20 6d 61 |y joints, has ma| 000007d0 6e 79 20 61 64 76 61 6e 74 61 67 65 73 2e 22 3a |ny advantages.":| 000007e0 f1 27 22 41 20 72 6f 62 6f 74 27 73 20 77 6f 72 |.'"A robot's wor| 000007f0 6b 69 6e 67 20 65 6e 76 65 6c 6f 70 65 20 69 73 |king envelope is| 00000800 20 61 6e 20 69 6d 61 67 69 6e 61 72 79 20 68 65 | an imaginary he| 00000810 6d 69 2d 73 70 68 65 72 65 20 77 69 74 68 20 74 |mi-sphere with t| 00000820 68 65 20 72 6f 62 6f 74 22 3a f1 22 61 74 20 69 |he robot":."at i| 00000830 74 73 20 63 65 6e 74 72 65 2e 20 20 49 74 20 64 |ts centre. It d| 00000840 65 66 69 6e 65 73 20 74 68 65 20 76 6f 6c 75 6d |efines the volum| 00000850 65 20 74 68 61 74 20 74 68 65 20 72 6f 62 6f 74 |e that the robot| 00000860 20 63 61 6e 20 72 65 61 63 68 2e 22 0d 00 8c e5 | can reach."....| 00000870 f1 27 22 46 6f 72 20 61 20 72 6f 62 6f 74 20 74 |.'"For a robot t| 00000880 6f 20 68 61 76 65 20 61 20 74 68 72 65 65 20 64 |o have a three d| 00000890 69 6d 65 6e 73 69 6f 6e 61 6c 20 77 6f 72 6b 69 |imensional worki| 000008a0 6e 67 20 65 6e 76 65 6c 6f 70 65 2c 20 69 74 20 |ng envelope, it | 000008b0 6d 75 73 74 20 68 61 76 65 22 3a f1 22 61 74 20 |must have":."at | 000008c0 6c 65 61 73 74 20 74 68 72 65 65 20 64 65 67 72 |least three degr| 000008d0 65 65 73 20 6f 66 20 66 72 65 65 64 6f 6d 2e 20 |ees of freedom. | 000008e0 20 54 68 72 65 65 20 64 65 67 72 65 65 73 20 6f | Three degrees o| 000008f0 66 20 66 72 65 65 64 6f 6d 20 77 69 6c 6c 20 70 |f freedom will p| 00000900 6f 73 69 74 69 6f 6e 22 3a f1 22 74 68 65 20 65 |osition":."the e| 00000910 6e 64 2d 65 66 66 65 63 74 6f 72 20 61 6e 79 77 |nd-effector anyw| 00000920 68 65 72 65 20 77 69 74 68 69 6e 20 69 74 73 20 |here within its | 00000930 77 6f 72 6b 69 6e 67 20 65 6e 76 65 6c 6f 70 65 |working envelope| 00000940 2c 20 62 75 74 20 69 66 20 63 6f 6e 74 72 6f 6c |, but if control| 00000950 22 0d 00 96 e4 f1 22 6f 76 65 72 20 74 68 65 20 |"....."over the | 00000960 64 69 72 65 63 74 69 6f 6e 20 66 72 6f 6d 20 77 |direction from w| 00000970 68 69 63 68 20 61 6e 20 6f 62 6a 65 63 74 20 69 |hich an object i| 00000980 73 20 67 72 61 73 70 65 64 20 69 73 20 6e 65 65 |s grasped is nee| 00000990 64 65 64 2c 20 74 68 65 6e 20 66 75 72 74 68 65 |ded, then furthe| 000009a0 72 22 3a f1 22 64 65 67 72 65 65 73 20 6f 66 20 |r":."degrees of | 000009b0 66 72 65 65 64 6f 6d 20 61 72 65 20 6e 65 63 65 |freedom are nece| 000009c0 73 73 61 72 79 2e 20 20 54 68 65 20 69 64 65 61 |ssary. The idea| 000009d0 6c 20 69 73 20 74 68 72 65 65 20 66 6f 72 20 74 |l is three for t| 000009e0 68 65 20 61 72 6d 20 61 6e 64 20 61 22 3a f1 22 |he arm and a":."| 000009f0 66 75 72 74 68 65 72 20 74 68 72 65 65 20 66 6f |further three fo| 00000a00 72 20 74 68 65 20 65 6e 64 2d 65 66 66 65 63 74 |r the end-effect| 00000a10 6f 72 2c 20 74 6f 74 61 6c 6c 69 6e 67 20 73 69 |or, totalling si| 00000a20 78 2e 20 20 54 68 69 73 20 65 6e 61 62 6c 65 73 |x. This enables| 00000a30 20 61 6e 79 22 0d 00 a0 f3 f1 22 6f 62 6a 65 63 | any"....."objec| 00000a40 74 20 69 6e 20 74 68 65 20 77 6f 72 6b 69 6e 67 |t in the working| 00000a50 20 65 6e 76 65 6c 6f 70 65 20 74 6f 20 62 65 20 | envelope to be | 00000a60 67 72 61 73 70 65 64 20 66 72 6f 6d 20 61 6e 79 |grasped from any| 00000a70 20 61 6e 67 6c 65 2e 22 3a f2 33 3a f1 22 49 66 | angle.":.3:."If| 00000a80 20 61 20 72 6f 62 6f 74 20 6f 6e 6c 79 20 68 61 | a robot only ha| 00000a90 64 20 74 68 72 65 65 20 6a 6f 69 6e 74 73 20 2d |d three joints -| 00000aa0 20 61 20 77 61 69 73 74 2c 20 73 68 6f 75 6c 64 | a waist, should| 00000ab0 65 72 20 61 6e 64 20 65 6c 62 6f 77 20 2d 20 77 |er and elbow - w| 00000ac0 68 61 74 22 3a f1 22 70 72 6f 62 6c 65 6d 73 20 |hat":."problems | 00000ad0 77 6f 75 6c 64 20 69 74 20 65 6e 63 6f 75 6e 74 |would it encount| 00000ae0 65 72 3f 22 27 3a f2 40 28 31 2c 22 49 74 20 77 |er?"':.@(1,"It w| 00000af0 6f 75 6c 64 20 6e 6f 74 20 62 65 20 61 62 6c 65 |ould not be able| 00000b00 20 74 6f 20 72 65 61 63 68 20 61 6c 6c 20 6f 66 | to reach all of| 00000b10 20 69 74 73 20 77 6f 72 6b 69 6e 67 20 65 6e 76 | its working env| 00000b20 65 6c 6f 70 65 2e 22 29 0d 00 aa c0 f2 40 28 32 |elope.").....@(2| 00000b30 2c 22 49 74 20 77 6f 75 6c 64 20 62 65 20 75 6e |,"It would be un| 00000b40 61 62 6c 65 20 74 6f 20 70 6f 73 69 74 69 6f 6e |able to position| 00000b50 20 6f 62 6a 65 63 74 73 20 61 63 63 75 72 61 74 | objects accurat| 00000b60 65 6c 79 22 29 3a f2 40 28 33 2c 22 49 74 20 77 |ely"):.@(3,"It w| 00000b70 6f 75 6c 64 20 68 61 76 65 20 6e 6f 20 63 6f 6e |ould have no con| 00000b80 74 72 6f 6c 20 6f 66 20 74 68 65 20 6f 72 69 65 |trol of the orie| 00000b90 6e 74 61 74 69 6f 6e 20 6f 66 20 69 74 73 20 65 |ntation of its e| 00000ba0 6e 64 2d 65 66 66 65 63 74 6f 72 22 29 3a f2 32 |nd-effector"):.2| 00000bb0 3a f5 3a 5f 25 3d a4 40 28 33 2c 33 29 3a e7 ac |:.:_%=.@(3,3):..| 00000bc0 5f 25 f1 27 22 4e 6f 2c 20 74 68 61 74 20 69 73 |_%.'"No, that is| 00000bd0 20 6e 6f 74 20 72 69 67 68 74 2e 20 54 72 79 20 | not right. Try | 00000be0 61 67 61 69 6e 2e 22 27 0d 00 b4 f0 fd 5f 25 3a |again."'....._%:| 00000bf0 f1 22 33 20 2d 20 54 68 61 74 20 69 73 20 63 6f |."3 - That is co| 00000c00 72 72 65 63 74 3a 20 69 74 20 77 6f 75 6c 64 20 |rrect: it would | 00000c10 68 61 76 65 20 6e 6f 20 63 6f 6e 74 72 6f 6c 20 |have no control | 00000c20 6f 76 65 72 20 74 68 65 20 6f 72 69 65 6e 74 61 |over the orienta| 00000c30 74 69 6f 6e 20 6f 66 20 69 74 73 22 3a f1 22 65 |tion of its":."e| 00000c40 6e 64 2d 65 66 66 65 63 74 6f 72 20 61 6e 64 20 |nd-effector and | 00000c50 73 6f 20 63 6f 75 6c 64 20 6e 6f 74 20 72 6f 74 |so could not rot| 00000c60 61 74 65 20 6f 72 20 61 6e 67 6c 65 20 69 74 73 |ate or angle its| 00000c70 20 68 61 6e 64 73 20 74 6f 20 77 6f 72 6b 20 77 | hands to work w| 00000c80 69 74 68 20 74 6f 6f 6c 73 2e 22 3a f1 22 46 6f |ith tools.":."Fo| 00000c90 72 20 61 20 72 6f 62 6f 74 20 74 6f 20 68 61 76 |r a robot to hav| 00000ca0 65 20 61 20 74 68 72 65 65 20 64 69 6d 65 6e 73 |e a three dimens| 00000cb0 69 6f 6e 61 6c 20 77 6f 72 6b 69 6e 67 20 65 6e |ional working en| 00000cc0 76 65 6c 6f 70 65 2c 20 69 74 20 6d 75 73 74 20 |velope, it must | 00000cd0 68 61 76 65 20 61 74 22 0d 00 be e5 f1 22 6c 65 |have at"....."le| 00000ce0 61 73 74 20 74 68 72 65 65 20 64 65 67 72 65 65 |ast three degree| 00000cf0 73 20 6f 66 20 66 72 65 65 64 6f 6d 2e 20 20 54 |s of freedom. T| 00000d00 68 72 65 65 20 64 65 67 72 65 65 73 20 6f 66 20 |hree degrees of | 00000d10 66 72 65 65 64 6f 6d 20 77 69 6c 6c 20 70 6f 73 |freedom will pos| 00000d20 69 74 69 6f 6e 22 3a f1 22 74 68 65 20 65 6e 64 |ition":."the end| 00000d30 2d 65 66 66 65 63 74 6f 72 20 61 6e 79 77 68 65 |-effector anywhe| 00000d40 72 65 20 77 69 74 68 69 6e 20 74 68 65 20 77 6f |re within the wo| 00000d50 72 6b 69 6e 67 20 65 6e 76 65 6c 6f 70 65 2c 20 |rking envelope, | 00000d60 62 75 74 20 69 66 20 63 6f 6e 74 72 6f 6c 22 3a |but if control":| 00000d70 f1 22 6f 76 65 72 20 74 68 65 20 64 69 72 65 63 |."over the direc| 00000d80 74 69 6f 6e 20 66 72 6f 6d 20 77 68 69 63 68 20 |tion from which | 00000d90 61 6e 20 6f 62 6a 65 63 74 20 69 73 20 67 72 61 |an object is gra| 00000da0 73 70 65 64 20 69 73 20 6e 65 65 64 65 64 2c 20 |sped is needed, | 00000db0 74 68 65 6e 20 66 75 72 74 68 65 72 22 0d 00 c8 |then further"...| 00000dc0 d9 f1 22 64 65 67 72 65 65 73 20 6f 66 20 66 72 |.."degrees of fr| 00000dd0 65 65 64 6f 6d 20 61 72 65 20 6e 65 63 65 73 73 |eedom are necess| 00000de0 61 72 79 2e 20 20 54 68 65 20 69 64 65 61 6c 20 |ary. The ideal | 00000df0 69 73 20 74 68 72 65 65 20 66 6f 72 20 74 68 65 |is three for the| 00000e00 20 61 72 6d 20 61 6e 64 20 61 22 3a f1 22 66 75 | arm and a":."fu| 00000e10 72 74 68 65 72 20 74 68 72 65 65 20 66 6f 72 20 |rther three for | 00000e20 74 68 65 20 65 6e 64 2d 65 66 66 65 63 74 6f 72 |the end-effector| 00000e30 2c 20 74 6f 74 61 6c 6c 69 6e 67 20 73 69 78 2e |, totalling six.| 00000e40 20 20 54 68 69 73 20 65 6e 61 62 6c 65 73 20 61 | This enables a| 00000e50 6e 79 20 6f 62 6a 65 63 74 22 3a f1 22 69 6e 20 |ny object":."in | 00000e60 74 68 65 20 77 6f 72 6b 69 6e 67 20 65 6e 76 65 |the working enve| 00000e70 6c 6f 70 65 20 74 6f 20 62 65 20 67 72 61 73 70 |lope to be grasp| 00000e80 65 64 20 66 72 6f 6d 20 61 6e 79 20 61 6e 67 6c |ed from any angl| 00000e90 65 2e 22 3a f2 33 0d 00 d2 d1 f1 22 48 6f 77 20 |e.":.3....."How | 00000ea0 6d 61 6e 79 20 63 6f 6e 74 72 6f 6c 6c 69 6e 67 |many controlling| 00000eb0 20 63 6f 6d 70 75 74 65 72 73 20 64 69 64 20 74 | computers did t| 00000ec0 68 65 20 69 6e 64 75 73 74 72 69 61 6c 20 72 6f |he industrial ro| 00000ed0 62 6f 74 20 68 61 76 65 3f 22 27 3a f2 40 28 31 |bot have?"':.@(1| 00000ee0 2c 22 53 65 76 65 6e 2c 20 6f 6e 65 20 70 65 72 |,"Seven, one per| 00000ef0 20 6a 6f 69 6e 74 20 61 6e 64 20 6f 6e 65 20 66 | joint and one f| 00000f00 6f 72 20 6f 76 65 72 61 6c 6c 20 63 6f 6e 74 72 |or overall contr| 00000f10 6f 6c 22 29 3a f2 40 28 32 2c 22 4f 6e 6c 79 20 |ol"):.@(2,"Only | 00000f20 6f 6e 65 22 29 3a f2 40 28 33 2c 22 54 77 65 6e |one"):.@(3,"Twen| 00000f30 74 79 2d 74 77 6f 22 29 3a f2 32 3a f5 3a 5f 25 |ty-two"):.2:.:_%| 00000f40 3d a4 40 28 31 2c 33 29 3a e7 ac 5f 25 f1 27 22 |=.@(1,3):.._%.'"| 00000f50 49 6e 63 6f 72 72 65 63 74 2e 20 54 72 79 20 61 |Incorrect. Try a| 00000f60 67 61 69 6e 2e 22 27 0d 00 dc e3 fd 5f 25 3a db |gain."'....._%:.| 00000f70 3a f1 27 22 31 20 2d 20 59 65 73 20 74 68 65 20 |:.'"1 - Yes the | 00000f80 50 75 6d 61 20 68 61 73 20 73 65 76 65 6e 20 63 |Puma has seven c| 00000f90 6f 6e 74 72 6f 6c 6c 69 6e 67 20 63 6f 6d 70 75 |ontrolling compu| 00000fa0 74 65 72 73 2c 20 6f 6e 65 20 66 6f 72 20 65 61 |ters, one for ea| 00000fb0 63 68 20 6a 6f 69 6e 74 2c 22 3a f1 22 61 6e 64 |ch joint,":."and| 00000fc0 20 6f 6e 65 20 6c 61 72 67 65 72 20 63 6f 6d 70 | one larger comp| 00000fd0 75 74 65 72 20 74 6f 20 63 61 6c 63 75 6c 61 74 |uter to calculat| 00000fe0 65 20 77 68 65 72 65 20 61 6c 6c 20 74 68 65 20 |e where all the | 00000ff0 6a 6f 69 6e 74 20 6d 6f 74 6f 72 73 20 6e 65 65 |joint motors nee| 00001000 64 20 74 6f 22 3a f1 22 62 65 20 61 74 20 61 6e |d to":."be at an| 00001010 79 20 6f 6e 65 20 74 69 6d 65 2c 20 74 6f 20 67 |y one time, to g| 00001020 65 74 20 74 68 65 20 27 68 61 6e 64 27 20 69 6e |et the 'hand' in| 00001030 74 6f 20 74 68 65 20 72 69 67 68 74 20 70 6f 73 |to the right pos| 00001040 69 74 69 6f 6e 20 61 6e 64 22 0d 00 e6 bd f1 22 |ition and"....."| 00001050 6f 72 69 65 6e 74 61 74 69 6f 6e 2e 20 20 54 68 |orientation. Th| 00001060 69 73 20 69 73 20 63 61 6c 6c 65 64 20 27 64 69 |is is called 'di| 00001070 73 74 72 69 62 75 74 65 64 20 63 6f 6e 74 72 6f |stributed contro| 00001080 6c 27 20 62 65 63 61 75 73 65 20 74 68 65 22 3a |l' because the":| 00001090 f1 22 72 65 73 70 6f 6e 73 69 62 69 6c 69 74 69 |."responsibiliti| 000010a0 65 73 20 6f 66 20 63 6f 6e 74 72 6f 6c 6c 69 6e |es of controllin| 000010b0 67 20 77 68 61 74 20 69 73 20 67 6f 69 6e 67 20 |g what is going | 000010c0 6f 6e 20 61 74 20 74 68 65 20 6a 6f 69 6e 74 73 |on at the joints| 000010d0 22 3a f1 22 74 68 65 6d 73 65 6c 76 65 73 20 61 |":."themselves a| 000010e0 72 65 20 64 65 6c 65 67 61 74 65 64 20 74 6f 20 |re delegated to | 000010f0 74 68 65 20 73 6d 61 6c 6c 65 72 20 63 6f 6d 70 |the smaller comp| 00001100 75 74 65 72 73 2e 22 0d 00 f0 d1 f1 27 22 54 6f |uters.".....'"To| 00001110 20 6d 6f 76 65 20 74 68 65 20 72 6f 62 6f 74 20 | move the robot | 00001120 74 6f 20 61 20 6e 65 77 20 70 6f 73 69 74 69 6f |to a new positio| 00001130 6e 2c 20 74 68 65 20 6d 61 69 6e 20 63 6f 6d 70 |n, the main comp| 00001140 75 74 65 72 20 68 61 73 20 74 6f 20 64 65 63 69 |uter has to deci| 00001150 64 65 22 3a f1 22 68 6f 77 20 66 61 72 2c 20 61 |de":."how far, a| 00001160 6e 64 20 69 6e 20 77 68 61 74 20 73 65 71 75 65 |nd in what seque| 00001170 6e 63 65 2c 20 74 6f 20 72 6f 74 61 74 65 20 65 |nce, to rotate e| 00001180 61 63 68 20 6d 6f 74 6f 72 2e 22 3a f1 27 22 54 |ach motor.":.'"T| 00001190 68 65 20 63 6f 6e 74 72 6f 6c 6c 69 6e 67 20 63 |he controlling c| 000011a0 6f 6d 70 75 74 65 72 20 66 6f 72 20 65 61 63 68 |omputer for each| 000011b0 20 6a 6f 69 6e 74 20 6d 75 73 74 20 74 68 65 6e | joint must then| 000011c0 20 64 72 69 76 65 20 74 68 65 20 6a 6f 69 6e 74 | drive the joint| 000011d0 20 6d 6f 74 6f 72 73 22 0d 00 fa bc f1 22 69 6e | motors"....."in| 000011e0 20 74 68 65 20 64 69 72 65 63 74 69 6f 6e 20 63 | the direction c| 000011f0 68 6f 73 65 6e 3b 20 62 75 74 20 68 6f 77 20 64 |hosen; but how d| 00001200 6f 65 73 20 69 74 20 6b 6e 6f 77 20 77 68 65 6e |oes it know when| 00001210 20 74 6f 20 73 74 6f 70 3f 20 20 54 68 61 74 27 | to stop? That'| 00001220 73 22 3a f1 22 74 68 65 20 73 75 62 6a 65 63 74 |s":."the subject| 00001230 20 6f 66 20 74 68 65 20 6e 65 78 74 20 73 65 63 | of the next sec| 00001240 74 69 6f 6e 2e 22 3a f2 30 3a f1 27 22 50 72 65 |tion.":.0:.'"Pre| 00001250 73 73 20 74 68 65 20 52 45 54 55 52 4e 20 6b 65 |ss the RETURN ke| 00001260 79 20 74 6f 20 72 65 74 75 72 6e 20 74 6f 20 74 |y to return to t| 00001270 68 65 20 6d 61 69 6e 20 70 72 6f 67 72 61 6d 2e |he main program.| 00001280 22 3a f2 31 3a 60 25 3d a5 3a d7 22 53 6d 61 72 |":.1:`%=.:."Smar| 00001290 74 39 39 22 0d 01 04 18 dd a4 40 28 61 25 2c 62 |t99"......@(a%,b| 000012a0 25 29 3a f5 3a 2a 46 58 31 35 2c 31 0d 01 0e 30 |%):.:*FX15,1...0| 000012b0 4b 25 3d a5 3a fd 4b 25 3e 34 38 80 4b 25 3c 28 |K%=.:.K%>48.K%<(| 000012c0 34 39 2b 62 25 29 3a 4b 25 3d 4b 25 2d 34 38 3a |49+b%):K%=K%-48:| 000012d0 e7 4b 25 3d 61 25 8c 3d b9 8b 3d a3 0d 01 18 11 |.K%=a%.=..=.....| 000012e0 dd f2 30 3a fb 31 32 39 3a fb 30 3a e1 0d 01 22 |..0:.129:.0:..."| 000012f0 11 dd f2 31 3a fb 31 32 38 3a fb 31 3a e1 0d 01 |...1:.128:.1:...| 00001300 2c 4e dd f2 32 3a f1 3a f2 30 3a f1 22 20 50 72 |,N..2:.:.0:." Pr| 00001310 65 73 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6b |ess the number k| 00001320 65 79 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 |ey corresponding| 00001330 20 77 69 74 68 20 79 6f 75 72 20 61 6e 73 77 65 | with your answe| 00001340 72 20 22 3b 3a f2 31 3a f1 27 3a e1 0d 01 36 37 |r ";:.1:.':...67| 00001350 dd f2 40 28 63 25 2c 48 24 29 3a f1 89 28 31 30 |..@(c%,H$):..(10| 00001360 29 3b 3a f2 30 3a f1 22 20 22 3b c3 63 25 3b 22 |);:.0:." ";.c%;"| 00001370 20 22 3b 3a f2 31 3a f1 22 20 2d 20 20 22 3b 48 | ";:.1:." - ";H| 00001380 24 3a e1 0d 01 40 49 dd f2 33 3a f1 27 22 50 72 |$:...@I..3:.'"Pr| 00001390 65 73 73 20 74 68 65 20 22 3b 3a f2 30 3a f1 22 |ess the ";:.0:."| 000013a0 20 52 45 54 55 52 4e 20 22 3b 3a f2 31 3a f1 22 | RETURN ";:.1:."| 000013b0 20 6b 65 79 20 74 6f 20 63 6f 6e 74 69 6e 75 65 | key to continue| 000013c0 2e 22 3a f5 3a 2a 46 58 31 35 2c 31 0d 01 4a 13 |.":.:*FX15,1..J.| 000013d0 60 25 3d a5 3a fd 60 25 3d 31 33 3a db 3a e1 0d |`%=.:.`%=13:.:..| 000013e0 01 54 20 dd f2 34 3a e7 9f 3c 3e 31 37 f6 3a f1 |.T ..4:..<>17.:.| 000013f0 22 20 61 74 20 6c 69 6e 65 20 22 3b 9e 3a e0 0d |" at line ";.:..| 00001400 01 5e be f2 30 3a f1 22 20 50 72 65 73 73 20 52 |.^..0:." Press R| 00001410 20 74 6f 20 72 65 73 74 61 72 74 20 74 68 69 73 | to restart this| 00001420 20 73 65 63 74 69 6f 6e 20 61 6e 64 20 58 20 74 | section and X t| 00001430 6f 20 72 65 74 75 72 6e 20 74 6f 20 74 68 65 20 |o return to the | 00001440 6d 61 69 6e 20 70 72 6f 67 72 61 6d 20 22 3b 3a |main program ";:| 00001450 f2 31 3a f5 3a 47 24 3d be 3a fd 47 24 3d 22 52 |.1:.:G$=.:.G$="R| 00001460 22 84 47 24 3d 22 72 22 84 47 24 3d 22 58 22 84 |".G$="r".G$="X".| 00001470 47 24 3d 22 78 22 3a e7 47 24 3d 22 52 22 84 47 |G$="x":.G$="R".G| 00001480 24 3d 22 72 22 f9 8b d8 3a eb 37 3a ff 28 22 4c |$="r"...:.7:.("L| 00001490 2e 20 53 43 52 45 45 4e 20 46 46 46 46 37 43 30 |. SCREEN FFFF7C0| 000014a0 30 22 29 3a ef 32 38 2c 35 2c 32 33 2c 33 36 2c |0"):.28,5,23,36,| 000014b0 31 31 3a d7 22 53 6d 61 72 74 39 39 22 0d 01 68 |11:."Smart99"..h| 000014c0 05 e0 0d ff |....| 000014c4