<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechTír</title>
	<atom:link href="http://www.techtir.ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techtir.ie</link>
	<description>Bringing Technology Home</description>
	<lastBuildDate>Sat, 02 Jan 2010 10:30:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Announcements</title>
		<link>http://www.techtir.ie/2010/01/announcements/</link>
		<comments>http://www.techtir.ie/2010/01/announcements/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 09:16:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.techtir.ie/?p=200</guid>
		<description><![CDATA[ Registration  Tue, 02 Mar 2010 11:52:21 GMT posted by Watty
Gmail particularly seems to flag techtir.ie or techtir.com emails erroneously as Spam.
To register you MUST use a real email address and respond to the email by click on the link, otherwise your email is not verified (we assume you are a spammer).
So make sure [...]]]></description>
			<content:encoded><![CDATA[<p><P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3404&#038;goto=newpost"> Registration </a> Tue, 02 Mar 2010 11:52:21 GMT posted by Watty</b>
<div>Gmail particularly seems to flag techtir.ie or techtir.com emails erroneously as Spam.</p>
<p>To register you MUST use a real email address and respond to the email by click on the link, otherwise your email is not verified (we assume you are a spammer).</p>
<p>So make sure and check any Spam systems/folders for the Registration Email.</p>
<p>
<b>Note:</b> To save bandwidth from spammers, bots, search engines and content scrapers you have to be logged in as a member for attachment Thumbnails to open in Forums or view images at all in Articles. Similar applies to downloads.</p>
<p>The Process:</p>
<p>1) Your IP and email address is checked against a real time Spammer database. This blocks 25 to 50 spammer signup attempts per day.</p>
<p>2) The CATCHPA (awkward text) is tested to see if you did it right. This is ignored if (1) fails. Spambot operators hire cheap 3rd world labour to defeat the CATCHPA.</p>
<p>3) I get told there is a new user and you get Emailed the verification link (automatically).</p>
<p>4) You click on the link on the email and The Admins are told in Control panel a user awaits moderation. </p>
<p>5) We do a final manual lookup on various spam databases and Google of your chosen Username, email and IP. We use our judgement (i.e. if IP is part of a Mobile Network we ignore blacklisting, if email domain is large public one rather than private we ignore blacklisting. If a really weird random Username is all over Internet with spam we delete. ) If all seems OK you get approved. This 2nd Email is manually triggered so may be next day if we are busy.</p>
<p>6) If you finally, manually approved you get an email confirming this. <b>You are now a Member!</b></p>
<p>7) If you pay money or write a good article/review then you become a subscriber with additional privileges and right to post in Article section directly.</p>
<p>This is all so complex because otherwise  we would have 2 to 50 spammers a day spewing nonsense on the Site (depending which step was missed out).</p>
<p>you can use <a href="http://www.techtir.ie/utilities/contactus.htm" target="_blank">this link</a> to contact us if you don&#8217;t get either of the two emails. Put a valid email address on the form!</p>
<p><b>We won&#8217;t ever pass any details to a 3rd party, nor will we add unverified addresses as Members. </b></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techtir.ie/2010/01/announcements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tech News</title>
		<link>http://www.techtir.ie/2009/11/tech-news-2/</link>
		<comments>http://www.techtir.ie/2009/11/tech-news-2/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 08:36:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recent Forum Posts]]></category>

		<guid isPermaLink="false">http://www.techtir.ie/?p=202</guid>
		<description><![CDATA[Updating from the  Tech News &#038; Media forum 
 Sports Rights: BBC 5 Live Loses Premier League Packages  Thu, 18 Feb 2010 18:47:02 GMT posted by DMC
The English Premier League has announced that Talk Sport has picked up two packages of live Premier League football at the expense of BBC Radio 5 Live.
The [...]]]></description>
			<content:encoded><![CDATA[<p><i><b>Updating from the <a href="http://www.techtir.ie/forums/forumdisplay.php?f=17"> Tech News &#038; Media forum </a></b></i></p>
<p><P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3391&#038;goto=newpost"> Sports Rights: BBC 5 Live Loses Premier League Packages </a> Thu, 18 Feb 2010 18:47:02 GMT posted by DMC</b>
<div>The English Premier League has announced that Talk Sport has picked up two packages of live Premier League football at the expense of BBC Radio 5 Live.</p>
<p>The deal, starting for the new season in August and to run for 3 years, also confirms Absolute Radio as a new entrant into the live radio rights to the league. </p>
<p>The packages won are..</p>
<p>BBC Radio 5 Live: Four rights packages (128 matches in total); First-choice Saturday 3pm, Saturday 12.30pm, Sunday 4pm, Monday and Tuesday evenings<br />
Talk Sport: Two rights packages (64 matches); Saturday 5:30pm and Wednesday evenings, Sundays 1:30pm<br />
Absolute Radio: One rights package (32 matches); Second-choice Saturday 3pm.</div>
</p>
<hr />
]]></content:encoded>
			<wfw:commentRss>http://www.techtir.ie/2009/11/tech-news-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broadcast, TV, Radio &amp; Comms.</title>
		<link>http://www.techtir.ie/2009/11/broadcast-tv-radio-comms/</link>
		<comments>http://www.techtir.ie/2009/11/broadcast-tv-radio-comms/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 07:48:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recent Forum Posts]]></category>

		<guid isPermaLink="false">http://www.techtir.ie/?p=208</guid>
		<description><![CDATA[Updating from  Broadcast Category  
 Firm date (31-10-10) now for Irish DTT PSB Mux launch?  Thu, 04 Mar 2010 23:19:53 GMT posted by Mayo Exile
According to Eamonn Ryan speaking in the Dail on 2nd March he wants the PSB Mux up and running to 90% of the population by 31st October 2010. [...]]]></description>
			<content:encoded><![CDATA[<p><i><b>Updating from <a href="http://www.techtir.ie/forums/forumdisplay.php?f=25" > Broadcast Category </a> </b></i></p>
<p><P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3408&#038;goto=newpost"> Firm date (31-10-10) now for Irish DTT PSB Mux launch? </a> Thu, 04 Mar 2010 23:19:53 GMT posted by Mayo Exile</b>
<div>According to Eamonn Ryan speaking in the Dail on 2nd March he wants the PSB Mux up and running to 90% of the population by 31st October 2010. Is this finally the &#8216;official&#8217; launch of DTT in Ireland? Do people think it will happen? What extra relays I wonder will have to be up and and running to supply 90% coverage. Plus he wants a &#8216;national&#8217; service by 31st December 2011. What % coverage qualifies as national. Same as current analogue reception?</p>
<div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
<p>				<i>Deputy Eamon Ryan:    As I stated recently in response to a previous question on the issue, I am not prepared to speculate on the outcome of the commercial DTT process, which is a matter for the BAI. Nor am I prepared to surmise on the ongoing negotiations between the BAI, RTE and the OneVision consortium. I have, however, made clear my opinion that I would like to see this process concluded as soon as possible. The conclusion of the process is essential to provide certainty for broadcasters, suppliers and the general public with regard to the development of commercial DTT services.</p>
<p>Under section 129 of the Broadcasting Act 2009, RTE is required to ensure that free-to-air DTT is available to approximately 90% of the population on such date as may be specified by the Minister. I signed an order last week specifying this date as being 31 October 2010. The Act also requires RTE to provide a national free-to-air digital service with capacity to carry RTE 1, RTE 2, TG4 and TV3 by the end of 2011 or such later date as I may specify. I have written to RTE informing it that the date for provision of a national service is 31 December 2011.</i></p>
<hr />
		</td>
</tr>
</table>
</div>
<p>Link to debate on Oireachtas site: <a href="http://debates.oireachtas.ie/DDebate.aspx?F=DAL20100302.xml&amp;Page=1&amp;Ex=267#N267" target="_blank">http://debates.oireachtas.ie/DDebate&#8230;=1&amp;Ex=267#N267</a></div>
</p>
<hr />
<P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3407&#038;goto=newpost"> RTE Terrestrial Decoder </a> Thu, 04 Mar 2010 22:14:20 GMT posted by vsat</b>
<div>RTÉ Free-to-Air DTT Receiver</p>
<p>NorDig Unified ver 2.0. equipment requirements</p>
<p>Minimum Receiver Requirements</p>
<p>“Approved Digital Terrestrial Television (DTT) Receivers</p>
<p>RTÉ has appointed Teracom AB to conduct receiver compliance testing for Irish free-to-air (FTA) DTT receivers. Those receivers which pass the tests thereby meeting the Irish DTT specification will be eligible to be licensed to use RTÉ’s “Saorview” logo, which will confirm to consumers that the receiver is Irish FTA DTT compliant. RTÉNL will publish a full list of compliant DTT receivers on its web site.</p>
<p>Manufacturers/distributors wishing to use the Saorview logo should contact Teracom (irdtest@teracom.se) to arrange testing. When a receiver passes the tests, it will then be eligible to be licensed by RTÉ to carry the Saorview logo.” </p>
<p><a href="http://www.teracom.se/?page=5422" target="_blank">http://www.teracom.se/?page=5422</a></div>
</p>
<hr />
<P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3403&#038;goto=newpost"> Non-Slim PS3&#8217;s suffer problem. </a> Mon, 01 Mar 2010 19:28:06 GMT posted by byte</b>
<div>For any of you out there who have the original size PlayStation 3&#8230;</p>
<div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
<div>
					Originally Posted by <strong>SCEE</strong></p></div>
<div style="font-style:italic">Due to a technical problem, some PS3 owners cannot access PlayStation Network at present.</p>
<p>Sony Computer Entertainment Europe is aware that some users have been unable to connect to PlayStation Network. This problem affects PlayStation 3 systems other than the new slim PS3.</p>
<p>We believe we have identified that this problem is being caused by a bug in the clock functionality incorporated in the system.</p>
<p>Errors that you may experience include:</p>
<p>    * The date of the PS3 system may be reset to Jan 1, 2000.<br />
    * When signing in to PlayStation Network, the following message appears on the screen: &quot;An error has occurred. You have been signed out of PlayStation Network (8001050F)&quot;.<br />
    * When launching a game, the following error message appears on the screen and the trophy data may disappear: “Failed to install trophies.  Please exit your game.”<br />
    * When setting the time and date of the system via the Internet, the following message appears on the screen: “The current date and time could not be obtained. (8001050F)”<br />
    * You may not be able to play back certain rental video downloaded from PlayStation Store before the expiry date.</p>
<p>We hope to resolve this problem within the next 24 hours. In the meantime, if you have a model other than the new slim PS3, we advise that you do not use your PS3 system, as doing so may result in errors in some functionality, such as recording obtained trophies, and not being able to restore certain data. </p>
<p>As mentioned above, please be advised that the new slim PS3 is not affected with this error.  We are doing our best to resolve the issue and do apologise for any inconvenience caused.</p>
<p>For the latest status on this situation please visit the PlayStation Blog at blog.eu.playstation.com or check back on eu.playstation.com.</p></div>
<hr />
		</td>
</tr>
</table>
</div>
</div>
<hr />
<P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3402&#038;goto=newpost"> Limerick Rally, Sun 7th March </a> Mon, 01 Mar 2010 08:08:36 GMT posted by Watty</b>
<div><b>Limerick Radio Club Radio, Electronics &amp; Hobbies Fair</b></p>
<p>The Radio, Electronics &amp; Hobbies Fair takes place on Sunday 7th March 2010 at  the Radisson SAS Hotel, Ennis Road, Limerick.</p>
<p>Doors Open at 11:00 AM. Admission is 5 Euro. No charge for children when accompanied by an adult. There will be the usual traders attending the Fair. A Bring &amp; Buy Sale will also take place.</p>
<p>For further Rally info and contact details please check out the IRTS Website at<br />
<a href="http://www.irts.ie/cgi/rallies.cgi" target="_blank">http://www.irts.ie/cgi/rallies.cgi</a></div>
</p>
<hr />
<P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3400&#038;goto=newpost"> BBC 6Music to get the chop? </a> Fri, 26 Feb 2010 22:07:37 GMT posted by byte</b>
<div>It appears that BBC 6 Music and Asian Network are to get the chop.  Their website is to be halved too, whatever that means.</p>
<p>Still, back to 6 Music, surely that&#8217;s one of BBC&#8217;s better radio stations?</p>
<p><a href="http://www.guardian.co.uk/media/2010/feb/26/bbc-media-radio-internet-website" target="_blank">http://www.guardian.co.uk/media/2010&#8230;ternet-website</a></div>
</p>
<hr />
<P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3398&#038;goto=newpost"> FT817 external supply </a> Thu, 25 Feb 2010 11:23:23 GMT posted by Watty</b>
<div>The 12V to 13.8V (max 16V) is only needed for charging. Though the power icon flashes, more than 9.5V or so will give full 5W power. 10V definitely. Thus the best external battery solution for weight versus run time  is about 10V, not 12V, so 5 x 2V gel cells or 9.6V NiMh more efficient than 12V Gel cell.</p>
<p>If using LiPoly, a single cell is safest for charging, and use a 2V to 6V input range inverter to 10V to power FT817. Charge then from 5V USB to 13.8V car via LiPoly charger.  LiPoly are very difficult to use safely, and multicells need each cell monitored. Fully charged they are about 4.3V and you must disconnect around 2V (both voltages vary according to model datasheet). If the LiPoly is discharged to minimum or less it must be trickle charged at first. Once it is fully charged you must not even trickle charge, unlike Lead, NiMH and NiCd where you can maintain a low trickle/float charge.</p>
<p>
This only reduces heat generated in the FT817 and adds protection:<br />
<a href="http://www.wulfden.org/TheShoppe/ft817/index.shtml" target="_blank">http://www.wulfden.org/TheShoppe/ft817/index.shtml</a></div>
</p>
<hr />
]]></content:encoded>
			<wfw:commentRss>http://www.techtir.ie/2009/11/broadcast-tv-radio-comms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computer Related</title>
		<link>http://www.techtir.ie/2009/11/computer-related/</link>
		<comments>http://www.techtir.ie/2009/11/computer-related/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 07:34:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recent Forum Posts]]></category>

		<guid isPermaLink="false">http://www.techtir.ie/?p=212</guid>
		<description><![CDATA[Updating from  Computer Related Category  
 New format Hard drives  Tue, 09 Mar 2010 18:46:58 GMT posted by John Mac
4k format hard drives. 
from bbc

Quote:




				By early 2011 all hard drives will use an &#34;advanced format&#34; that changes how they go about saving the data people store on them.
The move to the advanced [...]]]></description>
			<content:encoded><![CDATA[<p><i><b>Updating from <a href="http://www.techtir.ie/forums/forumdisplay.php?f=26" > Computer Related Category </a> </b></i></p>
<p><P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3409&#038;goto=newpost"> New format Hard drives </a> Tue, 09 Mar 2010 18:46:58 GMT posted by John Mac</b>
<div>4k format hard drives. <br />
from <a href="http://news.bbc.co.uk/2/hi/technology/8557144.stm" target="_blank">bbc</a></p>
<div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
<p>				By early 2011 all hard drives will use an &quot;advanced format&quot; that changes how they go about saving the data people store on them.</p>
<p>The move to the advanced format will make it easier for hard drive makers to produce bigger drives that use less power and are more reliable.</p>
<p>However, it might mean problems for Windows XP users who swap an old drive for one using the changed format.</p>
<hr />
		</td>
</tr>
</table>
</div>
<p>So will existing Hard drives be able to run in tandem with the new format? </p>
<p>like fat32 and ntfs ?</p></div>
</p>
<hr />
<P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3406&#038;goto=newpost"> GLCD Analogue Clock </a> Thu, 04 Mar 2010 11:05:11 GMT posted by Watty</b>
<div>Assume you have a LCD_write_pixel (x, y, ink)<br />
where ink is on/black or off/white</p>
<p>Analogue Clock is centred in a 128&#215;64 GLCD panel. Top left is 0, 0<br />
bottom right is 127,63</p>
<p>to position any place from 32 to 95, subtract 31 off the x co-ordinates and have a constant added of the X-Offset.</p>
<p>The co-ordinates minutes and hours dots and the end points of the clock hands are created in a spreadsheet using <br />
R * cos (minutes * 6 -90) and <br />
R *sin (minutes * 6 -90)<br />
as 1 minute is 6 degrees and 12 o&#8217;clock is 0 minutes = -90 degrees.<br />
You&#8217;ll need to convert to radians. </p>
<p>Assume you have a regular interrupt to count with:</p>
<p>first draw the clock face</p>
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if&nbsp; lastkey == &quot;*&quot; then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawClockFace()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; clock_on = true</code><br />
<hr />
</div>
<p>in some initialisation or menu code</p>
<p>Main &quot;tick&quot; driven code fragment:</p>
<p>counter somehow gets incremented every 2ms in this example</p>
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp; <br />
&nbsp; &nbsp;  if (counter == 0) then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  counter = 500<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if clock_on then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawSecondHand (seconds, off)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawMinuteHand (minutes,off)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawHourHand (hours, off)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  end if<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  seconds = seconds +1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if seconds &gt; 59 then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; seconds = 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; minutes = minutes +1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if minutes &gt; 59 then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; minutes =0<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hours = hours +1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if hours &gt; 23 then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  hours = 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end if<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end if<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  end if<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if clock_on then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawHourHand (hours, on)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawMinuteHand (minutes,on)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DrawSecondHand (seconds, on)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  end if<br />
&nbsp; &nbsp; &nbsp; &nbsp;  end if</code><br />
<hr />
</div>
<p>
The supporting cast:</p>
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">procedure LCD_Line(byte in x0, byte in y0, byte in x1, byte in y1, bit in ink) is<br />
var bit steep, yinc<br />
var sword deltax, deltay, err<br />
var byte px, py<br />
&nbsp; &nbsp; deltax = sword(x1)-sword(x0)<br />
&nbsp; &nbsp; deltay = sword(y1)-sword(y0)<br />
&nbsp; &nbsp; if (deltax &lt; 0) then<br />
&nbsp; &nbsp; &nbsp;  deltax = -deltax<br />
&nbsp; &nbsp; end if<br />
&nbsp; &nbsp; if (deltay &lt; 0) then<br />
&nbsp; &nbsp; &nbsp;  deltay = -deltay<br />
&nbsp; &nbsp; end if<br />
&nbsp; &nbsp; steep = (deltay &gt; deltax)<br />
&nbsp; &nbsp; if steep then&nbsp;  -- swap(x0,y0) swap(x1,y1)<br />
&nbsp; &nbsp; &nbsp;  px = x0<br />
&nbsp; &nbsp; &nbsp;  x0 = y0<br />
&nbsp; &nbsp; &nbsp;  y0 = px<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp;  px = x1<br />
&nbsp; &nbsp; &nbsp;  x1 = y1<br />
&nbsp; &nbsp; &nbsp;  y1 = px<br />
&nbsp; &nbsp; end if<br />
&nbsp; &nbsp; if (x0 &gt; x1) then&nbsp; -- swap(x0,x1) swap(y0,y1)<br />
&nbsp; &nbsp; &nbsp;  px = x0<br />
&nbsp; &nbsp; &nbsp;  x0 = x1<br />
&nbsp; &nbsp; &nbsp;  x1 = px<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp;  py = y0<br />
&nbsp; &nbsp; &nbsp;  y0 = y1<br />
&nbsp; &nbsp; &nbsp;  y1 = py<br />
&nbsp; &nbsp; end if<br />
&nbsp; &nbsp; deltax = sword(x1)-sword(x0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  -- we might have swapped<br />
&nbsp; &nbsp; err = deltax / 2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -- assume the compiler does a shift<br />
&nbsp; &nbsp; yinc =&nbsp; (y1 &gt; y0)<br />
&nbsp; &nbsp; py = y0<br />
&nbsp; &nbsp; deltay = sword(y1)-sword(y0)&nbsp; &nbsp; -- we might have swapped<br />
&nbsp; &nbsp;  if (deltay &lt; 0) then<br />
&nbsp; &nbsp; &nbsp;  deltay = -deltay<br />
&nbsp; &nbsp; end if<br />
&nbsp; &nbsp; for deltax using px loop<br />
&nbsp; &nbsp; &nbsp;  if steep then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  lcd_write_pixel (py, x0+px, ink)<br />
&nbsp; &nbsp; &nbsp;  else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  lcd_write_pixel (x0+px, py, ink)<br />
&nbsp; &nbsp; &nbsp;  end if<br />
&nbsp; &nbsp; &nbsp;  err = err - deltay<br />
&nbsp; &nbsp; &nbsp;  if (err &lt; 0) then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if yinc then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; py = py + 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; py = py -1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  end if<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  err = err + deltax<br />
&nbsp; &nbsp; &nbsp;  end if<br />
&nbsp; &nbsp; end loop<br />
end procedure</p>
<p>procedure Lcd_DrawRectangle (byte in x0 , byte in y0 , byte in x1 , byte in y1, bit in ink ) is<br />
&nbsp;  x1 = x0 + x1 - 1<br />
&nbsp;  y1 = y0 + y1 - 1<br />
&nbsp;  lcd_orth_line ( x0,y0, x1,y0 )<br />
&nbsp;  lcd_orth_line ( x1,y0, x1,y1 )<br />
&nbsp;  lcd_orth_line ( x1,y1, x0,y1 )<br />
&nbsp;  lcd_orth_line ( x0,y1, x0,y0 )<br />
end procedure</p>
<p>
procedure lcd_orth_line(byte in x0, byte in y0, byte in x1, byte in y1) is<br />
&nbsp;var byte xi,yi , xfark,yfark, fark , xx</p>
<p>&nbsp;  xi = x0<br />
&nbsp;  yi = y0<br />
&nbsp;  if x1 &gt;= x0&nbsp; then&nbsp; xfark = x1 - x0 else&nbsp; xfark = x0 - x1 end if<br />
&nbsp;  if y1 &gt;= y0&nbsp; then&nbsp; yfark = y1 - y0 else&nbsp; yfark = y0 - y1 end if</p>
<p>&nbsp;  if xfark &gt;= yfark then fark = xfark else fark = yfark end if<br />
&nbsp;  xx = 0<br />
&nbsp;  for fark loop<br />
&nbsp; &nbsp; &nbsp; lcd_write_pixel ( xi, yi ,1)<br />
&nbsp; &nbsp; &nbsp; if xx &lt; xfark then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if x1 &gt;= x0 then xi = xi + 1 else xi = xi - 1 end if<br />
&nbsp; &nbsp; &nbsp; end if<br />
&nbsp; &nbsp; &nbsp; if xx &lt; yfark then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if y1 &gt;= y0 then yi = yi + 1 else yi = yi - 1 end if<br />
&nbsp; &nbsp; &nbsp; end if<br />
&nbsp; &nbsp; &nbsp; xx = xx + 1<br />
&nbsp;  end loop<br />
end procedure</code><br />
<hr />
</div>
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">-- Title: graphic_utils<br />
procedure DrawClockFace() is<br />
&nbsp; &nbsp; lcd_fill(0)<br />
&nbsp; &nbsp; LCD_DrawRectangle (62, 31, 2, 2, True)<br />
--draw minutes dots<br />
&nbsp; &nbsp; lcd_write_pixel (65, 0, True)&nbsp;  -- 1<br />
&nbsp; &nbsp; lcd_write_pixel (68, 1, True)&nbsp;  -- 2<br />
&nbsp; &nbsp; lcd_write_pixel (72, 2, True)&nbsp;  -- 3<br />
&nbsp; &nbsp; lcd_write_pixel (75, 3, True)&nbsp;  -- 4<br />
&nbsp; &nbsp; lcd_write_pixel (78, 4, True)&nbsp;  -- 5<br />
&nbsp; &nbsp; lcd_write_pixel (80, 6, True)&nbsp;  -- 6<br />
&nbsp; &nbsp; lcd_write_pixel (83, 8, True)&nbsp;  -- 7<br />
&nbsp; &nbsp; lcd_write_pixel (85, 10, True)&nbsp;  -- 8<br />
&nbsp; &nbsp; lcd_write_pixel (87, 13, True)&nbsp;  -- 9<br />
&nbsp; &nbsp; lcd_write_pixel (89, 15, True)&nbsp;  -- 10<br />
&nbsp; &nbsp; lcd_write_pixel (90, 18, True)&nbsp;  -- 11<br />
&nbsp; &nbsp; lcd_write_pixel (91, 21, True)&nbsp;  -- 12<br />
&nbsp; &nbsp; lcd_write_pixel (92, 25, True)&nbsp;  -- 13<br />
&nbsp; &nbsp; lcd_write_pixel (93, 28, True)&nbsp;  -- 14<br />
&nbsp; &nbsp; lcd_write_pixel (93, 31, True)&nbsp;  -- 15<br />
&nbsp; &nbsp; lcd_write_pixel (93, 34, True)&nbsp;  -- 16<br />
&nbsp; &nbsp; lcd_write_pixel (92, 37, True)&nbsp;  -- 17<br />
&nbsp; &nbsp; lcd_write_pixel (91, 41, True)&nbsp;  -- 18<br />
&nbsp; &nbsp; lcd_write_pixel (90, 44, True)&nbsp;  -- 19<br />
&nbsp; &nbsp; lcd_write_pixel (89, 47, True)&nbsp;  -- 20<br />
&nbsp; &nbsp; lcd_write_pixel (87, 49, True)&nbsp;  -- 21<br />
&nbsp; &nbsp; lcd_write_pixel (85, 52, True)&nbsp;  -- 22<br />
&nbsp; &nbsp; lcd_write_pixel (83, 54, True)&nbsp;  -- 23<br />
&nbsp; &nbsp; lcd_write_pixel (80, 56, True)&nbsp;  -- 24<br />
&nbsp; &nbsp; lcd_write_pixel (78, 58, True)&nbsp;  -- 25<br />
&nbsp; &nbsp; lcd_write_pixel (75, 59, True)&nbsp;  -- 26<br />
&nbsp; &nbsp; lcd_write_pixel (72, 60, True)&nbsp;  -- 27<br />
&nbsp; &nbsp; lcd_write_pixel (68, 61, True)&nbsp;  -- 28<br />
&nbsp; &nbsp; lcd_write_pixel (65, 62, True)&nbsp;  -- 29<br />
&nbsp; &nbsp; lcd_write_pixel (62, 62, True)&nbsp;  -- 30<br />
&nbsp; &nbsp; lcd_write_pixel (59, 62, True)&nbsp;  -- 31<br />
&nbsp; &nbsp; lcd_write_pixel (56, 61, True)&nbsp;  -- 32<br />
&nbsp; &nbsp; lcd_write_pixel (52, 60, True)&nbsp;  -- 33<br />
&nbsp; &nbsp; lcd_write_pixel (49, 59, True)&nbsp;  -- 34<br />
&nbsp; &nbsp; lcd_write_pixel (46, 58, True)&nbsp;  -- 35<br />
&nbsp; &nbsp; lcd_write_pixel (44, 56, True)&nbsp;  -- 36<br />
&nbsp; &nbsp; lcd_write_pixel (41, 54, True)&nbsp;  -- 37<br />
&nbsp; &nbsp; lcd_write_pixel (39, 52, True)&nbsp;  -- 38<br />
&nbsp; &nbsp; lcd_write_pixel (37, 49, True)&nbsp;  -- 39<br />
&nbsp; &nbsp; lcd_write_pixel (35, 47, True)&nbsp;  -- 40<br />
&nbsp; &nbsp; lcd_write_pixel (34, 44, True)&nbsp;  -- 41<br />
&nbsp; &nbsp; lcd_write_pixel (33, 41, True)&nbsp;  -- 42<br />
&nbsp; &nbsp; lcd_write_pixel (32, 37, True)&nbsp;  -- 43<br />
&nbsp; &nbsp; lcd_write_pixel (31, 34, True)&nbsp;  -- 44<br />
&nbsp; &nbsp; lcd_write_pixel (31, 31, True)&nbsp;  -- 45<br />
&nbsp; &nbsp; lcd_write_pixel (31, 28, True)&nbsp;  -- 46<br />
&nbsp; &nbsp; lcd_write_pixel (32, 25, True)&nbsp;  -- 47<br />
&nbsp; &nbsp; lcd_write_pixel (33, 21, True)&nbsp;  -- 48<br />
&nbsp; &nbsp; lcd_write_pixel (34, 18, True)&nbsp;  -- 49<br />
&nbsp; &nbsp; lcd_write_pixel (35, 15, True)&nbsp;  -- 50<br />
&nbsp; &nbsp; lcd_write_pixel (37, 13, True)&nbsp;  -- 51<br />
&nbsp; &nbsp; lcd_write_pixel (39, 10, True)&nbsp;  -- 52<br />
&nbsp; &nbsp; lcd_write_pixel (41, 8, True)&nbsp;  -- 53<br />
&nbsp; &nbsp; lcd_write_pixel (44, 6, True)&nbsp;  -- 54<br />
&nbsp; &nbsp; lcd_write_pixel (46, 4, True)&nbsp;  -- 55<br />
&nbsp; &nbsp; lcd_write_pixel (49, 3, True)&nbsp;  -- 56<br />
&nbsp; &nbsp; lcd_write_pixel (52, 2, True)&nbsp;  -- 57<br />
&nbsp; &nbsp; lcd_write_pixel (56, 1, True)&nbsp;  -- 58<br />
&nbsp; &nbsp; lcd_write_pixel (59, 0, True)&nbsp;  -- 59<br />
&nbsp; &nbsp; lcd_write_pixel (62, 0, True)&nbsp;  -- 60</p>
<p>&nbsp;--draw hours dots</p>
<p>&nbsp; &nbsp; LCD_DrawRectangle (78, 4, 2, 2, True )<br />
&nbsp; &nbsp; LCD_DrawRectangle (89, 15, 2, 2, True )<br />
&nbsp; &nbsp; LCD_DrawRectangle (93, 31, 2, 2, True )<br />
&nbsp; &nbsp; LCD_DrawRectangle (89, 47, 2, 2, True)<br />
&nbsp; &nbsp; LCD_DrawRectangle (78, 58, 2, 2, True )<br />
&nbsp; &nbsp; LCD_DrawRectangle (62, 62, 2, 2, True )<br />
&nbsp; &nbsp; LCD_DrawRectangle (46, 58, 2, 2, True )<br />
&nbsp; &nbsp; LCD_DrawRectangle (35, 47, 2, 2, True )<br />
&nbsp; &nbsp; LCD_DrawRectangle (31, 31, 2, 2, True )<br />
&nbsp; &nbsp; LCD_DrawRectangle (35, 15, 2, 2, True )<br />
&nbsp; &nbsp; LCD_DrawRectangle (46, 4, 2, 2, True )<br />
&nbsp; &nbsp; LCD_DrawRectangle (62, 0, 2, 2, True )<br />
End procedure</p>
<p>
procedure DrawMinuteHand(byte in minutes, bit in ink) is<br />
&nbsp; &nbsp; case minutes of<br />
&nbsp; &nbsp;  1&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 65, 7, ink)&nbsp;  --&nbsp; 1<br />
&nbsp; &nbsp;  2&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 67, 8, ink)&nbsp;  --&nbsp; 2<br />
&nbsp; &nbsp;  3&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 69, 8, ink)&nbsp;  --&nbsp; 3<br />
&nbsp; &nbsp;  4&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 72, 9, ink)&nbsp;  --&nbsp; 4<br />
&nbsp; &nbsp;  5&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 74, 10, ink)&nbsp;  --&nbsp; 5<br />
&nbsp; &nbsp;  6&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 76, 12, ink)&nbsp;  --&nbsp; 6<br />
&nbsp; &nbsp;  7&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 78, 13, ink)&nbsp;  --&nbsp; 7<br />
&nbsp; &nbsp;  8&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 80, 15, ink)&nbsp;  --&nbsp; 8<br />
&nbsp; &nbsp;  9&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 81, 17, ink)&nbsp;  --&nbsp; 9<br />
&nbsp; &nbsp;  10 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 83, 19, ink)&nbsp;  --&nbsp; 10<br />
&nbsp; &nbsp;  11 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 84, 21, ink)&nbsp;  --&nbsp; 11<br />
&nbsp; &nbsp;  12 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 85, 24, ink)&nbsp;  --&nbsp; 12<br />
&nbsp; &nbsp;  13 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 85, 26, ink)&nbsp;  --&nbsp; 13<br />
&nbsp; &nbsp;  14 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 86, 28, ink)&nbsp;  --&nbsp; 14<br />
&nbsp; &nbsp;  15 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 86, 31, ink)&nbsp;  --&nbsp; 15<br />
&nbsp; &nbsp;  16 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 86, 34, ink)&nbsp;  --&nbsp; 16<br />
&nbsp; &nbsp;  17 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 85, 36, ink)&nbsp;  --&nbsp; 17<br />
&nbsp; &nbsp;  18 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 85, 38, ink)&nbsp;  --&nbsp; 18<br />
&nbsp; &nbsp;  19 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 84, 41, ink)&nbsp;  --&nbsp; 19<br />
&nbsp; &nbsp;  20 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 83, 43, ink)&nbsp;  --&nbsp; 20<br />
&nbsp; &nbsp;  21 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 81, 45, ink)&nbsp;  --&nbsp; 21<br />
&nbsp; &nbsp;  22 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 80, 47, ink)&nbsp;  --&nbsp; 22<br />
&nbsp; &nbsp;  23 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 78, 49, ink)&nbsp;  --&nbsp; 23<br />
&nbsp; &nbsp;  24&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 76, 50, ink)&nbsp;  --&nbsp; 24<br />
&nbsp; &nbsp;  25 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 74, 52, ink)&nbsp;  --&nbsp; 25<br />
&nbsp; &nbsp;  26 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 72, 53, ink)&nbsp;  --&nbsp; 26<br />
&nbsp; &nbsp;  27 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 69, 54, ink)&nbsp;  --&nbsp; 27<br />
&nbsp; &nbsp;  28 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 67, 54, ink)&nbsp;  --&nbsp; 28<br />
&nbsp; &nbsp;  29 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 65, 55, ink)&nbsp;  --&nbsp; 29<br />
&nbsp; &nbsp;  30 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 62, 55, ink)&nbsp;  --&nbsp; 30<br />
&nbsp; &nbsp;  31 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 59, 55, ink)&nbsp;  --&nbsp; 31<br />
&nbsp; &nbsp;  32 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 57, 54, ink)&nbsp;  --&nbsp; 32<br />
&nbsp; &nbsp;  33 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 55, 54, ink)&nbsp;  --&nbsp; 33<br />
&nbsp; &nbsp;  34 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 52, 53, ink)&nbsp;  --&nbsp; 34<br />
&nbsp; &nbsp;  35 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 50, 52, ink)&nbsp;  --&nbsp; 35<br />
&nbsp; &nbsp;  36 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 48, 50, ink)&nbsp;  --&nbsp; 36<br />
&nbsp; &nbsp;  37 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 46, 49, ink)&nbsp;  --&nbsp; 37<br />
&nbsp; &nbsp;  38 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 44, 47, ink)&nbsp;  --&nbsp; 38<br />
&nbsp; &nbsp;  39 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 43, 45, ink)&nbsp;  --&nbsp; 39<br />
&nbsp; &nbsp;  40 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 41, 43, ink)&nbsp;  --&nbsp; 40<br />
&nbsp; &nbsp;  41 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 40, 41, ink)&nbsp;  --&nbsp; 41<br />
&nbsp; &nbsp;  42 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 39, 38, ink)&nbsp;  --&nbsp; 42<br />
&nbsp; &nbsp;  43 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 39, 36, ink)&nbsp;  --&nbsp; 43<br />
&nbsp; &nbsp;  44 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 38, 34, ink)&nbsp;  --&nbsp; 44<br />
&nbsp; &nbsp;  45 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 38, 31, ink)&nbsp;  --&nbsp; 45<br />
&nbsp; &nbsp;  46 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 38, 28, ink)&nbsp;  --&nbsp; 46<br />
&nbsp; &nbsp;  47 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 39, 26, ink)&nbsp;  --&nbsp; 47<br />
&nbsp; &nbsp;  48 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 39, 24, ink)&nbsp;  --&nbsp; 48<br />
&nbsp; &nbsp;  49 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 40, 21, ink)&nbsp;  --&nbsp; 49<br />
&nbsp; &nbsp;  50 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 41, 19, ink)&nbsp;  --&nbsp; 50<br />
&nbsp; &nbsp;  51 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 43, 17, ink)&nbsp;  --&nbsp; 51<br />
&nbsp; &nbsp;  52&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 44, 15, ink)&nbsp;  --&nbsp; 52<br />
&nbsp; &nbsp;  53 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 46, 13, ink)&nbsp;  --&nbsp; 53<br />
&nbsp; &nbsp;  54&nbsp; :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 48, 12, ink)&nbsp;  --&nbsp; 54<br />
&nbsp; &nbsp;  55 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 50, 10, ink)&nbsp;  --&nbsp; 55<br />
&nbsp; &nbsp;  56 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 52, 9, ink)&nbsp;  --&nbsp; 56<br />
&nbsp; &nbsp;  57 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 55, 8, ink)&nbsp;  --&nbsp; 57<br />
&nbsp; &nbsp;  58 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 57, 8, ink)&nbsp;  --&nbsp; 58<br />
&nbsp; &nbsp;  59 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 59, 7, ink)&nbsp;  --&nbsp; 59<br />
&nbsp; &nbsp;  0 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 62, 7, ink)&nbsp;  --&nbsp; 0<br />
&nbsp; &nbsp; End case<br />
End procedure</p>
<p>procedure DrawSecondHand(byte in seconds, bit in ink ) is<br />
&nbsp; &nbsp; case seconds of<br />
&nbsp; &nbsp; 0 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 62, 3, ink)&nbsp; &nbsp; --&nbsp; 0<br />
&nbsp; &nbsp; 1 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 65, 3, ink)&nbsp; &nbsp; --&nbsp; 1<br />
&nbsp; &nbsp; 2 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 68, 4, ink)&nbsp; &nbsp; --&nbsp; 2<br />
&nbsp; &nbsp; 3 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 71, 4, ink)&nbsp; &nbsp; --&nbsp; 3<br />
&nbsp; &nbsp; 4 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 73, 5, ink)&nbsp; &nbsp; --&nbsp; 4<br />
&nbsp; &nbsp; 5 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 76, 7, ink)&nbsp; &nbsp; --&nbsp; 5<br />
&nbsp; &nbsp; 6 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 78, 8, ink)&nbsp; &nbsp; --&nbsp; 6<br />
&nbsp; &nbsp; 7 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 81, 10, ink)&nbsp; &nbsp; --&nbsp; 7<br />
&nbsp; &nbsp; 8 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 83, 12, ink)&nbsp; &nbsp; --&nbsp; 8<br />
&nbsp; &nbsp; 9 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 85, 15, ink)&nbsp; &nbsp; --&nbsp; 9<br />
&nbsp; &nbsp; 10 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 86, 17, ink)&nbsp; &nbsp; --&nbsp; 10<br />
&nbsp; &nbsp; 11 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 88, 20, ink)&nbsp; &nbsp; --&nbsp; 11<br />
&nbsp; &nbsp; 12 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 89, 22, ink)&nbsp; &nbsp; --&nbsp; 12<br />
&nbsp; &nbsp; 13 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 89, 25, ink)&nbsp; &nbsp; --&nbsp; 13<br />
&nbsp; &nbsp; 14 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 90, 28, ink)&nbsp; &nbsp; --&nbsp; 14<br />
&nbsp; &nbsp; 15 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 90, 31, ink)&nbsp; &nbsp; --&nbsp; 15<br />
&nbsp; &nbsp; 16 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 90, 34, ink)&nbsp; &nbsp; --&nbsp; 16<br />
&nbsp; &nbsp; 17 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 89, 37, ink)&nbsp; &nbsp; --&nbsp; 17<br />
&nbsp; &nbsp; 18 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 89, 40, ink)&nbsp; &nbsp; --&nbsp; 18<br />
&nbsp; &nbsp; 19 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 88, 42, ink)&nbsp; &nbsp; --&nbsp; 19<br />
&nbsp; &nbsp; 20 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 86, 45, ink)&nbsp; &nbsp; --&nbsp; 20<br />
&nbsp; &nbsp; 21 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 85, 47, ink)&nbsp; &nbsp; --&nbsp; 21<br />
&nbsp; &nbsp; 22 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 83, 50, ink)&nbsp; &nbsp; --&nbsp; 22<br />
&nbsp; &nbsp; 23 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 81, 52, ink)&nbsp; &nbsp; --&nbsp; 23<br />
&nbsp; &nbsp; 24 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 78, 54, ink)&nbsp; &nbsp; --&nbsp; 24<br />
&nbsp; &nbsp; 25 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 76, 55, ink)&nbsp; &nbsp; --&nbsp; 25<br />
&nbsp; &nbsp; 26 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 73, 57, ink)&nbsp; &nbsp; --&nbsp; 26<br />
&nbsp; &nbsp; 27 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 71, 58, ink)&nbsp; &nbsp; --&nbsp; 27<br />
&nbsp; &nbsp; 28 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 68, 58, ink)&nbsp; &nbsp; --&nbsp; 28<br />
&nbsp; &nbsp; 29 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 65, 59, ink)&nbsp; &nbsp; --&nbsp; 29<br />
&nbsp; &nbsp; 30 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 62, 59, ink)&nbsp; &nbsp; --&nbsp; 30<br />
&nbsp; &nbsp; 31 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 59, 59, ink)&nbsp; &nbsp; --&nbsp; 31<br />
&nbsp; &nbsp; 32 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 56, 58, ink)&nbsp; &nbsp; --&nbsp; 32<br />
&nbsp; &nbsp; 33 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 53, 58, ink)&nbsp; &nbsp; --&nbsp; 33<br />
&nbsp; &nbsp; 34 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 51, 57, ink)&nbsp; &nbsp; --&nbsp; 34<br />
&nbsp; &nbsp; 35 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 48, 55, ink)&nbsp; &nbsp; --&nbsp; 35<br />
&nbsp; &nbsp; 36 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 46, 54, ink)&nbsp; &nbsp; --&nbsp; 36<br />
&nbsp; &nbsp; 37 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 43, 52, ink)&nbsp; &nbsp; --&nbsp; 37<br />
&nbsp; &nbsp; 38 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 41, 50, ink)&nbsp; &nbsp; --&nbsp; 38<br />
&nbsp; &nbsp; 39 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 39, 47, ink)&nbsp; &nbsp; --&nbsp; 39<br />
&nbsp; &nbsp; 40 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 38, 45, ink)&nbsp; &nbsp; --&nbsp; 40<br />
&nbsp; &nbsp; 41 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 36, 42, ink)&nbsp; &nbsp; --&nbsp; 41<br />
&nbsp; &nbsp; 42 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 35, 40, ink)&nbsp; &nbsp; --&nbsp; 42<br />
&nbsp; &nbsp; 43 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 35, 37, ink)&nbsp; &nbsp; --&nbsp; 43<br />
&nbsp; &nbsp; 44 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 34, 34, ink)&nbsp; &nbsp; --&nbsp; 44<br />
&nbsp; &nbsp; 45 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 34, 31, ink)&nbsp; &nbsp; --&nbsp; 45<br />
&nbsp; &nbsp; 46 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 34, 28, ink)&nbsp; &nbsp; --&nbsp; 46<br />
&nbsp; &nbsp; 47 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 35, 25, ink)&nbsp; &nbsp; --&nbsp; 47<br />
&nbsp; &nbsp; 48 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 35, 22, ink)&nbsp; &nbsp; --&nbsp; 48<br />
&nbsp; &nbsp; 49 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 36, 20, ink)&nbsp; &nbsp; --&nbsp; 49<br />
&nbsp; &nbsp; 50 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 38, 17, ink)&nbsp; &nbsp; --&nbsp; 50<br />
&nbsp; &nbsp; 51 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 39, 15, ink)&nbsp; &nbsp; --&nbsp; 51<br />
&nbsp; &nbsp; 52 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 41, 12, ink)&nbsp; &nbsp; --&nbsp; 52<br />
&nbsp; &nbsp; 53 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 43, 10, ink)&nbsp; &nbsp; --&nbsp; 53<br />
&nbsp; &nbsp; 54 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 46, 8, ink)&nbsp; &nbsp; --&nbsp; 54<br />
&nbsp; &nbsp; 55 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 48, 7, ink)&nbsp; &nbsp; --&nbsp; 55<br />
&nbsp; &nbsp; 56 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 51, 5, ink)&nbsp; &nbsp; --&nbsp; 56<br />
&nbsp; &nbsp; 57 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 53, 4, ink)&nbsp; &nbsp; --&nbsp; 57<br />
&nbsp; &nbsp; 58 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 56, 4, ink)&nbsp; &nbsp; --&nbsp; 58<br />
&nbsp; &nbsp; 59 :<br />
&nbsp; &nbsp; &nbsp; &nbsp; LCD_line (62, 31, 59, 3, ink)&nbsp; &nbsp; --&nbsp; 59<br />
&nbsp; &nbsp; end case<br />
&nbsp; &nbsp; LCD_DrawRectangle (62, 31, 2, 2, on) --centre<br />
end procedure</p>
<p>procedure DrawHourHand(byte in hours, bit in ink) is<br />
&nbsp;  case hours of<br />
&nbsp;  1, 13:<br />
&nbsp; &nbsp; LCD_line (62, 31, 70, 17, ink)<br />
&nbsp;  2, 14:<br />
&nbsp; &nbsp; LCD_line (62, 31, 76, 23, ink)<br />
&nbsp;  3, 15 :<br />
&nbsp; &nbsp; LCD_line (62, 31, 78, 31, ink)<br />
&nbsp;  4, 16 :<br />
&nbsp; &nbsp; LCD_line (62, 31, 76, 39, ink)<br />
&nbsp;  5, 17 :<br />
&nbsp; &nbsp; LCD_line (62, 31, 70, 45, ink)<br />
&nbsp;  6, 18 :<br />
&nbsp; &nbsp; LCD_line (62, 31, 62, 47, ink)<br />
&nbsp;  7, 19 :<br />
&nbsp; &nbsp; LCD_line (62, 31, 54, 45, ink)<br />
&nbsp;  8, 20 :<br />
&nbsp; &nbsp; LCD_line (62, 31, 48, 39, ink)<br />
&nbsp;  9, 21 :<br />
&nbsp; &nbsp; LCD_line (62, 31, 46, 31, ink)<br />
&nbsp;  10, 22 :<br />
&nbsp; &nbsp; LCD_line (62, 31, 48, 23, ink)<br />
&nbsp;  11, 23 :<br />
&nbsp; &nbsp; LCD_line (62, 31, 54, 17, ink)<br />
&nbsp;  12, 0, 24 :<br />
&nbsp; &nbsp; LCD_line (62, 31, 62, 15, ink)<br />
&nbsp; &nbsp; end case</p>
<p>end Procedure</p>
<p>
procedure&nbsp; LCD_DrawButton(byte in px , byte in py , byte in wx , byte in wy, bit in ink ) is<br />
var byte ind<br />
&nbsp; &nbsp; For wx using ind loop<br />
&nbsp; &nbsp; &nbsp; &nbsp; lcd_write_pixel ( ind+wx, py, ink)<br />
&nbsp; &nbsp; &nbsp; &nbsp; lcd_write_pixel ( ind+wx, py + wy - 1, ink)<br />
&nbsp; &nbsp; &nbsp; &nbsp; lcd_write_pixel ( ind+wx + 1, py + wy, ink)<br />
&nbsp; &nbsp; end loop<br />
&nbsp; &nbsp; For wy using ind loop<br />
&nbsp; &nbsp; &nbsp; &nbsp; lcd_write_pixel ( px, ind+py, ink)<br />
&nbsp; &nbsp; &nbsp; &nbsp; lcd_write_pixel ( px + wx - 1, ind+py, ink)<br />
&nbsp; &nbsp; &nbsp; &nbsp; lcd_write_pixel ( px + wx, ind +py + 1, ink)<br />
&nbsp; &nbsp; end loop<br />
end procedure</code><br />
<hr />
</div>
</div>
<hr />
<P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3399&#038;goto=newpost"> video not playing </a> Fri, 26 Feb 2010 18:45:20 GMT posted by John Mac</b>
<div>Hi all <br />
I have an old dell laptop (latitude d600) running ubuntu 9.1</p>
<p>1.2mb ram  (upped from 512)<br />
cpu is pentium m 1.4</p>
<p>Should this system be capable of showing youtube videos? </p>
<p>or showing video streamed from the pc, playback (using vlc)</p>
<p>what happens is it starts fine but about 4 or 5 seconds into it the video stops. <br />
Would it be the cpu thats causing the prob or something else? <br />
thanks<br />
J</div>
</p>
<hr />
<P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3388&#038;goto=newpost"> Top 25 programming risks? </a> Wed, 17 Feb 2010 10:36:43 GMT posted by Watty</b>
<div><a href="http://cwe.mitre.org/top25/" target="_blank">http://cwe.mitre.org/top25/</a></p>
<p>Many are related to Internet Applications.</p>
<p>Can we make a list of?<br />
1) Desktop GUI programming issues<br />
2) Embedded system programming issues</p>
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Rank&nbsp; &nbsp; &nbsp; &nbsp; Score&nbsp; &nbsp; &nbsp; &nbsp; ID&nbsp; &nbsp; &nbsp; &nbsp; Name<br />
[1]&nbsp; &nbsp; &nbsp; &nbsp; 346&nbsp; &nbsp; &nbsp; &nbsp; CWE-79&nbsp; &nbsp; &nbsp; &nbsp;  Failure to Preserve Web Page Structure ('Cross-site Scripting')<br />
[2]&nbsp; &nbsp; &nbsp; &nbsp; 330&nbsp; &nbsp; &nbsp; &nbsp; CWE-89&nbsp; &nbsp; &nbsp; &nbsp;  Improper Sanitization of Special Elements used in an SQL Command ('SQL Injection')<br />
[3]&nbsp; &nbsp; &nbsp; &nbsp; 273&nbsp; &nbsp; &nbsp; &nbsp; CWE-120&nbsp; &nbsp; &nbsp; &nbsp;  Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')<br />
[4]&nbsp; &nbsp; &nbsp; &nbsp; 261&nbsp; &nbsp; &nbsp; &nbsp; CWE-352&nbsp; &nbsp; &nbsp; &nbsp;  Cross-Site Request Forgery (CSRF)<br />
[5]&nbsp; &nbsp; &nbsp; &nbsp; 219&nbsp; &nbsp; &nbsp; &nbsp; CWE-285&nbsp; &nbsp; &nbsp; &nbsp;  Improper Access Control (Authorization)<br />
[6]&nbsp; &nbsp; &nbsp; &nbsp; 202&nbsp; &nbsp; &nbsp; &nbsp; CWE-807&nbsp; &nbsp; &nbsp; &nbsp;  Reliance on Untrusted Inputs in a Security Decision<br />
[7]&nbsp; &nbsp; &nbsp; &nbsp; 197&nbsp; &nbsp; &nbsp; &nbsp; CWE-22&nbsp; &nbsp; &nbsp; &nbsp;  Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')<br />
[8]&nbsp; &nbsp; &nbsp; &nbsp; 194&nbsp; &nbsp; &nbsp; &nbsp; CWE-434&nbsp; &nbsp; &nbsp; &nbsp;  Unrestricted Upload of File with Dangerous Type<br />
[9]&nbsp; &nbsp; &nbsp; &nbsp; 188&nbsp; &nbsp; &nbsp; &nbsp; CWE-78&nbsp; &nbsp; &nbsp; &nbsp;  Improper Sanitization of Special Elements used in an OS Command ('OS Command Injection')<br />
[10]&nbsp; &nbsp; &nbsp; &nbsp; 188&nbsp; &nbsp; &nbsp; &nbsp; CWE-311&nbsp; &nbsp; &nbsp; &nbsp;  Missing Encryption of Sensitive Data<br />
[11]&nbsp; &nbsp; &nbsp; &nbsp; 176&nbsp; &nbsp; &nbsp; &nbsp; CWE-798&nbsp; &nbsp; &nbsp; &nbsp;  Use of Hard-coded Credentials<br />
[12]&nbsp; &nbsp; &nbsp; &nbsp; 158&nbsp; &nbsp; &nbsp; &nbsp; CWE-805&nbsp; &nbsp; &nbsp; &nbsp;  Buffer Access with Incorrect Length Value<br />
[13]&nbsp; &nbsp; &nbsp; &nbsp; 157&nbsp; &nbsp; &nbsp; &nbsp; CWE-98&nbsp; &nbsp; &nbsp; &nbsp;  Improper Control of Filename for Include/Require Statement in PHP Program ('PHP File Inclusion')<br />
[14]&nbsp; &nbsp; &nbsp; &nbsp; 156&nbsp; &nbsp; &nbsp; &nbsp; CWE-129&nbsp; &nbsp; &nbsp; &nbsp;  Improper Validation of Array Index<br />
[15]&nbsp; &nbsp; &nbsp; &nbsp; 155&nbsp; &nbsp; &nbsp; &nbsp; CWE-754&nbsp; &nbsp; &nbsp; &nbsp;  Improper Check for Unusual or Exceptional Conditions<br />
[16]&nbsp; &nbsp; &nbsp; &nbsp; 154&nbsp; &nbsp; &nbsp; &nbsp; CWE-209&nbsp; &nbsp; &nbsp; &nbsp;  Information Exposure Through an Error Message<br />
[17]&nbsp; &nbsp; &nbsp; &nbsp; 154&nbsp; &nbsp; &nbsp; &nbsp; CWE-190&nbsp; &nbsp; &nbsp; &nbsp;  Integer Overflow or Wraparound<br />
[18]&nbsp; &nbsp; &nbsp; &nbsp; 153&nbsp; &nbsp; &nbsp; &nbsp; CWE-131&nbsp; &nbsp; &nbsp; &nbsp;  Incorrect Calculation of Buffer Size<br />
[19]&nbsp; &nbsp; &nbsp; &nbsp; 147&nbsp; &nbsp; &nbsp; &nbsp; CWE-306&nbsp; &nbsp; &nbsp; &nbsp;  Missing Authentication for Critical Function<br />
[20]&nbsp; &nbsp; &nbsp; &nbsp; 146&nbsp; &nbsp; &nbsp; &nbsp; CWE-494&nbsp; &nbsp; &nbsp; &nbsp;  Download of Code Without Integrity Check<br />
[21]&nbsp; &nbsp; &nbsp; &nbsp; 145&nbsp; &nbsp; &nbsp; &nbsp; CWE-732&nbsp; &nbsp; &nbsp; &nbsp;  Incorrect Permission Assignment for Critical Resource<br />
[22]&nbsp; &nbsp; &nbsp; &nbsp; 145&nbsp; &nbsp; &nbsp; &nbsp; CWE-770&nbsp; &nbsp; &nbsp; &nbsp;  Allocation of Resources Without Limits or Throttling<br />
[23]&nbsp; &nbsp; &nbsp; &nbsp; 142&nbsp; &nbsp; &nbsp; &nbsp; CWE-601&nbsp; &nbsp; &nbsp; &nbsp;  URL Redirection to Untrusted Site ('Open Redirect')<br />
[24]&nbsp; &nbsp; &nbsp; &nbsp; 141&nbsp; &nbsp; &nbsp; &nbsp; CWE-327&nbsp; &nbsp; &nbsp; &nbsp;  Use of a Broken or Risky Cryptographic Algorithm<br />
[25]&nbsp; &nbsp; &nbsp; &nbsp; 138&nbsp; &nbsp; &nbsp; &nbsp; CWE-362&nbsp; &nbsp; &nbsp; &nbsp;  Race Condition</code><br />
<hr />
</div>
<p>My non-web selection from this list for embedded systems :<br />
Rank	Score	ID	Name</p>
<p>[3]	273	CWE-120 	Buffer Copy without Checking Size of Input (&#8216;Classic Buffer Overflow&#8217;)</p>
<p>[10]	188	CWE-311 	Missing Encryption of Sensitive Data</p>
<p>[12]	158	CWE-805 	Buffer Access with Incorrect Length Value</p>
<p>[14]	156	CWE-129 	Improper Validation of Array Index<br />
[15]	155	CWE-754 	Improper Check for Unusual or Exceptional Conditions</p>
<p>[17]	154	CWE-190 	Integer Overflow or Wraparound<br />
[18]	153	CWE-131 	Incorrect Calculation of Buffer Size<br />
[19]	147	CWE-306 	Missing Authentication for Critical Function</p>
<p>[24]	141	CWE-327 	Use of a Broken or Risky Cryptographic Algorithm<br />
[25]	138	CWE-362 	Race Condition</div>
</p>
<hr />
]]></content:encoded>
			<wfw:commentRss>http://www.techtir.ie/2009/11/computer-related/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Electronics and Gadgets</title>
		<link>http://www.techtir.ie/2009/11/electronics-and-gadgets/</link>
		<comments>http://www.techtir.ie/2009/11/electronics-and-gadgets/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 07:02:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recent Forum Posts]]></category>

		<guid isPermaLink="false">http://www.techtir.ie/?p=217</guid>
		<description><![CDATA[Updating from  Electronics and Gadgets  
 The future isn&#8217;t Armless  Wed, 24 Feb 2010 23:38:23 GMT posted by Watty
ARM cores power about 98% of phones
About 90% of gadgety stuff.
but only 5% of embedded Microcontroller applications (8051, microchip PIC, Atmel ATmega etc&#8230;)
New Flash based, incircuit programmed ARMs are aimed at the traditional 8bit/16bit [...]]]></description>
			<content:encoded><![CDATA[<p><i><b>Updating from <a href="http://www.techtir.ie/forums/forumdisplay.php?f=27" > Electronics and Gadgets </a> </b></i></p>
<p><P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3397&#038;goto=newpost"> The future isn&#8217;t Armless </a> Wed, 24 Feb 2010 23:38:23 GMT posted by Watty</b>
<div>ARM cores power about 98% of phones<br />
About 90% of gadgety stuff.<br />
but only 5% of embedded Microcontroller applications (8051, microchip PIC, Atmel ATmega etc&#8230;)</p>
<p>New Flash based, incircuit programmed ARMs are aimed at the traditional 8bit/16bit microcontroller market</p>
<div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
<p>				Key Features:</p>
<p>    * ARM Cortex-M0 Processor<br />
    * 50-MHz Operation<br />
    * Nested Vectored Interrupt Controller for Fast Deterministic Interrupts<br />
    * Wakeup Interrupt Controller Allows Automatic Wake from Any Priority Interrupt<br />
    * Three Reduced Power Modes: Sleep, Deep-Sleep, and Deep Power-Down<br />
    * Up to 32K Flash Memory and 8K RAM on board<br />
    * Single chip solution with GPIO, UART, ADC etc.</p>
<p>Built around the new Cortex-M0 architecture, the smallest, lowest-power, and most energy-efficient ARM core ever developed, these MCUs are ideally-equipped for use in battery-powered consumer devices, smart meters, motor control, and more. The Cortex-M0 processor-based LPC1100 series will begin availability in December 2009.</p>
<hr />
		</td>
</tr>
</table>
</div>
<p><a href="http://ics.nxp.com/products/lpc1000/lpc11xx/~LPC1114/#LPC1114" target="_blank">http://ics.nxp.com/products/lpc1000/&#8230;C1114/#LPC1114</a></p>
<p><a href="http://ics.nxp.com/products/lpc1000/datasheet/lpc1111.lpc1112.lpc1113.lpc1114.pdf" target="_blank">http://ics.nxp.com/products/lpc1000/&#8230;13.lpc1114.pdf</a></div>
</p>
<hr />
<P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3394&#038;goto=newpost"> Archos A605WiFi: Console Emulators </a> Mon, 22 Feb 2010 23:00:14 GMT posted by Watty</b>
<div>ARM based PMP running linux and 20G to 160Gbyte HDD<br />
800 x 480 screen<br />
Opera Browser with Flash 8?</p>
<p>
Absolutely locked from installing your own apps apart from Opera Widgets. </p>
<p>Till now. <a href="http://www.techtir.ie/forums/showthread.php?t=3353" target="_blank">http://www.techtir.ie/forums/showthread.php?t=3353</a></p>
<p>Updated with link to news about NES and Atari800 emulators.</p>
<p>This player could have been more successful than ipod Touch and Zune HD. But Archos has had a narrow view of application support.</p>
<p>The &quot;plugins&quot; sold by archos are in fact keys to unlock existing firmware features. They designed no method of Application installing or distribution other than complete replacement of the firmware!</p></div>
</p>
<hr />
<P><b><a href="http://www.techtir.ie/forums/showthread.php?t=3381&#038;goto=newpost"> Pandora finally out </a> Tue, 09 Feb 2010 17:11:46 GMT posted by Watty</b>
<div>It&#8217;s maybe about 3 years too late to be interesting&#8230;</p>
<p><a href="http://www.slashgear.com/pandora-gaming-handheld-enters-production-0973305/" target="_blank">http://www.slashgear.com/pandora-gam&#8230;ction-0973305/</a></p>
<p>Inspired by the GP2X <a href="http://en.wikipedia.org/wiki/GP2X" target="_blank">http://en.wikipedia.org/wiki/GP2X</a> which I have hardwired a USB socket on (It has a dock, but you can wire on USB host and Slave sockets) and run VNC to XP over USB networking.</p>
<p>The GP2X was a 320&#215;240 Mediaplayer with SD socket that wanted to be a portable game console.</p>
<p>The Pandora has a lot more built in I/O and I think a 800&#215;480 screen.</p>
<p>Too little too late? I suspect Texas Semi helped them as a Cheap project to test out the Omap ARM SoC.</p>
<p>main market seems to be emulating other consoles.</p></div>
</p>
<hr />
]]></content:encoded>
			<wfw:commentRss>http://www.techtir.ie/2009/11/electronics-and-gadgets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tech News</title>
		<link>http://www.techtir.ie/2009/10/tech-news/</link>
		<comments>http://www.techtir.ie/2009/10/tech-news/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 21:43:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Archive]]></category>

		<guid isPermaLink="false">http://techtir.ie/?p=140</guid>
		<description><![CDATA[October 2009 Highlights
RTÉ &#038; TG4 seal new rugby deal  Mon, 19 Oct 2009 21:09:45 GMT posted by celt
Google “doing exactly what Microsoft did” says angry GPS app dev from Slashgear
PLT, Homeplug and mains Networking etc. Watty, Bminish
Sky Italia offers Terrestrial via SkyHD box Watty, Byte
]]></description>
			<content:encoded><![CDATA[<p><strong>October 2009 Highlights</strong><br />
<a href="http://www.techtir.ie/forums/showthread.php?t=1485">RTÉ &#038; TG4 seal new rugby deal </a> Mon, 19 Oct 2009 21:09:45 GMT posted by celt</p>
<p><a href="http://www.techtir.ie/forums/showthread.php?t=2086">Google “doing exactly what Microsoft did”</a> says angry GPS app dev from Slashgear</p>
<p><a href="http://www.techtir.ie/forums/showthread.php?t=1843">PLT, Homeplug and mains Networking etc</a>. Watty, Bminish</p>
<p><a href="http://www.techtir.ie/forums/showthread.php?t=1763">Sky Italia offers Terrestrial via SkyHD box</a> Watty, Byte</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techtir.ie/2009/10/tech-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broadcast, TV, Radio &amp; Comms.</title>
		<link>http://www.techtir.ie/2009/10/broadcast_cat/</link>
		<comments>http://www.techtir.ie/2009/10/broadcast_cat/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 18:13:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Archive]]></category>

		<guid isPermaLink="false">http://techtir.com/forums/showthread.php?t=401</guid>
		<description><![CDATA[October Highlights
Thomson Sky+HD box repairs  Sun, 01 Nov 2009 14:22:25 GMT posted by byte
So, I bought a faulty Thomson DSI8215 Sky+ HD box on eBay. Problems included only some channels working (some only worked after box had warmed up), and Tuner 2 totally dead.
Reading around, pretty much all Thomson faults fall onto their power [...]]]></description>
			<content:encoded><![CDATA[<p><strong>October Highlights</strong></p>
<p><strong><a href="http://www.techtir.ie/forums/showthread.php?t=2114">Thomson Sky+HD box repairs</a></strong>  Sun, 01 Nov 2009 14:22:25 GMT posted by byte<br />
So, I bought a faulty Thomson DSI8215 Sky+ HD box on eBay. Problems included only some channels working (some only worked after box had warmed up), and Tuner 2 totally dead.</p>
<p>Reading around, pretty much all Thomson faults fall onto their power supply, and the terrible capacitors therein.</p>
<p>So, I bought a capacitor kit from Satcure. Indeed, just like Satcure state, some of the caps in the power supply were indeed bulging, and two were oozing! (it seems Donberg.ie sell the same kits also). Satcure do claim that the capacitors they use are much superior to the original ones that failed.</p>
<p>So, having taken the HD box apart*, I removed the PS (easily removed) and started removing all the existing capacitors. When you buy the Satcure kit, they email you links to articles on how to remove the existing ones, and also where the new ones should go, which made it very easy for a novice like me. On the Thomson box, there is a circle on hte board where each of the caps go, half of which is shaded. The shaded half represents the negative side of the capacitor (which is usually marked with a stripe and minus symbol). NEVER put a cap in the wrong way around!</p>
<p>To remove the capacitors I used desolder wick which worked well, once I got the hang of it. After the 15 old capacitors were removed, I then proceeded to add the new ones, referring to the Satcure map to see where each different capacitor went. I would say the whole procedure took me an hour, though, would be less than half that time if you’re used to it.</p>
<p>I then returned the PS to my HD box again, though must admit I was worried the HD box would still show faults.</p>
<p>After getting the whole kit back together, I set the HD box up again with signal, power, etc. and gladly, the box is working like it should be! Plenty of signal on both tuners, and no dead LNB states.</p>
<p>*To take the HD box apart, I used this site. This page has plenty of images of what the box looks like when taken apart.</p>
<p>Also, from that same Morlocks link, I replaced the standard 300GB Maxtor HDD that was within my HD box, with a new Western Digital 500GB WD5000AAKS (was about €44 +del. from dabs.ie). I followed everything detailed in the above, and it’s very straight forward. I used Copy+ to retrieve all the recordings and series links from my Sky+ box (I used an external PATA caddy for Sky+ Harddrive and external SATA USB caddy for the new WD harddrive) which took about 45mins as I’d removed alot of stuff I didn’t need before copying. Obviously time will vary depending on the amount of stuff you wish to transfer.</p>
<p>It should be noted that the HD box can take up to 1TB harddrive. However, if you go over 500GB, you cannot use the Full System Reset option on the Sky menu anymore (well you can, but you end up with around 500GB afterwards), so must always use Copy+ for formatting, etc.</p>
<p>As it stands now, I have a perfectly working Thomson HD box, with more than double the recording capacity! Time will tell whether it’ll stay that way!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techtir.ie/2009/10/broadcast_cat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computer Related</title>
		<link>http://www.techtir.ie/2009/10/computer_related_cat/</link>
		<comments>http://www.techtir.ie/2009/10/computer_related_cat/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 16:01:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Archive]]></category>

		<guid isPermaLink="false">http://techtir.com/forums/showthread.php?t=378</guid>
		<description><![CDATA[October Highlights

 PLT, Homeplug and mains Networking etc.  Tue, 27 Oct 2009 10:44:49 GMT posted by Watty
Some of these claim 200Mbbps or even 1Gbps. BT’s own engineers have found they can interfere with ADSL, but the BT marketing guys selling Homevision don’t want to talk about that.
RSGB has taken Ofcom to court alleging lack [...]]]></description>
			<content:encoded><![CDATA[<p><strong>October Highlights</strong></p>
<p><strong><a href="http://www.techtir.ie/forums/showthread.php?t=1843"><br />
 PLT, Homeplug and mains Networking etc</a>.</strong>  Tue, 27 Oct 2009 10:44:49 GMT posted by Watty<br />
Some of these claim 200Mbbps or even 1Gbps. BT’s own engineers have found they can interfere with ADSL, but the BT marketing guys selling Homevision don’t want to talk about that.</p>
<p>RSGB has taken Ofcom to court alleging lack of enforcement of standards. Some produce more interference than others. It’s hard to beat Shielded Cat5e along the edge of the skirting board.</p>
<p>Sweden has now taken action: http://www.southgatearc.org/news/oct…_equipment.htm</p>
<p>If installing plugtop mains networking, do check your DSL Modem stats before and after and UK LW &#038; MW Radio. SW too if you use it.</p>
<p>Some Energy saver bulbs completely obliterate R4 LW and others have no effect. Not all Electronic gear is created equal, but PLT/Homeplug etc is inherently a DSL like up toi 30MHz transmitter. DSL is on twisted pair wiring designed to minimise interference. Mains wiring is not, and the lighting and switch circuits particularly can act as aerials as &#8220;live&#8221; and &#8220;neutral&#8221; can be in different places in the ceiling or wall rather than side by side. The fuse box does not block the signals and the Electricity meter has only a small effect to block the signal.</p>
<p>See also <a href="http://www.rsgb.org/emc/plt.php"> www.rsgb.org/emc/plt.php </a></p>
<hr />
<strong> <a href="http://www.techtir.ie/forums/showthread.php?t=1807">NBS and Three: Really Broadband?</a>  </strong>Mon, 26 Oct 2009 13:52:02 GMT posted by Watty<br />
Old comments I made on IrelandOffline and Boards.ie’s Broadband and Midband Forums.<br />
<a href="http://www.wattystuff.net/issues/mobile-and-nbs/">  www.wattystuff.net/issues/mobile-and-nbs </a></p>
<p>Ironically I was asked yesterday to design a 3G femto cell. In the rest of Europe, both dedicated Wireless, Cable, DSL and Fibre is getting good. Phone coverage is getting poorer as people add energy saving double glazing and more smart phones in use.</p>
<p>Also the proposed switch to 3G on 900MHz GSM will reduce phone coverage in GSM areas as 3G breathes.</p>
<p>The Meteor, O2, Vodafone and 3 &#8220;so called&#8221; Mobile Broadband is simply the 3G/HSPA mobile Phone networks. It’s not Broadband. Also some networks are 3 to 4 times poorer speed than they should be for people that actually must have Mobile &#8220;on the go&#8221; coverage because even according to 3 Ireland’s own statistics, 50% of users are static. You can be sure a sizeable percentage (if not majority) use it Mobile occasionally and Fixed for over 90% of their on line time.</p>
<p>Fixed users use about x10 to x50 more data than real Mobile users.</p>
<p>Article <a href="http://www.techtir.ie/forums/showthread.php?p=2073#post2073">here in our Articles section</a> that explains why Mobile can’t deliver, EVER, without massive amount of spectrum.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techtir.ie/2009/10/computer_related_cat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User, Installer, Engineer or Designer?</title>
		<link>http://www.techtir.ie/2009/10/welcome/</link>
		<comments>http://www.techtir.ie/2009/10/welcome/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 08:24:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://techtir.ie/wpp/?p=1</guid>
		<description><![CDATA[Or maybe just curious.
Discussion,                 tutorials and Articles on a wide range of technology subjects
Techtír is not                 another social networking site, but a source [...]]]></description>
			<content:encoded><![CDATA[<p>Or maybe just curious.</p>
<p><strong><a href="../forums/index.php"><span style="font-family: Verdana,Arial,Times New I2;">Discussion</span></a><span style="font-family: Verdana,Arial,Times New I2;">,                 tutorials and Articles on a wide range of technology subjects</span></strong></p>
<p><span style="font-family: Verdana,Arial;"><span style="font-size: x-small;">Techtír is not                 another social networking site, but a source of Professional                 Information for ordinary users, installers or engineers using or                 working with a range of technology products and software.</span></span></p>
<ul>
<li>
<p align="LEFT"><span style="font-family: Verdana,Arial,Times New I2;"><a href="../../forums/forumdisplay.php?f=1">Receive</a> Satellite, Digital, TV, Cable, Radio &amp; DAB</span></p>
</li>
<li>
<p align="LEFT"><span style="font-family: Verdana,Arial,Times New I2;"><a href="../../forums/forumdisplay.php?f=6">Home                  Cinema</a>, HD and game console wiring</span></p>
</li>
<li>
<p align="LEFT"><span style="font-family: Verdana,Arial,Times New I2;"><a href="../../forums/forumdisplay.php?f=26">Computers:</a> OS, Mods, Security &amp; Programming</span></p>
</li>
<li>
<p align="LEFT"><span style="font-family: Verdana,Arial,Times New I2;"><a href="../../forums/forumdisplay.php?f=8">Internet:</a> Mobile, Broadband, Dialup &amp; Satellite</span></p>
</li>
<li>
<p align="LEFT"><span style="font-family: Verdana,Arial,Times New I2;"><a href="../../forums/forumdisplay.php?f=14">Gadgets</a> and Mobile Phones</span></p>
</li>
<li>
<p align="LEFT"><span style="font-family: Verdana,Arial,Times New I2;"><a href="../../forums/forumdisplay.php?f=15">Electronics</a> Design, Building and Repair</span></p>
</li>
<li>
<p align="LEFT"><span style="font-family: Verdana,Arial,Times New I2;"><a href="../../forums/forumdisplay.php?f=17">General                  Technology</a> and electronic Media News</span></p>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.techtir.ie/2009/10/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
