<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="/feed/bypass/styles/feed.css" media="screen"?>
<?xml-stylesheet type="text/xsl" href="/feed/bypass/styles/feed.xsl"?>
<rss version="2.0"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">

	<channel>
	  <!-- main channel info -->
        <title>TIGCC Programming</title>
        <link>http://tichessteamhq.yuku.com/forums/1</link>
        <description>
        <![CDATA[ No Description Available ]]>
        </description>

		<!-- optional elements -->
		<language>en-us</language>
		<copyright>Copyright 2006, Yuku</copyright>
		<managingEditor>feeds@yuku.com (FeedMaster)</managingEditor>
		<webMaster>webmaster@yuku.com (WebMaster)</webMaster>
		<!-- note: dates need to be RFC 822 formated "Sat, 07 Sep 2002 00:00:01 GMT" -->
		<lastBuildDate>Sat, 28 Nov 2009 08:54:58 GMT</lastBuildDate>
		<generator>Yuku Feeds 1.0</generator>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<!-- <cloud domain="rpc.yuku.com" port="80" path="/RPC2" registerProcedure="pingMe" protocol="soap"/>-->
		<ttl>60</ttl>
		<!-- feed image -->
		<image>
			<title>Yuku</title>
			<url>http://static.yuku.com//feed/bypass/images/button-yuku.png</url>
			<link>http://tichessteamhq.yuku.com/forums/1</link>
			<description>Yuku - free hosted forums and profiles</description>
			<width>88</width>
			<height>31</height>
		</image>
		<rating>
		{pics-1.1 &quot;http://www.icra.org/ratingsv02.html&quot; l gen true for &quot;http://yuku.com&quot; r (nz 1 vz 1 lz 1 oz 1 cz 1 ) &quot;http://www.rsac.org/ratingsv01.html&quot; l gen true for &quot;http://yuku.com&quot; r (n 0 s 0 v 0 l 0 ))
		</rating>
		<textInput>
			<title>Search</title>
			<description>Search Domain</description>
			<name>q</name>
			<link>http://yuku.com/search/direct/</link>
		</textInput>
		<!-- skip
		<skipHours>
			<hour>23</hour>
		</skipHours>
		<skipDays>
			<day>Monday</day>
			<day>Wednesday</day>
			<day>Friday</day>
		</skipDays>-->
		<!-- extensions -->


		<!-- channel items -->
		<!-- descriptions should be shorter than 500 char to be polite -->
		<!-- html shoud be stripped or escaped -->
		<item>
			<title><![CDATA[ Tilemap Question ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4731/t/Tilemap-Question.html</link>
			<description><![CDATA[ Recently I&#39;ve been trying to make a basic typical 2D side scroller game (like mario) using tilemap. The problem I&#39;ve been having is speed. I have the
program set so at every move the entire screen is redrawn. This is done for uniformity of speed for whenever or not the screen is scrolling. Drawing the Screen
doesn&#39;t slow down the program too much, it&#39;s tilemap&#39;s DrawPlane function which is used to render the virtual screen according (x,y) coordinates
into a pointer... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (antiderivative)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4731</guid>
			<pubDate>Fri, 27 Nov 2009 20:58:14 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Grayscale Question ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4730/t/Grayscale-Question.html</link>
			<description><![CDATA[ Hello,
<br>
<br>
I was messing around with grayscale graphics and was wondering...
<br>
If I want to write directly to the LightPlane and then the DarkPlane by using pointers, do I have to call GraySetAMSPlane for each one when I write to it, or
can I just do
<br>
<br>
char* Lp = GrayGetPlane(LIGHT_PLANE);
<br>
char* Dp = GrayGetPlane(DARK_PLANE);
<br>
Lp[ 0 ] = 0b01010101;
<br>
Dp[ 0 ] = 0b01010101;
<br>
<br>
Thanks ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (hotwheelharry)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4730</guid>
			<pubDate>Sun, 22 Nov 2009 07:09:28 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Keyboard Protected Memory Violation Error? ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4729/t/Keyboard-Protected-Memory-Violation-Error-.html</link>
			<description><![CDATA[ I have a little pong program and everything works fine... except when I press the arrow keys.
<br>
<br>
I started the program by writing the part to handle the keys, and it worked fine. It worked fine until I finished the darn thing and then on the final build, I
started to randomly get the protected memory violation error and the calculator crashes.
<br>
<br>
When I run the game, it works great and then as soon as I touch an arrow key, it explodes.
<br>
Strangely enough, it explodes when I... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (hotwheelharry)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4729</guid>
			<pubDate>Tue, 17 Nov 2009 05:15:09 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ where did I fail ? ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4728/t/where-did-I-fail-.html</link>
			<description><![CDATA[ <p>Hi again pros.</p>

<p>Finally got the code on my TI, but there I type prgram() and the result is: &quot;Done&quot;..</p>

<p>Do I need to add anything special so that it is compile properly ? Like TIGCC headers ?</p>

<p>This is the code, just a simple to test funcionality:</p>

<p>#include &lt;stdio.h&gt;
<br>
<br>
int main (void) {
<br>
  int volume, l, b, h;
<br>
  printf(&quot;calculating volume\n&quot;);
<br>
  printf(&quot;length: &quot;);
<br>
  scanf(&quot;%i&quot;,&amp;l);
<br>... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (jokerman)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4728</guid>
			<pubDate>Sun, 15 Nov 2009 21:40:26 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Beginners question on Dynamic Memory Allocation ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4726/t/Beginners-question-on-Dynamic-Memory-Allocation.html</link>
			<description><![CDATA[ <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: Arial"><font size="2">I understand the principle of using DMA at runtime, when a
user inputs data.</font></span></p>

<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"></p>

<p><span style="FONT-FAMILY: Arial"><font size="2"> </font></span></p>

<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: Arial"><font size="2">What I&#39;m struggling with is if a program needs an array of
data to run, is... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (jeff22)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4726</guid>
			<pubDate>Tue, 10 Nov 2009 11:25:24 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ The Amazing Coin Flipper! ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4725/t/The-Amazing-Coin-Flipper-.html</link>
			<description><![CDATA[ Here&#39;s the newest code!
<br>
<pre>
#include &lt;tigcclib.h&gt;
#include &lt;args.h&gt;
void _main(void) {
    randomize();
    OSEnableBreak();
    int long unsigned heads = 0, count, loop;
    count = GetIntArg (top_estack);
    for (loop = 0; loop &lt; count; loop++) {
        heads += random(2);
        if(OSCheckBreak()) {
            exit(180);
        }
    }
    clrscr();
    printf(&quot;Flipped: %ld\n&quot;, loop);
    printf(&quot;Heads:   %ld\n&quot;, heads);... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (zonedabone)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4725</guid>
			<pubDate>Tue, 10 Nov 2009 03:32:28 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Battery checker bits? ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4724/t/Battery-checker-bits-.html</link>
			<description><![CDATA[ Which address is used to set the battery checker bits on HW2? j89hw.txt says it&#39;s at $70001D:
<br>
<pre>
$70001D RW ($06)

    :7    Toggles every FS (every time the LCD restarts at line 0)
    :6-4    -
    :3    Battery checker bit B (? ???)
    :2    ? (set)
    :1    Screen enable (clear this bit to shut down LCD)
    :0    Battery checker bit A (? enable $600000:2)
    (AMS:) The battery checker bits must both be set (AB=11) prior to
    checking the voltage level with $600000:2.... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (Fred Foobar)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4724</guid>
			<pubDate>Sat, 07 Nov 2009 20:09:06 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Size of inodes? ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4722/t/Size-of-inodes-.html</link>
			<description><![CDATA[ I have a design decision to make in Punix. I&#39;m still writing the filesystem code, and at this point I&#39;m trying to decide how big to make an inode as
stored on FlashROM. For those who are not familiar with inodes, they are the file header that contains at least the following information in Un*x:
<br>

<ul>
  <li>mode and type of file (2 bytes)</li>

  <li>number of links to file (1 byte)</li>

  <li>file size (number of bytes in file) (3 bytes)</li>

  <li>owner&#39;s user id (2... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (Fred Foobar)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4722</guid>
			<pubDate>Thu, 29 Oct 2009 22:22:54 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Screen Size Question ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4721/t/Screen-Size-Question.html</link>
			<description><![CDATA[ <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-FAMILY: Arial; mso-ansi-language: EN-GB"><font size="2"><span lang="EN-GB" style="FONT-FAMILY: Arial; mso-ansi-language: EN-GB">At the moment I&#39;m reading up on <a name="graphics">Graphics and Display</a> in the TIGCC Documentation
and have this question.
<br></span></font></span></p>

<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-FAMILY: Arial; mso-ansi-language: EN-GB"><span... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (jeff22)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4721</guid>
			<pubDate>Mon, 26 Oct 2009 13:59:03 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ File I/O on Titanium ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4720/t/File-I-O-on-Titanium.html</link>
			<description><![CDATA[ I have TIGCC 0.95 and TIEMU 3.02, TI89Titanium_OS.img TI 89t 3.10
<br>
I have a TI-89 Titanium with the same O/S image loaded on it.
<br>
<br>
I have some programs that do an ordinary fopen and some rather ordinary reads from a data file that is in the &quot;Third Party Data&quot; variable format.
<br>
<br>
No problems in the emulator, with or without hw3patch.
<br>
<br>
The fopen causes an &quot;Address Error&quot; on the physical Titanium, with or without hw3patch.
<br>
<br>
Do I need one... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (Kirk Stapler)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4720</guid>
			<pubDate>Tue, 20 Oct 2009 22:24:00 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Modularity and the TI Platform ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4718/t/Modularity-and-the-TI-Platform.html</link>
			<description><![CDATA[ Modularity is of course a very important computer design philosophy. It allows for code reuse and organization, as well as being typically more efficient and
less buggy. But sometimes the implementation of modularity on the TI platform can be awkward, as it is an environment where every byte counts.
<br>
<br>
My programs use an uncommon way of error handling. At any point of the program, if it encounters a fatal error it will set my error message global variable to
something useful and then... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (Pixel)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4718</guid>
			<pubDate>Wed, 07 Oct 2009 08:52:55 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Maths Question ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4717/t/Maths-Question.html</link>
			<description><![CDATA[ <p><br>
The following code, I beleive, should calculate the square root of 25
<br>
as equal to 5.
<br>
However variable a is displayed as 1.58105 ....
<br>
and variable b is displayed as 25
<br>
       
<br>
(As displayed using TiEmu emulator)
<br>
<br>
I expect there is an obvious reason</p>

<p>Thanks
<br>
Jeff</p>

<p>       
<br>
#include &lt;tigcclib.h&gt;
<br>
#include &lt;timath.h&gt;
<br>
       
<br>
void _main(void) {
<br>
      float m,a,b;
<br>
     
<br>
      m = 25;
<br>... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (jeff22)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4717</guid>
			<pubDate>Tue, 06 Oct 2009 10:13:26 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ where is the memory leak? ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4716/t/where-is-the-memory-leak-.html</link>
			<description><![CDATA[ Hi everyone!
<br>
I have written a kbdprgm1( )  which problematic code can reduced as follows:
<br>
<br>
<br>
void _main(void)
<br>
{
<br>
TRY
<br>
    TRY
<br>
    ER_throw(SYNTAX_ERROR );  //
<br>
   
<br>
   FINALLY
<br>
;
<br>
   ENDFINAL
<br>
;
<br>
ONERR
<br>
;
<br>
PASS;
<br>
<br>
ENDTRY
<br>
}
<br>
<br>
<br>
Calling this kbdprgm1( ) by pressing the Diamond-key and it&#39;s number, will lead to a memory-difference of 24 &quot;RAM free&quot;-bytes. The mem-difference
is the difference... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (dieter s)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4716</guid>
			<pubDate>Sun, 04 Oct 2009 09:38:41 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Can functions pass arrays? ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4715/t/Can-functions-pass-arrays-.html</link>
			<description><![CDATA[ A real newbie question, hope it make sense
<br>
I&#39;ve tried the following code but it does&#39;nt work.
<br>
<br>
<pre>
void fuction1(void) { 
  double array[4]; 
 
  array = fuction2 (void);
 
} 
 
 
 
double fuction2 (void) { 
  double array 4];
       
  array [0] = 50;
  array [1] = 50;
  array [2] = 80;
  array [3] = 50;
 
  return array[4];
 
}
</pre>
<br>
<br>
I&#39;m thinking if arrays cannot be passed by functions, I use need to use pointers, but really not sure
<br>
<br>
[EDIT by... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (jeff22)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4715</guid>
			<pubDate>Tue, 29 Sep 2009 14:40:26 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Beginners Question ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4714/t/Beginners-Question.html</link>
			<description><![CDATA[ <br>
New to this forum, hello to all
<br>
<br>
Just trying to get with C Programming, and have done a few tests using TiEmu emulator
<br>
<br>
What I wanted to know was are their header files containing matrix calculation functions similar to those in TI Basic, like mRow, mRowAdd, or do you need to
write you own functions for matrix calculation.
<br>
<br>
Thanks
<br>
Jeff ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (jeff22)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4714</guid>
			<pubDate>Mon, 28 Sep 2009 12:49:36 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ HomeExecute ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4713/t/HomeExecute.html</link>
			<description><![CDATA[ I have a set of programs that are too big for 64k.
<br>
They don&#39;t need to know about each other, so I made
<br>
a menu program that runs the others using HomeExecute,
<br>
passing just one parameter..
<br>
<br>
    sprintf(cmdstring, &quot;%s(%u)&quot;, progname, menu_request);
<br>
    len_of_cmd = strlen(cmdstring);
<br>
    ClrScr();
<br>
    HomeExecute(cmdstring, len_of_cmd);
<br>
TestLabel02:
<br>
    ClrScr();
<br>
<br>
This works fine, for a while.  Sooner or later, sooner if... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (Kirk Stapler)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4713</guid>
			<pubDate>Sun, 27 Sep 2009 12:31:16 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Not grabbing data from struct array. ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4707/t/Not-grabbing-data-from-struct-array-.html</link>
			<description><![CDATA[ My program is for the Voyage 200 and I am using TiEmu and the OS image from Ti.
<br>
<br>
Ok so I am trying to build a periodic table program. I have built a typedef struct that will hold element data, as well as position data for each cell. I only
have 2 elements in it so far, Hydrogen and Helium, however when I try and draw the cell for Helium (index 1), nothing happens, Hydrogen (index 0) works fine
though.
<br>
<br>
I can&#39;t seem to figure out what is wrong. Here is a copy of my code... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (atarijedi)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4707</guid>
			<pubDate>Fri, 24 Jul 2009 05:35:56 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ Reference to TI variable as argument ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4705/t/Reference-to-TI-variable-as-argument.html</link>
			<description><![CDATA[ Could anyone tell me if it is possible for a C program to accept a reference to a TI variable as an argument rather than its value when called from TI-Basic?
<br>
The same as TI&#39;s InputStr and StoPic, or are those just special cases?
<br> ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (Zochor)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4705</guid>
			<pubDate>Mon, 29 Jun 2009 09:32:35 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ AI1 Frequency ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4704/t/AI1-Frequency.html</link>
			<description><![CDATA[ Hello, world! I&#39;ve read somewhere that AUTO_INT_1 runs at 256 Hz on ALL HW / AMS versions, is that correct? ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (lachprog)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4704</guid>
			<pubDate>Mon, 22 Jun 2009 20:20:26 GMT</pubDate>
			<!-- extensions -->

		</item>
		<item>
			<title><![CDATA[ How do I use the cmd_circle command in TIGCC? ]]></title>
			<link>http://tichessteamhq.yuku.com/topic/4702/t/How-do-I-use-the-cmd-circle-command-in-TIGCC-.html</link>
			<description><![CDATA[ <p>Hi,
<br>
<br>
Can&#39;t get the following to work (get error message &quot;unresolved referrence to cmd_circle&quot;).  Can you steer me in the right direction?
<br>
<br>
#define SAVE_SCREEN        
<br>
#define USE_TI89          
<br>
#include &lt;tigcclib.h&gt;
<br>
#include &lt;bascmd.h&gt;</p>

<p>void _main(void)
<br>
{
<br>
  clrscr();
<br>
  cmd_circle(30,30,20,1);
<br>
   ngetchx ();               // wait for a keypress
<br>
}
<br>
<br>
<br>
Regards,
<br>
<br>
Bert van den Berg... ]]></description>

			<!-- optional elements -->
			<author>feeds@yuku.com (bert)</author>
			<guid isPermaLink="true">http://tichessteamhq.yuku.com/topic/4702</guid>
			<pubDate>Fri, 12 Jun 2009 01:48:19 GMT</pubDate>
			<!-- extensions -->

		</item>
    <!-- end items -->

  </channel>
</rss>