Copy of Readme file for Hextor CD ================================= Readme.txt ========== To view the manual click on @HextorManual.htm to read the Manual or @HextorManual640x480.htm arranged for a 640x480 screen or @HextorAssembly.htm to read the Assembly Manual The three html files:- @HextorManual.htm @HextorManual640x480.htm @HextorAssembly.htm look for their files in the sub directory HextorManual_files and so should be in the same directory as that folder. [The Manual can also be started by the main files:- Manual.htm Manual640x480.htm Assembly.htm in the HextorManual_files folder] Hextor_0.bsx - Hextor26.bsx in 'Introductory Programs' are self- contained programs which fit in Page0 of the BS2Sx. HextorDoc.bsx is a TEXT file named as .bsx so you can easily load it into the Stamp editor. It contains all the BOS commands, all the meta-commands developed in Hextor_0 to Hextor26 and the program headers for Hextor_0 to Hextor26 which details new features and methods introduced by the program. ------------------------- The programs viewed in this Manual are text versions of the programs. Modifications you make to the programs in the Parallax Editor will not change the programs viewed in the manual. The text versions are in the sub directory 'HextorManual_files\Hextor_Progs'. If you mess-up or loose the original .bsx files the text versions can be loaded into the Parallax Editor and saved as .bsx files. ------------------------- Assemble Hextor with the aid of HextorManual.html and then use Hextor_0.bsx to setup the leg servos. When that is done you can have a little (long) play with Hextor by loading Hextor_0play.bsx. ------------------------- Hextor_1.bsx to Hextor22.bsx are educational documented programs introducing you to the features of Hextor and giving sample code. Each program is a complete working program and each program builds on the earlier programs, details what is new, and has suggestions of what to do to be ready to move onto the next program in the series. The series itself works toward building two high-level software- engines which interpret strings of commands held in data statements. One interprets strings of Behavioural Operating System (BOS) commands, while the other interprets behaviour rules for use with the Ultrasonic Sensor. Interpreting commands held in data statements means that you can experiment with the commands to make Hextor do things without writing more Basic code. For example Data "FBRLz" makes Hextor take one step Forward, one step Backward, one step Rightturn and one step Leftturn, the "z" is an end of string marker. The code to read and send these commands to the BOS is already written and working through the programs from Hextor_0 will give you an understanding of how write new strings of BOS commands and new rule sets for use with the ultrasonic sensor. After you have worked your way through Hextor_0 to Hextor_22 you should have a good appreciation of the facilities offered by Hextor's BOS-firmware and software. The next step is to open the folder MultiProgSx0 and read the explanatory files. MultiProgSx0 ------------ The program files in the folder are Hxtr0 - Hxtr7 which are linked programs loaded into all eight pages of the BS2Sx. This frees up space and allows a menu system to be written for the LCD. The BOS command interpreter is expanded with facilities for simple behaviour rules for use with the bump feelers etc and meta commands which allow it to call Ultrasonic-behaviours. The set of eight programs in a folder are a complete working set, you do not have to write any code to use them, you can concentrate on experimenting with the BOS-command-activities and Ultrasonic-behaviours. If you wish to add new activities and or Ultrasonic-behaviour rule-sets then a little code needs to be written to link them into the menu-system. How to do this is explained in Hx0Readme.txt. MultiProgSx1 ------------ The folder MultiProgSx1 contains programs Hxtr0 - Hxtr7 modified as in Hx1Revisions.txt, see menu item 'Changes from Sx0'. The changes in the main allow the Bump sensors to be acted upon in an Activity and a Default Power-On action to be set. MultiProgSx2 ------------ The folder MultiProgSx2 contains programs Hxtr0 - Hxtr7 modified as in Hx2Revisions.txt, see menu item 'Changes from Sx1'. The changes are only minor code changes. MultiProgSx3 ------------ The folder MultiProgSx3 contains programs Hxtr0 - Hxtr7 modified as in Hx3Revisions.txt, see menu item 'Changes from Sx2'. The LCD menu routines have been moved from Prog0 to Prog6 as Page0 had no more room and a 'learn' facility added to 'Do LCD Keys' in Prog7. YET, under development.