<?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=6210" />

<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>2010-05-27T10:07:40+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=6210</id>
<entry>
<author><name><![CDATA[wangke]]></name></author>
<updated>2010-05-27T10:07:40+01:00</updated>
<published>2010-05-27T10:07:40+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26919#p26919</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26919#p26919"/>
<title type="html"><![CDATA[Robobasic v2.5 &amp; the obj file]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26919#p26919"><![CDATA[
My friend, with your help,I have solved my problem.<br /><br />I write the .obj file according to your program,and it works,now my complier can convert .bas file to .obj file successfully,just like the robobasic v2.5 does.<br /><br />Thank you very much.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2142">wangke</a> — Thu May 27, 2010 10:07 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2010-05-25T15:14:09+01:00</updated>
<published>2010-05-25T15:14:09+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26902#p26902</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26902#p26902"/>
<title type="html"><![CDATA[Robobasic v2.5 &amp; the obj file]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26902#p26902"><![CDATA[
The program converts the .obj file to a readable format which is exactly how the byte code interpreter in the robots executes it. It is not a .bas file. The mnemonics and format for the byte code commands are made up. You will see how the .obj format contains some file data, the variable names, and the byte code.<br /><br />Is that what you want to do ? To create your own byte code. Or do you want to create hex code which can run on the ATMega ? To run hex code, you need to load the code into the Atmega using a program like Roboflash. Of course for a hex file you have to write all the servo drivers etc.<br /><br />Roboflash and the C3024 firmware annotated source code for 2.5 are in my file area.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Tue May 25, 2010 3:14 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[wangke]]></name></author>
<updated>2010-05-25T15:05:18+01:00</updated>
<published>2010-05-25T15:05:18+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26901#p26901</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26901#p26901"/>
<title type="html"><![CDATA[Robobasic v2.5 &amp; the obj file]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26901#p26901"><![CDATA[
I have run your program ,it converts .obj file to .bas file,maybe it can help me solve my problem,I will read the code carefully,thanks again and best wishes!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2142">wangke</a> — Tue May 25, 2010 3:05 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2010-05-25T13:55:04+01:00</updated>
<published>2010-05-25T13:55:04+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26899#p26899</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26899#p26899"/>
<title type="html"><![CDATA[Robobasic v2.5 &amp; the obj file]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26899#p26899"><![CDATA[
The Robobasic compiler converts the .bas file to the .obj file which is a list of byte codes which are subsequently interpreted by the C3024.<br /><br />This visual c# program in my file area reads the .obj file and extracts the variable definitions and converts the byte code data to mnemonics. I can't remember the format, but you will see it from the source code.<br /><br /><br />I hope it helps. I use it quite a lot to check if a problem is in the compiler or the interpreter.<br /><br />Ask again if you have any specific questions on C3024 byte codes.<br /><a href="http://robosavvy.com/Builders/i-Bot/RoboDump.zip" class="postlink">http://robosavvy.com/Builders/i-Bot/RoboDump.zip</a><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Tue May 25, 2010 1:55 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[wangke]]></name></author>
<updated>2010-05-25T11:12:16+01:00</updated>
<published>2010-05-25T11:12:16+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26897#p26897</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26897#p26897"/>
<title type="html"><![CDATA[Robobasic v2.5 &amp; the obj file]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6210&amp;p=26897#p26897"><![CDATA[
Dear friend ,We use Robobasic v2.5 to control my robot,but we just know how to write the .bas file ,recently, I want to write a compiler to analyse my robobasic program,but I don't know how to write the obj file,I just know first it has 25 0x00 and second has 100 0x20,I don't know what the follow mean,maybe the file length or others, If you know, help me,please,<br />thanx!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2142">wangke</a> — Tue May 25, 2010 11:12 am</p><hr />
]]></content>
</entry>
</feed>