<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=4&amp;t=2760" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2008-08-02T16:27:29+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=2760</id>
<entry>
<author><name><![CDATA[robots42]]></name></author>
<updated>2008-08-02T16:27:29+01:00</updated>
<published>2008-08-02T16:27:29+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17134#p17134</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17134#p17134"/>
<title type="html"><![CDATA[RoboBAsic and ACTION command]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17134#p17134"><![CDATA[
Slight problem before with not clearing memory!!!!!!<br />FILL does need to be 10000 for Auto to work<br />David<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1082">robots42</a> — Sat Aug 02, 2008 4:27 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robots42]]></name></author>
<updated>2008-08-01T18:48:08+01:00</updated>
<published>2008-08-01T18:48:08+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17126#p17126</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17126#p17126"/>
<title type="html"><![CDATA[RoboBAsic and ACTION command]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17126#p17126"><![CDATA[
I don't know what I did wrong before but FILL works with any byte value, and any number of bytes bigger than the size of the low memory program which must be loaded second.<br />Can't call program3 from program2 though.<br />Also can't pass back parameters using Var1, it always seems to be 3 after a return to program1.<br />(Var1 is first variable).<br /><br />I think maybe it was for all the moves to be in Prog2 while Prog1 held the Remocon key mapping then alternative Prog1s could be loaded for different scenarios, being small they load fast.<br />David<br /><br />I have been rewriting the RoboBasic Manual as html because I got fed up with all the C2000 stuff and the non searchable pages. I will put it up here when done. Did you write the big table of byte commands? I would like to add such a table to the manual so all the information is in one searchable place. and is there an uptodate version? I have come across two modifications to the table in the posts.<br />David<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1082">robots42</a> — Fri Aug 01, 2008 6:48 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2008-08-01T08:48:58+01:00</updated>
<published>2008-08-01T08:48:58+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17119#p17119</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17119#p17119"/>
<title type="html"><![CDATA[RoboBAsic and ACTION command]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17119#p17119"><![CDATA[
There is no manual. I have a small Visual c# program which dumps the .obj file to display the code created by the compiler. Then I look at the disassembled source for the controller to figure it out.<br /><br />The fill only works for 10000. The AUTO location 0x2728 is hardcoded. The GOTO is 3 bytes long, so the next location is 10000 nops + 0x18 = 0x2728.<br /><br />I wonder if the name &quot;overall&quot; for the template should have been &quot;overlay&quot;. Anyway, I don't use the GOTO AUTO. Too confusing, and as you say makes a second use of location RR.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Fri Aug 01, 2008 8:48 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robots42]]></name></author>
<updated>2008-08-01T01:42:21+01:00</updated>
<published>2008-08-01T01:42:21+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17114#p17114</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17114#p17114"/>
<title type="html"><![CDATA[RoboBAsic and ACTION command]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17114#p17114"><![CDATA[
Thank you.<br />I would never have imagined that from the manual. Is there a document somewhere with it in?<br />The reason 5 ran 7 was because I had altered the range of the Action command check from  (50 - 82) to (48 - 88) as this allowed me to use the PC keyboard to send 0-9 and A-W via the programming cable.<br /><br />So now I understand what GOTO AUTO and FILL do, I guess there could have been a range of nested programs except that I can't get it to work if FILL is not FILL 255,10000. Ie FILL 255,5000 doesn't work.<br />I may be missing something but why would anyone want to split their program into two with such primitive parameter passing?<br />David<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1082">robots42</a> — Fri Aug 01, 2008 1:42 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2008-07-30T17:19:51+01:00</updated>
<published>2008-07-30T17:19:51+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17102#p17102</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17102#p17102"/>
<title type="html"><![CDATA[RoboBAsic and ACTION command]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17102#p17102"><![CDATA[
To understand the action command you must really understand how the template works.<br /><br />The start of the template<br />GOTO AUTO<br />FILL 255,10000<br /><br />compiles to:<br />0x10 @0x40 = 0<br />0x15 GOTO [ 0x2728]<br /><br />then 10000 nops<br />so the next line<br />IF RR &gt; 50 AND RR &lt; 83 THEN GOTO action_proc <br />will sit at location 0x2728 and subsequent code loaded there<br /><br />If the template is run it operates as expected.<br /><br />The important thing is that when a new program is stored lower in memory the template is not overwritten, so you can still call the template routines from a program which does not have the fill instruction.<br /><br />In this lower program you use the ACTION command<br />ACTION 5 will compile to:<br />@0x40 = 55 ' location 40 is the first variable and is RR<br />GOSUB [ 0x2728]<br /><br />so the ACTION will call the template routine<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Wed Jul 30, 2008 5:19 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robots42]]></name></author>
<updated>2008-07-30T16:27:15+01:00</updated>
<published>2008-07-30T16:27:15+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17099#p17099</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17099#p17099"/>
<title type="html"><![CDATA[RoboBAsic and ACTION command]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2760&amp;p=17099#p17099"><![CDATA[
Hi<br />Looking throufg the Forum posts to see if my previous questions had already been resolved I came across one about ACTION<br />Somebody seems to have got it to work but I can't.<br /><br />What does ACTION do?<br />on testing <br />ACTION 5'this does K7, but only once after reset or power on!!!??? why?<br /><br />Anybody know?<br />David<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1082">robots42</a> — Wed Jul 30, 2008 4:27 pm</p><hr />
]]></content>
</entry>
</feed>