<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>The NEZzen.net Blog</title>
	<atom:link href="http://nezzen.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://nezzen.net</link>
	<description>It&#039;s about technology and stuff.</description>
	<lastBuildDate>Sat, 21 Jan 2012 15:08:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nezzen.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9bd5cfcdd71b2636929983913b188cf5?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>The NEZzen.net Blog</title>
		<link>http://nezzen.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nezzen.net/osd.xml" title="The NEZzen.net Blog" />
	<atom:link rel='hub' href='http://nezzen.net/?pushpress=hub'/>
		<item>
		<title>Defeating &#8220;TrustedInstaller&#8221; with a Command Line Snippet</title>
		<link>http://nezzen.net/2012/01/06/defeating-trustedinstaller-with-a-command-line-snippet/</link>
		<comments>http://nezzen.net/2012/01/06/defeating-trustedinstaller-with-a-command-line-snippet/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 00:03:03 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[NEZzen]]></category>

		<guid isPermaLink="false">http://nezzen.net/?p=849</guid>
		<description><![CDATA[Here&#8217;s a little piece of code to recursively take ownership of a folder protected by &#8220;TrustedInstaller&#8221; on Windows 7. takeown /f %1 /r /d y &#38;&#38; icacls %1 /grant Administrators:F /t Save this line in a .CMD file and call it with the directory you want to use it on as the first parameter. You [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=849&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a little piece of code to recursively take ownership of a folder protected by &#8220;TrustedInstaller&#8221; on Windows 7.</p>
<p><code>takeown /f %1 /r /d y &amp;&amp; icacls %1 /grant Administrators:F /t</code></p>
<p>Save this line in a .CMD file and call it with the directory you want to use it on as the first parameter. You will need to have elevated (Administrator) permission to do this properly.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianez21.wordpress.com/849/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianez21.wordpress.com/849/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianez21.wordpress.com/849/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianez21.wordpress.com/849/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brianez21.wordpress.com/849/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brianez21.wordpress.com/849/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brianez21.wordpress.com/849/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brianez21.wordpress.com/849/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianez21.wordpress.com/849/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianez21.wordpress.com/849/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianez21.wordpress.com/849/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianez21.wordpress.com/849/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianez21.wordpress.com/849/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianez21.wordpress.com/849/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=849&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nezzen.net/2012/01/06/defeating-trustedinstaller-with-a-command-line-snippet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">brianez21</media:title>
		</media:content>
	</item>
		<item>
		<title>FPGA/VHDL Video Tutorial Series</title>
		<link>http://nezzen.net/2011/10/23/fpga-vhdl-video-tutorial-series/</link>
		<comments>http://nezzen.net/2011/10/23/fpga-vhdl-video-tutorial-series/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 18:27:43 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[NEZzen]]></category>

		<guid isPermaLink="false">http://nezzen.net/?p=837</guid>
		<description><![CDATA[I&#8217;ve recently started working on an introductory level video tutorial series on digital design using VHDL and FPGAs. I have been uploading my videos to YouTube as they&#8217;re completed. I have plans to produce 11 videos in total. As I complete each video, I will update this post with the relevant links. What&#8217;s an FPGA [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=837&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently started working on an introductory level video tutorial series on digital design using VHDL and FPGAs. I have been uploading my videos to YouTube as they&#8217;re completed. I have plans to produce 11 videos in total. As I complete each video, I will update this post with the relevant links.<br />
<span id="more-837"></span></p>
<ol start="0">
<li>What&#8217;s an FPGA and Why Should I Care?</li>
<li><a href="http://www.youtube.com/watch?v=Ef89wnpaFCw">Installation and &#8220;Hello World&#8221; Simulation</a></li>
<li><a href="http://www.youtube.com/watch?v=cezEo9itJBM">USB ByteBlaster Driver Installation</a></li>
<li><a href="http://www.youtube.com/watch?v=07cPXhlh0r0">Pin Mapping and JTAG Programming</a></li>
<li>Digital Logic Redux</li>
<li>Basic VHDL Syntax and Multiplexer Example</li>
<li>Basic Testbenches</li>
<li>External Libraries and 4-bit Adder Example</li>
<li>Finite State Machine Redux</li>
<li>Creating a Register using VHDL</li>
<li>Creating a FSM using VHDL</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianez21.wordpress.com/837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianez21.wordpress.com/837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianez21.wordpress.com/837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianez21.wordpress.com/837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brianez21.wordpress.com/837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brianez21.wordpress.com/837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brianez21.wordpress.com/837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brianez21.wordpress.com/837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianez21.wordpress.com/837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianez21.wordpress.com/837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianez21.wordpress.com/837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianez21.wordpress.com/837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianez21.wordpress.com/837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianez21.wordpress.com/837/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=837&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nezzen.net/2011/10/23/fpga-vhdl-video-tutorial-series/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">brianez21</media:title>
		</media:content>
	</item>
		<item>
		<title>Sealed copy of Mac OS 8.1 in original box</title>
		<link>http://nezzen.net/2011/06/09/sealed-copy-of-mac-os-8-1-in-original-box/</link>
		<comments>http://nezzen.net/2011/06/09/sealed-copy-of-mac-os-8-1-in-original-box/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 15:16:38 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[NEZzen]]></category>

		<guid isPermaLink="false">http://nezzen.net/?p=831</guid>
		<description><![CDATA[Darek over at Emulators.com has a bunch of classic Mac OS system software still in the sealed original boxes! He&#8217;s willing to ship them out to you as a trade for a giftcard, which covers the cost of shipping plus a little extra something for his effort. I was able to get a copy of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=831&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Darek over at <a href="http://emulators.com">Emulators.com</a> has a bunch of <a href="http://en.wikipedia.org/wiki/Mac_OS_history#System_7">classic Mac OS</a> system software still in the <a href="http://emulators.com/secrets.htm#System_7_5_Floppy">sealed original boxes</a>! He&#8217;s willing to ship them out to you as a trade for a giftcard, which covers the cost of shipping plus a little extra something for his effort. I was able to get a copy of the one version of Mac OS that I had never ran before — 8.1. Pictures are linked below.</p>
<ul>
<li><a href="http://www.bri1.com/files/06-2011/mac_os_8_front.jpg">Front</a></li>
<li><a href="http://www.bri1.com/files/06-2011/mac_os_8_back.jpg">Back</a></li>
<li><a href="http://www.bri1.com/files/06-2011/mac_os_8_bottom.jpg">Bottom</a></li>
<li><a href="http://www.bri1.com/files/06-2011/mac_os_8_side_1.jpg">Side 1</a></li>
<li><a href="http://www.bri1.com/files/06-2011/mac_os_8_side_2.jpg">Side 2</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianez21.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianez21.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianez21.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianez21.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brianez21.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brianez21.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brianez21.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brianez21.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianez21.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianez21.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianez21.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianez21.wordpress.com/831/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianez21.wordpress.com/831/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianez21.wordpress.com/831/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=831&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nezzen.net/2011/06/09/sealed-copy-of-mac-os-8-1-in-original-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">brianez21</media:title>
		</media:content>
	</item>
		<item>
		<title>Modding a DTV Converter Box into a Mini Television</title>
		<link>http://nezzen.net/2011/05/28/modding-a-dtv-converter-box-into-a-mini-television/</link>
		<comments>http://nezzen.net/2011/05/28/modding-a-dtv-converter-box-into-a-mini-television/#comments</comments>
		<pubDate>Sat, 28 May 2011 20:49:09 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[NEZzen]]></category>

		<guid isPermaLink="false">http://nezzen.net/?p=797</guid>
		<description><![CDATA[I recently added a small LCD screen to one of those &#8220;free&#8221; government-coupon DTV converter boxes that I had lying around. It is an AirLink 101 model with both coax and component outputs, and runs off a 12V DC adapter. The first step taken after opening it was to find points on the board that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=797&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;"><a href="http://www.bri1.com/files/05-2011/box.jpg"><img class="alignleft" src="http://www.bri1.com/files/05-2011/box.thumbnail.jpg" alt="Box" width="300" height="225" /></a> I recently added a small LCD screen to one of those &#8220;free&#8221; government-coupon DTV converter boxes that I had lying around. It is an AirLink 101 model with both coax and component outputs, and runs off a 12V DC adapter. The first step taken after opening it was to find points on the board that contained the composite video signal and associated ground reference. Luckily, the 3.5mm connector was through-hole and these points were easy to locate. I also located pins for 5V and GND by probing the on-board voltage regulators with my multimeter. Thin wire was soldered onto these points. Next, I tested my work by using alligator clips to source the signals to my small LCD setup. It worked!<br />
<span id="more-797"></span></p>
<p style="text-align:center;"><a href="http://www.bri1.com/files/05-2011/soldered.jpg"><img src="http://www.bri1.com/files/05-2011/soldered.thumbnail.jpg" alt="Soldered" /></a> <a href="http://www.bri1.com/files/05-2011/testing.jpg"><img src="http://www.bri1.com/files/05-2011/testing.thumbnail.jpg" alt="Testing" /></a></p>
<p>I prepared the inside of the enclosure for the LCD and driver board by checking height clearance and applying insulating electrical tape to the metal casing. Then, I soldered the thin wire to the LCD driver board&#8217;s connector and covered the joints with electrical tape.</p>
<p style="text-align:center;"><a href="http://www.bri1.com/files/05-2011/wires.jpg"><img src="http://www.bri1.com/files/05-2011/wires.thumbnail.jpg" alt="Wires" /></a><a href="http://www.bri1.com/files/05-2011/inner.jpg"><img src="http://www.bri1.com/files/05-2011/inner.thumbnail.jpg" alt="Inside" /></a></p>
<p style="text-align:left;">A small slit was cut into the metal in order to pass the LCD&#8217;s ribbon cable through to the other side where it plugs into the driver board. Finally, the LCD screen and driver board were epoxy glued to the metal casing and the ribbon cable attached. At last, I have a miniature digital television!</p>
<p style="text-align:center;"><a href="http://www.bri1.com/files/05-2011/screen.jpg"><img src="http://www.bri1.com/files/05-2011/screen.thumbnail.jpg" alt="Screen" /></a><a href="http://www.bri1.com/files/05-2011/finished.jpg"><img src="http://www.bri1.com/files/05-2011/finished.thumbnail.jpg" alt="Finished" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianez21.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianez21.wordpress.com/797/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianez21.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianez21.wordpress.com/797/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brianez21.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brianez21.wordpress.com/797/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brianez21.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brianez21.wordpress.com/797/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianez21.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianez21.wordpress.com/797/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianez21.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianez21.wordpress.com/797/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianez21.wordpress.com/797/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianez21.wordpress.com/797/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=797&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nezzen.net/2011/05/28/modding-a-dtv-converter-box-into-a-mini-television/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">brianez21</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/05-2011/box.thumbnail.jpg" medium="image">
			<media:title type="html">Box</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/05-2011/soldered.thumbnail.jpg" medium="image">
			<media:title type="html">Soldered</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/05-2011/testing.thumbnail.jpg" medium="image">
			<media:title type="html">Testing</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/05-2011/wires.thumbnail.jpg" medium="image">
			<media:title type="html">Wires</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/05-2011/inner.thumbnail.jpg" medium="image">
			<media:title type="html">Inside</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/05-2011/screen.thumbnail.jpg" medium="image">
			<media:title type="html">Screen</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/05-2011/finished.thumbnail.jpg" medium="image">
			<media:title type="html">Finished</media:title>
		</media:content>
	</item>
		<item>
		<title>NEZbox External Status Meter for Computers</title>
		<link>http://nezzen.net/2011/02/01/nezbox-external-status-meter-for-computer/</link>
		<comments>http://nezzen.net/2011/02/01/nezbox-external-status-meter-for-computer/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 15:03:31 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[NEZzen]]></category>

		<guid isPermaLink="false">http://nezzen.net/?p=761</guid>
		<description><![CDATA[In my opinion, one of the most useful (not to mention cool) computer mods is the addition of a character LCD to the front of a tower. On and off I&#8217;ve considered adding a small status display such as those from CrystalFontz to an empty 5.25&#8243; bay on my computer and talking to it using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=761&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img style="float:right;padding:6px;" src="http://www.bri1.com/files/02-2011/character-lcd.jpg" alt="A four line HD44780 character LCD" /> In my opinion, one of the most useful (not to mention cool) computer mods is the addition of a <a href="http://en.wikipedia.org/wiki/HD44780_Character_LCD">character LCD</a> to the front of a tower. On and off I&#8217;ve considered adding a small status display such as those from <a href="http://www.crystalfontz.com/">CrystalFontz</a> to an empty 5.25&#8243; bay on my computer and talking to it using a program such as the Linux <a href="http://lcdproc.org/">LCDproc</a> or Windows <a href="http://lcdsmartie.sourceforge.net/">LCD Smartie</a>, but I&#8217;ve always avoided it due to price and the idea that putting an LCD on my tower seems to be bad in terms of visibility/placement. Because of this, I decided to look into external solutions such as the $100 <a href="http://www.thinkgeek.com/computing/usb-gadgets/c609/">Lilliput Mini USB Monitor</a> (feature overkill), or the $50 <a href="http://www.thinkgeek.com/computing/usb-gadgets/7e3e">Pertelian External LCD</a> (grossly overpriced) sold by ThinkGeek. These device have been in the back of my mind for quite some time, and it wasn&#8217;t until I stumbled across a very cool mod interfacing an <a href="http://en.wikipedia.org/wiki/VU_meter">analog VU meter</a> with a desktop computer via microcontroller that I decided to proceed with building my own external status device. Thus, the NEZbox was born.</p>
<p><a href="http://www.bri1.com/files/02-2011/nezbox-front.jpg"><img src="http://www.bri1.com/files/02-2011/nezbox-front.thumbnail.jpg" alt="The front of the NEZbox" /></a> <a href="http://www.bri1.com/files/02-2011/nezbox-rear.jpg"><img src="http://www.bri1.com/files/02-2011/nezbox-rear.thumbnail.jpg" alt="The rear of the NEZbox" /></a></p>
<p>The NEZbox is a simple ATmega168-based external status meter. I put it together for about $25. The materials used include a Radioshack black plastic project box, a piece of protoboard, an ATmega168 microprocessor, 14.7456MHz crystal (not 16MHz, better for serial com), a USB-to-serial adapter (UART) PL2303 cable, a 4-line LED-backlit character LCD, a 50uA analog meter, a temperature sensor, and some wire and resistors. Later I discovered that my USB ports always stay powered even when my computer is off, so I added an small ON/OFF switch to the back. A Dremel was used to cut out slots for the meter and LCD, and epoxy glue holds them in place.<br />
<span id="more-761"></span><br />
<img class="aligncenter" src="http://www.bri1.com/files/02-2011/nezbox-controller.jpg" alt="The controller board" /><br />
The PWM/LCD/serial code running on the ATmega168 is simple embedded C. Under Linux, a small shell script sends commands every five seconds to <code>/dev/ttyUSB</code> telling the MCU to write to the LCD or move the analog meter&#8217;s needle. There is also a command to query the temperature sensor. Likewise, under Windows this is accomplished with a small C# program. Overall the results are pleasing to me for this simple and inexpensive project.</p>
<p><span style="text-align:center; display: block;"><a href="http://nezzen.net/2011/02/01/nezbox-external-status-meter-for-computer/"><img src="http://img.youtube.com/vi/Ku9XRV-P9CE/2.jpg" alt="" /></a></span><br />
<span style="text-align:center; display: block;"><a href="http://nezzen.net/2011/02/01/nezbox-external-status-meter-for-computer/"><img src="http://img.youtube.com/vi/tiVQlNcgGtA/2.jpg" alt="" /></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianez21.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianez21.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianez21.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianez21.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brianez21.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brianez21.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brianez21.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brianez21.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianez21.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianez21.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianez21.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianez21.wordpress.com/761/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianez21.wordpress.com/761/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianez21.wordpress.com/761/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=761&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nezzen.net/2011/02/01/nezbox-external-status-meter-for-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">brianez21</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/02-2011/character-lcd.jpg" medium="image">
			<media:title type="html">A four line HD44780 character LCD</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/02-2011/nezbox-front.thumbnail.jpg" medium="image">
			<media:title type="html">The front of the NEZbox</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/02-2011/nezbox-rear.thumbnail.jpg" medium="image">
			<media:title type="html">The rear of the NEZbox</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/02-2011/nezbox-controller.jpg" medium="image">
			<media:title type="html">The controller board</media:title>
		</media:content>
	</item>
		<item>
		<title>Mac Plus Archive (Antique software for use with emulator)</title>
		<link>http://nezzen.net/2010/11/11/mac-plus-archive/</link>
		<comments>http://nezzen.net/2010/11/11/mac-plus-archive/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 19:44:02 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[NEZzen]]></category>

		<guid isPermaLink="false">http://nezzen.net/?p=786</guid>
		<description><![CDATA[Here is a zipped mirror of the website at http://www.rolli.ch/MacPlus/welcome.html, regarding the historical Mac Plus. It contains legacy software (System 1.1 through 6.0.8, MacPaint 1.4, MacDraw 1.9.5, and a MacPlus ROM image) that may be useful to those studying the old computer. In addition, since the original vMac project is no longer developed, the open [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=786&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a zipped mirror of the website at <a href="http://www.rolli.ch/MacPlus/welcome.html">http://www.rolli.ch/MacPlus/welcome.html</a>, regarding the historical Mac Plus. It contains legacy software (System 1.1 through 6.0.8, MacPaint 1.4, MacDraw 1.9.5, and a MacPlus ROM image) that may be useful to those studying the old computer. In addition, since the original <a href="http://en.wikipedia.org/wiki/vMac">vMac</a> project is no longer developed, the open source replacement <a href="http://minivmac.sourceforge.net/">Mini vMac</a> may be useful to those trying to execute the aforementioned software.<br />
<span id="more-786"></span><br />
<a href="http://www.bri1.com/files/11-2010/macplus.zip">Download ZIP (14,034 KB)</a></p>
<p><strong>Update (6/4/2011):</strong> I have come across some other possibly useful legacy software. The ZIP archives contain disk image sets while the GZIP files are individual items.</p>
<ul>
<li><a href="http://www.bri1.com/files/11-2010/mac81.img.gz">Mac OS 8.1 &#8211; Disk Tools PPC floppy</a></li>
<li><a href="http://www.bri1.com/files/11-2010/PowerMac7200_OldWorld.rom.gz">PowerMac 7200 &#8220;Old World&#8221; ROM</a></li>
<li><a href="http://www.bri1.com/files/11-2010/Quadra900.rom.gz">Quadra 900 ROM</a></li>
<li><a href="http://www.bri1.com/files/11-2010/sys10.img.gz">System 1.0 &#8211; Write, Paint, French</a></li>
<li><a href="http://www.bri1.com/files/11-2010/sys11.img.gz">System 1.1g &#8211; Paint, French</a></li>
<li><a href="http://www.bri1.com/files/11-2010/sys42.zip">System 4.2 (4x 800KB floppy disks)</a></li>
<li><a href="http://www.bri1.com/files/11-2010/sys60.zip">System 6.0.8 (4x 800KB floppy disks)</a></li>
<li><a href="http://www.bri1.com/files/11-2010/sys71.zip">System 7.1 (8x 1.44MB floppy disks)</a></li>
<li><a href="http://www.bri1.com/files/11-2010/sys75.zip">System 7.5 (9x 1.44MB floppy disks)</a></li>
<li><a href="http://www.bri1.com/files/11-2010/sys753cd.img.gz">System 7.5.3 CD-ROM image</a></li>
</ul>
<p>Enjoy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianez21.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianez21.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianez21.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianez21.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brianez21.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brianez21.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brianez21.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brianez21.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianez21.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianez21.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianez21.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianez21.wordpress.com/786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianez21.wordpress.com/786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianez21.wordpress.com/786/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=786&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nezzen.net/2010/11/11/mac-plus-archive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">brianez21</media:title>
		</media:content>
	</item>
		<item>
		<title>Happy Halloween 2010</title>
		<link>http://nezzen.net/2010/10/31/happy-halloween-2010/</link>
		<comments>http://nezzen.net/2010/10/31/happy-halloween-2010/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 17:01:46 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[NEZzen]]></category>

		<guid isPermaLink="false">http://nezzen.net/?p=707</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=707&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bri1.com/files/10-2010/bluescreen.jpg" alt="Halloween Bluescreen" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianez21.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianez21.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianez21.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianez21.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brianez21.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brianez21.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brianez21.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brianez21.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianez21.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianez21.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianez21.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianez21.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianez21.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianez21.wordpress.com/707/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=707&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nezzen.net/2010/10/31/happy-halloween-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">brianez21</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/10-2010/bluescreen.jpg" medium="image">
			<media:title type="html">Halloween Bluescreen</media:title>
		</media:content>
	</item>
		<item>
		<title>Buildin&#8217; an Ice Tube Clock</title>
		<link>http://nezzen.net/2010/10/19/buildin-an-ice-tube-clock/</link>
		<comments>http://nezzen.net/2010/10/19/buildin-an-ice-tube-clock/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 00:03:05 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[NEZzen]]></category>

		<guid isPermaLink="false">http://nezzen.net/?p=731</guid>
		<description><![CDATA[I just finished building an Ice Tube Clock kit from Adafruit Industries. It looks great and was a lot of fun to put together. Plus, soldering the connectors for the Russian vacuum-fluorescent display tube definitely increased my skill level by a few points. In the near future I plan on adding a light sensitive dimmer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=731&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bri1.com/files/10-2010/ice_tube.jpg"><img style="float:left;padding:6px;" src="http://www.bri1.com/files/10-2010/ice_tube.thumbnail.jpg" alt="My Ice Tube Clock" /></a> I just finished building an <a href="http://www.ladyada.net/make/icetube/">Ice Tube Clock</a> kit from <a href="http://www.adafruit.com">Adafruit Industries</a>. It looks great and was a lot of fun to put together. Plus, soldering the connectors for the Russian <a href="http://en.wikipedia.org/wiki/Vacuum_fluorescent_display">vacuum-fluorescent display</a> tube definitely increased my skill level by a few points. In the near future I plan on adding a <a href="http://forums.adafruit.com/viewtopic.php?f=41&amp;t=12932">light sensitive dimmer</a> to the device. Hooray for open-source electronics! Here&#8217;s a nice high-resolution picture of the finished clock for your enjoyment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianez21.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianez21.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianez21.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianez21.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brianez21.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brianez21.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brianez21.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brianez21.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianez21.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianez21.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianez21.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianez21.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianez21.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianez21.wordpress.com/731/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=731&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nezzen.net/2010/10/19/buildin-an-ice-tube-clock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">brianez21</media:title>
		</media:content>

		<media:content url="http://www.bri1.com/files/10-2010/ice_tube.thumbnail.jpg" medium="image">
			<media:title type="html">My Ice Tube Clock</media:title>
		</media:content>
	</item>
		<item>
		<title>Helpful Arduino-as-ISP Commands</title>
		<link>http://nezzen.net/2010/10/06/helpful-arduino-as-isp-commands/</link>
		<comments>http://nezzen.net/2010/10/06/helpful-arduino-as-isp-commands/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 01:18:07 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[NEZzen]]></category>

		<guid isPermaLink="false">http://nezzen.net/?p=710</guid>
		<description><![CDATA[So you&#8217;re using the Mega-ISP sketch to make your Arduino act as an ISP, which you can then use with AVRDUDE. You can do much more than just burn a bootloader, you can write programs to ATmega168 chips that take advantage of the whole 16KB Flash area (no 2KB bootloader)! First, be sure to read [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=710&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;re using <a href="http://code.google.com/p/mega-isp">the Mega-ISP sketch</a> to <a href="http://arduino.cc/en/Tutorial/ArduinoISP">make your Arduino act as an ISP</a>, which you can then use with <a href="http://www.nongnu.org/avrdude/">AVRDUDE</a>. You can do much more than just burn a bootloader, you can write programs to <a href="http://www.atmel.com/dyn/products/product_card.asp?part_id=3303">ATmega168</a> chips that take advantage of the whole 16KB Flash area (no 2KB bootloader)!</p>
<p>First, be sure to <a href="http://arduino.cc/en/Tutorial/ArduinoISP">read through the ArduinoISP tutorial</a> to get the circuit wired up correctly. You may also with to consult <a href="http://www.arduino.cc/en/Hacking/PinMapping168">this ATmega168 pin-mapping diagram</a>. </p>
<p>Here are some helpful commands and settings:</p>
<p>To program your fuse bytes first do:<br />
<code>avrdude -v -v -patmega168 -cstk500v1 -P/dev/cu.usbserial-A600cnPP -b19200 -e -Ulfuse:w:0xE2:m -Uhfuse:w:0xD5:m -Uefuse:w:0xF8:m</code></p>
<p>I highly suggest to think about your fuse bits before writing them to the chip. You can use an <a href="http://www.engbedded.com/fusecalc/">online fuse bit calculator such as this one</a>.</p>
<p>From <a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=printview&amp;t=59209&amp;start=0">a post on the Avrfreaks forum</a>:</p>
<blockquote><p>Note in the ATmega168 datasheet, page 288, that in the extended fuse byte, bits 7, 6, 5, 4, and 3 are all unused. Avrdude knows this, and it intentionally masks those bits off when it reads the extended fuse byte. [...] If I recall correctly, the problem is that avrdude applies the mask at the end of the programming session when it verifies the success of safemode, but not beforehand when it reads the initial value, or something like that.</p></blockquote>
<p><a href="http://www.arduino.cc">Arduino&#8217;s</a> &#8220;unlock&#8221; lock bits are: (not typically needed?)<br />
<code>-Ulock:w:0x3F:m</code></p>
<p>Then, finally, to program the flash memory with your code do:<br />
<code>avrdude -v -v -patmega168 -cstk500v1 -P/dev/cu.usbserial-A600cnPP -b19200 -e -Uflash:w:blink_1MHz.hex</code></p>
<p>The code in blink_1MHz.hex is from <a href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=93">this Sparkfun introductory tutorial</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianez21.wordpress.com/710/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianez21.wordpress.com/710/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianez21.wordpress.com/710/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianez21.wordpress.com/710/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brianez21.wordpress.com/710/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brianez21.wordpress.com/710/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brianez21.wordpress.com/710/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brianez21.wordpress.com/710/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianez21.wordpress.com/710/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianez21.wordpress.com/710/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianez21.wordpress.com/710/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianez21.wordpress.com/710/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianez21.wordpress.com/710/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianez21.wordpress.com/710/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=710&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nezzen.net/2010/10/06/helpful-arduino-as-isp-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">brianez21</media:title>
		</media:content>
	</item>
		<item>
		<title>Texas Instruments F28335 DSP C2000-series Assembler Notes</title>
		<link>http://nezzen.net/2010/10/04/texas-instruments-f28335-dsp-c2000-series-assembler-notes/</link>
		<comments>http://nezzen.net/2010/10/04/texas-instruments-f28335-dsp-c2000-series-assembler-notes/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 14:15:20 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[NEZzen]]></category>

		<guid isPermaLink="false">http://nezzen.net/?p=740</guid>
		<description><![CDATA[Memory Sections .text executable code RAML1 (internal DSP memory) starting address = 0x9000, 4K Words .data initialized data RAML2 (internal DSP memory) starting address = 0xA000, 4K Words .bss reserved space for uninitialized data starting address = 0xB000 CPU Control Registers ACC Accumulator (32 bits) =&#62; AH (high 16 bits) and AL (low 16 bits) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=740&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Memory Sections</h3>
<pre>.text   executable code       RAML1 (internal DSP memory)
                              starting address = 0x9000, 4K Words
.data   initialized data      RAML2 (internal DSP memory)
                              starting address = 0xA000, 4K Words
.bss    reserved space for uninitialized data
                              starting address = 0xB000</pre>
<h3>CPU Control Registers</h3>
<pre>ACC   Accumulator (32 bits) =&gt; AH (high 16 bits) and AL (low 16 bits)
XAR0  Auxiliary Register0 (32 bits) =&gt; AR0H (high 16 bits) and AR0 (low 16 bits)
   ....up through...
XAR7  Auxiliary Register7 (32 bits) =&gt; AR7H (high 16 bits) and AR7 (low 16 bits)
XT    Multiplicand Register (32 bits) =&gt; T (high 16 bits) and TL (low 16 bits)
P     Product Register (32 bits) =&gt; PH (high 16 bits) and PL (low 16 bits)
PC    Program Counter (22 bits)
SP    Stack Pointer (16 bits)
DP    Data Page Register (16 bits)
ST1,ST0  Status Registers (flags)</pre>
<p><span id="more-740"></span><br />
<h3>Initialization of Constants</h3>
<pre>.byte val[,..n]
.char val[,..n]
.field val[,size]                (size ranges from 1 to 32)
.float val[,..n]
.int val[,..n]
.long val[,..n]
.pstring expr|"string"[,..n]     Example: .pstring "Austin", "Houstin"
.string expr|"string"[,..n]      Example: .string "ABCD"
.word val[,..n]
.xfloat val[,..n]
.xlong val[,..n]</pre>
<h3>Define Assembly-Time Constant</h3>
<p>Usage: <code>symbol .set value</code><br />
Example: <code>AUX_R1 .set AR1 ;symbol AUX_R1 now means the same thing as AR1</code></p>
<h3>Assembler Macros</h3>
<p>Usage: <code>macname .macro [param,..n] &nbsp;&lt;MACRO CODE&gt;&nbsp; .endm</code><br />
<pre class="brush: plain;">
add3   .macro    P1, P2, P3, ADDRP
MOV    ACC, P1
ADD    ACC, P2
ADD    ACC, P3
ADD    ACC, ADDRP
.endm</pre></p>
<h3>Direct Memory Addressing</h3>
<p><pre class="brush: plain;">
memloc    .set    0xA000
MOV       DP, #memloc &gt;&gt; 6     ; sets datapage pointer to right page
MOV       @memloc, #0          ; load 0 into memory location 0xA000</pre></p>
<h3>Indirect Memory Addressing</h3>
<p><pre class="brush: plain;">memloc    .set    0xA000
MOVL      XAR5, #memloc       ; put the address into XAR5 (32-bits)
MOV       *XAR5, #0           ; load 0 into memory location 0xA000</pre></p>
<h3>Disabling the Watchdog Timer</h3>
<p><pre class="brush: plain;">WDCR        .set    0x7029    ; watchdog register is at address 0x7029
EALLOW                        ; enable protected register writes (needed to change control registers)
MOV         AL, #0x0068       ; magic value that disables watchdog timer
MOV         AR1, #WDCR        ; set AR1 to point to the watchdog register
MOV         *AR1, AL          ; disable watchdog timer to run this code on our board w/o it resetting</pre></p>
<h3>General Purpose I/O</h3>
<p><pre class="brush: plain;">GPAMUX1    .set    0x6F86
GPADIRA    .set    0x6F8A
GPADATA    .set    0x6FC0     ; 0x6FC0 -&gt; GPIO15:0, 0x6FC1 -&gt; GPIO31:16
MOV    AR1, #GPAMUX1    ; set the GPAMUX1-A to zero (GPIO output)
MOV    *AR1, #0x0
MOV    AR1, #GPADIRA    ; set GPIO-A 11:4 direction to output mode (1) and 3:0 to input mode (0)
MOV    *AR1, #0x0FF0
MOV    AR1, #GPADATA    ; set GPIO-A 11:4 to be high
MOV    *AR1, #0x0FF0</pre></p>
<h3>Compare Flags Operands</h3>
<pre>COND     Syntax         Description                   Flags Tested
0000     NEQ            Not Equal To                      Z = 0
0001     EQ             Equal To                          Z = 1
0010     GT             Greater Then                 Z = 0 AND N = 0
0011     GEQ            Greater Then Or Equal To          N = 0
0100     LT             Less Then                         N = 1
0101     LEQ            Less Then Or Equal To        Z = 1 OR N = 1
0110     HI             Higher                       C = 1 AND Z = 0
0111     HIS, C         Higher Or Same, Carry Set         C = 1
1000     LO, NC         Lower, Carry Clear                C = 0
1001     LOS            Lower Or Same                C = 0 OR Z = 1
1010     NOV            No Overflow                       V = 0
1011     OV             Overflow                          V = 1
1100     NTC            Test Bit Not Set                 TC = 0
1101     TC             Test Bit Set                     TC = 1
1110     NBIO           BIO Input Equal To Zero          BIO = 0
1111     UNC            Unconditional                       -</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianez21.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianez21.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianez21.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianez21.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brianez21.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brianez21.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brianez21.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brianez21.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianez21.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianez21.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianez21.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianez21.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianez21.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianez21.wordpress.com/740/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nezzen.net&amp;blog=3737825&amp;post=740&amp;subd=brianez21&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nezzen.net/2010/10/04/texas-instruments-f28335-dsp-c2000-series-assembler-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">brianez21</media:title>
		</media:content>
	</item>
	</channel>
</rss>
