<?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>Niels Horn&#039;s Blog &#187; TRS-80</title>
	<atom:link href="http://blog.nielshorn.net/category/trs-80/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nielshorn.net</link>
	<description>Random thoughts, tips &#38; tricks about Slackware-Linux, Lego and Star Wars</description>
	<lastBuildDate>Thu, 05 Jan 2012 02:40:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>XSpaceWarp, or: converting old source code for modern compilers</title>
		<link>http://blog.nielshorn.net/2010/05/xspacewarp/</link>
		<comments>http://blog.nielshorn.net/2010/05/xspacewarp/#comments</comments>
		<pubDate>Sat, 15 May 2010 01:21:43 +0000</pubDate>
		<dc:creator>Niels Horn</dc:creator>
				<category><![CDATA[ARMedslack]]></category>
		<category><![CDATA[Patches]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[TRS-80]]></category>
		<category><![CDATA[gcc]]></category>

		<guid isPermaLink="false">http://blog.nielshorn.net/?p=394</guid>
		<description><![CDATA[How it all started
On the TRS-80 mailing list I subscribe there was a discussion about an old (from 1977!) game I used to play on my TRS-80 Model I called Space Warp. This game was originally called &#8220;Time Trek&#8221;,  based on the popular television series Star Trek. When Tandy/Radio Shack released this game commercially, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>How it all started</strong></p>
<p>On the <a href="http://tech.groups.yahoo.com/group/TRS-80/">TRS-80 mailing list</a> I subscribe there was a discussion about an old (from 1977!) game I used to play on my TRS-80 Model I called Space Warp. This game was originally called &#8220;Time Trek&#8221;,  based on the popular television series Star Trek. When Tandy/Radio Shack released this game commercially, they changed some of the terms, probably for copyright reasons.</p>
<p>Someone mentioned that it had been ported to X and that the sources were available. But, when I downloaded the sources from x.org and tried to build it, I noticed that this port was from 1995 and many things have changed since then&#8230; It simply threw tons of errors instead of building the program. For sentimental reasons I did not give up though, and decided to try to solve the incompatibilities with the modern Gnu C++ compiler.</p>
<p><strong>What needed to be adapted</strong></p>
<p>Some of the needed changes were quite obvious, others required a bit of &#8220;Googling&#8221; to discover. All in all, it was a nice exercise for me. The major items were:</p>
<ul>
<li><code>#include &lt;iostream.h&gt;</code> &#8211; Modern versions of gcc expect <code>#include &lt;iostream&gt;</code> and a line defining the namespace (&#8221;<code>using namespace std</code>&#8220;)</li>
<li>string literals needed to be defined as (char*) like: <code>invalid((char*)"columns");</code> instead of <code>invalid("columns");</code></li>
</ul>
<p>Other changes were less obvious, but all in all I had to create a patch file of 999 lines <img src='http://blog.nielshorn.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>After all these patches, XSpaceWarp built fine on Slackware 13.0 and the 13.1 beta, both 32 &#038; 64-bits. I also tested it on ARMedslack.</p>
<p><strong>The result</strong></p>
<p>Here are two screenshots from the game:<br />
<a href="http://blog.nielshorn.net/wp-content/uploads/2010/05/XSpaceWarp_01.png"><img src="http://blog.nielshorn.net/wp-content/uploads/2010/05/XSpaceWarp_01-300x187.png" alt="XSpaceWarp_01" title="XSpaceWarp_01" width="300" height="187" class="aligncenter size-medium wp-image-402" /></a><br />
<a href="http://blog.nielshorn.net/wp-content/uploads/2010/05/XSpaceWarp_02.png"><img src="http://blog.nielshorn.net/wp-content/uploads/2010/05/XSpaceWarp_02-300x187.png" alt="XSpaceWarp_02" title="XSpaceWarp_02" width="300" height="187" class="aligncenter size-medium wp-image-403" /></a></p>
<p>It&#8217;s not exactly a graphic-intensive game, but don&#8217;t forget that this was written over thirty years ago <img src='http://blog.nielshorn.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Get it!</strong></p>
<p>If you use Slackware, you can get packages from Slackware 13.0 32 &#038; 64-bits and for ARMedslack from my <a href="http://www.nielshorn.net/slackware/slack_pkg.php">site</a>.<br />
As soon as SlackBuilds.org opens for submissions again (after the release of Slackware 13.1), I&#8217;ll submit the SlackBuild.</p>
<p>If you want to build the program yourself, get the original sources from <a href="http://ftp.x.org/contrib/games/xspacewarp-1.2.tar.gz">x.org</a> or the patched version for newer compilers <a href="http://www.nielshorn.net/_lib/download.php?file=xspacewarp-1.2b.tar.gz">here</a>.<br />
The patch is also separately available <a href="http://www.nielshorn.net/_lib/download.php?file=xspacewarp-1.2_gcc4.patch*">here</a>, so that you can study it and patch your own sources.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nielshorn.net/2010/05/xspacewarp/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>New TRS-80 emulator for Linux</title>
		<link>http://blog.nielshorn.net/2009/09/new-trs-80-emulator-for-linux/</link>
		<comments>http://blog.nielshorn.net/2009/09/new-trs-80-emulator-for-linux/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 19:30:00 +0000</pubDate>
		<dc:creator>Niels Horn</dc:creator>
				<category><![CDATA[Slackware]]></category>
		<category><![CDATA[TRS-80]]></category>
		<category><![CDATA[emulation]]></category>

		<guid isPermaLink="false">http://www.nielshorn.net/blog/?p=55</guid>
		<description><![CDATA[Mark Grebe released sdltrs, a new emulator for the TRS-80 Model I/III/4/4p for Macintosh, Windows and Linux. It is based on xtrs, but uses the portable sdl library. It has on-screen options to change disks, cassettes, etc.
Packages for Slackware 13.0 are available on my site:

sdltrs-1_0_0-i486-2_nhh.tgz (32-bits)
sdltrs-1_0_0-x86_64-2_nhh.tgz (64-bits)

As always, have fun!
]]></description>
			<content:encoded><![CDATA[<p>Mark Grebe released <a href="http://sdltrs.sourceforge.net/">sdltrs</a>, a new emulator for the TRS-80 Model I/III/4/4p for Macintosh, Windows and Linux. It is based on xtrs, but uses the portable sdl library. It has on-screen options to change disks, cassettes, etc.</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_q65cj3yCRO4/Sr5vWtVVWAI/AAAAAAAAATI/4ULgLHO0iyU/s1600-h/sdltrs.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 258px;" src="http://4.bp.blogspot.com/_q65cj3yCRO4/Sr5vWtVVWAI/AAAAAAAAATI/4ULgLHO0iyU/s320/sdltrs.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5385864640298571778" /></a>Packages for Slackware 13.0 are available on my site:
<ul>
<li><a href="http://www.nielshorn.net/_lib/download.php?file=sdltrs-1_0_0-i486-2_nhh.tgz">sdltrs-1_0_0-i486-2_nhh.tgz</a> (32-bits)</li>
<li><a href="http://www.nielshorn.net/_lib/download.php?file=sdltrs-1_0_0-x86_64-2_nhh.tgz">sdltrs-1_0_0-x86_64-2_nhh.tgz</a> (64-bits)</li>
</ul>
<p>As always, have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nielshorn.net/2009/09/new-trs-80-emulator-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xtrs (TRS-80 emulator) on Slackware</title>
		<link>http://blog.nielshorn.net/2009/09/xtrs-trs-80-emulator-on-slackware/</link>
		<comments>http://blog.nielshorn.net/2009/09/xtrs-trs-80-emulator-on-slackware/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 20:47:00 +0000</pubDate>
		<dc:creator>Niels Horn</dc:creator>
				<category><![CDATA[Slackware]]></category>
		<category><![CDATA[TRS-80]]></category>
		<category><![CDATA[emulation]]></category>
		<category><![CDATA[xtrs]]></category>

		<guid isPermaLink="false">http://www.nielshorn.net/blog/?p=51</guid>
		<description><![CDATA[My first professional work with computers was done on a Tandy / Radio Shack TRS-80 Model I. I still have that machine but have not powered it up for at least ten years, since I do not have a working monitor anymore.But thanks to the various emulators that are available, I can still run the [...]]]></description>
			<content:encoded><![CDATA[<p>My first professional work with computers was done on a Tandy / Radio Shack TRS-80 Model I. I still have that machine but have not powered it up for at least ten years, since I do not have a working monitor anymore.<br />But thanks to the various emulators that are available, I can still run the old programs whenever I need or want to.</p>
<p>Since my desktop runs Slackware Linux, the emulator I use is <a href="http://www.tim-mann.org/xtrs.html">xtrs</a>. It is small, fast and emulates the Model I, III, 4 and 4p. I have had all these models and still have a Model 4p in reasonable condition.</p>
<p>As every good Linux program, xtrs is distributed as open source, for the end-user to compile.<br />This has never been a problem to me, but not every TRS-80 fan might be happy about this.</p>
<p>So, after the newest release of xtrs in June, I put on my to-do list to make a &#8216;Slackware-package&#8217;, so that at least Slackware users can run xtrs installing a simple package without any compiling.<br />Since my to-do list is quite extensive, it took some time for this task to arrive at the top, but today I finally managed to get it done.</p>
<p>The result is available on my homepage, in two versions:
<ul>
<li><a href="http://www.nielshorn.net/_lib/download.php?file=xtrs-4.9d-i486-2_nhh.tgz" target="_blank">xtrs-4.9d-i486-2_nhh.tgz</a>, the 32-bit version</li>
<li><a href="http://www.nielshorn.net/_lib/download.php?file=xtrs-4.9d-x86_64-2_nhh.tgz" target="_blank">xtrs-4.9d-x86_64-2_nhh.tgz</a>, the 64-bit version (for Slackware64)</li>
</ul>
<p>Both have been tested with Slackware 13.0 but should work fine on 12.x as well, and probably some older versions.</p>
<p>For those who prefer to compile their own software, I submitted a SlackBuild to SlackBuilds.org but it is pending for approval at the moment.</p>
<p>Here is a screenshot of xtrs emulating a Model III running NEWDOS/80:</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_q65cj3yCRO4/SqcFMLpf6JI/AAAAAAAAASo/BBK2oHTeuk0/s1600-h/NewDos80.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 253px;" src="http://1.bp.blogspot.com/_q65cj3yCRO4/SqcFMLpf6JI/AAAAAAAAASo/BBK2oHTeuk0/s320/NewDos80.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5379273986760763538" /></a><br />And this is the Model I running the famous Dancing Demon:</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_q65cj3yCRO4/SqeGC9UWTwI/AAAAAAAAASw/BMj5zJaj0rQ/s1600-h/dncdemon.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 253px;" src="http://3.bp.blogspot.com/_q65cj3yCRO4/SqeGC9UWTwI/AAAAAAAAASw/BMj5zJaj0rQ/s320/dncdemon.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5379415665295118082" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nielshorn.net/2009/09/xtrs-trs-80-emulator-on-slackware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

