<?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:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>PDP11.co.uk &#187; TU58 Emulator</title>
	<atom:link href="http://www.pdp11.co.uk/blog/category/storage-server/tu58-emulator-storage-server-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pdp11.co.uk</link>
	<description>A guide to the preservation and restoration of PDP-11 computers</description>
	<lastBuildDate>Sun, 09 May 2010 08:37:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Building an RT-11 tape for a TU58 emulator</title>
		<link>http://www.pdp11.co.uk/blog/2008/12/07/building-an-rt-11-tape-for-a-tu58-emulator/</link>
		<comments>http://www.pdp11.co.uk/blog/2008/12/07/building-an-rt-11-tape-for-a-tu58-emulator/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 10:19:28 +0000</pubDate>
		<dc:creator>Toby Russell</dc:creator>
				<category><![CDATA[Storage Server]]></category>
		<category><![CDATA[TU58 Emulator]]></category>
		<category><![CDATA[emulator]]></category>
		<category><![CDATA[rt11]]></category>
		<category><![CDATA[swiss army knife]]></category>
		<category><![CDATA[TU58]]></category>

		<guid isPermaLink="false">http://www.pdp11.co.uk/?p=88</guid>
		<description><![CDATA[Having successfully compiled up the TU58 emulator (see my earlier post) and booted it into XXDP on my PDP11/23+, the next step is to build up a RT11 tape.
After a read through of Will Kranz&#8217;s article I decided to opt for an oversized tape image (10MB) using Will&#8217;s modified TU58 (dd.sys) driver. The standard TU58 [...]]]></description>
			<content:encoded><![CDATA[<p>Having successfully compiled up the TU58 emulator (see my earlier post) and booted it into XXDP on my PDP11/23+, the next step is to build up a RT11 tape.</p>
<p>After a read through of <a href="http://www.fpns.net/willy/pdp11/tu58-emu.htm">Will Kranz&#8217;s article</a> I decided to opt for an oversized tape image (10MB) using Will&#8217;s modified TU58 (dd.sys) driver. The standard TU58 is only 256KB is size and this larger capacity should give plenty of space for applications.</p>
<p><span id="more-88"></span><br />
To build the tape, here are the steps to go through:</p>
<h3>Creating a basic image via SIMH</h3>
<p><a href="http://simh.trailing-edge.com/">SIMH</a> is an excellent PDP-11 emulator and an invaluable tool for building working disk and tape images for use on your real PDP. To create the RT-11 tape, download the <a href="http://simh.trailing-edge.com/kits/rtv53swre.tar.Z">RT-11 software kit</a> from the SIMH site and setup the PDP-11 emulator with the following configuration:</p>
<pre>SET CLK 50HZ
SET CPU 11/73
SET CPU 2048K

SET RL ENABLED
SET RL0 RL02
ATT RL0 share/pdp11/disks/rl02/rt11-v53.rl02.dsk
SET RL1 RL02
ATT RL1 share/pdp11/tapes/tu58/rt11.tap</pre>
<pre>BOOT RL0</pre>
<p>You will need to adjust the locations of your disk images to match your setup.</p>
<p>Once booted into RT11, run the following sequence of commands to create a bootable image on the RL1 disk:</p>
<pre>INITIALIZE DL1:
COPY/SYSTEM DL0:*.* DL1:
COPY/BOOT:DD DL1:RT11SJ.SYS DL1:</pre>
<p>The result of this is an image with a TU58 boot sector, however its still using the original 256KB based driver. The next step is to get the modified driver into place.</p>
<h3>Installing the modified TU58 driver</h3>
<p>To install the modified TU58 driver:</p>
<ul>
<li>Downloaded the DW.SYS driver from Will&#8217;s site.</li>
<li>If you are using Linux,  install DOSEMU, an MS-DOS emulator. This will allow you to use the PUTR program below.</li>
<li>Download John Wilson <a href="http://www.dbit.com/pub/putr/">PUTR</a> application. PUTR allows you to mount various PDP file formats from an MSDOS machine and copy files to and from the filesystems. This makes it a highly useful piece of kit for moving stuff from your PC to your -11.</li>
<li>Fired up PUTR and copy the downloaded DW.SYS device driver onto the image you created on SIMH.</li>
<li>Exit PUTR and boot back into PUTR (using same config as before)</li>
<li>Make the new device driver the boot device by running the command COPY/BOOT:DW DL1:RT11SJ.SYS DL1:</li>
</ul>
<p>You should now have a ready to go TU58 tape image.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pdp11.co.uk/blog/2008/12/07/building-an-rt-11-tape-for-a-tu58-emulator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compiling up a TU58 emulator under Linux</title>
		<link>http://www.pdp11.co.uk/blog/2008/12/06/compiling-up-a-tu58-emulator-under-linux/</link>
		<comments>http://www.pdp11.co.uk/blog/2008/12/06/compiling-up-a-tu58-emulator-under-linux/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 09:47:50 +0000</pubDate>
		<dc:creator>Toby Russell</dc:creator>
				<category><![CDATA[Storage Server]]></category>
		<category><![CDATA[TU58 Emulator]]></category>
		<category><![CDATA[emulator]]></category>
		<category><![CDATA[swiss army knife]]></category>
		<category><![CDATA[TU58]]></category>

		<guid isPermaLink="false">http://www.pdp11.co.uk/?p=83</guid>
		<description><![CDATA[As part of my mission to build a general purpose storage server to allow diskless PDP&#8217;s to once again run real software, I have initially been concentrating on compiling up a TU58 emulator.
The TU58 is an ideal first device to emulate as its only requirement of the PDP-11 is a spare serial port which the [...]]]></description>
			<content:encoded><![CDATA[<p>As part of my mission to build a general purpose storage server to allow diskless PDP&#8217;s to once again run real software, I have initially been concentrating on compiling up a TU58 emulator.</p>
<p>The TU58 is an ideal first device to emulate as its only requirement of the PDP-11 is a spare serial port which the vast majority of machines should be able to offer.</p>
<p><span id="more-83"></span></p>
<p>There are a few different options out there:</p>
<ul>
<li><a href="http://ftp.dbit.com/pub/misc/tu58/?N=D" target="_blank">Dan Ts&#8217;o Emulator</a> &#8211; The original TU58 software emulator from which most others are derived. Designed to compile under BSD unix. Requires modification to get to run under a modern linux distribution</li>
<li><a href="http://www.sparetimegizmos.com/Hardware/TU58_Emulator.htm" target="_blank">Spare Time Gizmos TU58 Emulator</a> &#8211; A very elegant hardware based solution.</li>
<li><a href="http://www.fpns.net/willy/pdp11/tu58-emu.htm">Will&#8217;s Emulator</a> &#8211; Derived from the Dan Ts&#8217;o emulator but updated to compile under Linux. I had some problems compiling this on more modern versions of Linux although after a bit of tweaking built fine.</li>
<li>Don North&#8217;s Emulator &#8211; An update on the Dan Ts&#8217;o emulator and designed to run under cygwin on Windows. This version has many neat additional features such as enhanced debug/logging. Compiled under linux (Centos4/Redhat Enterprise 4) and worked first try.</li>
</ul>
<p>Having compiled up and tested as many of the above as I could, I decided to go with Don North&#8217;s emulator. Its enhanced debugging/logging output and ease of compilation makes it the best choice in my opinion.</p>
<p>If you would like to try installing it yourself, here are the steps:</p>
<ol>
<li>Download <a href="/wp-content/gallery/tu58-emulator/tu58em_v1.4c.zip">tu58em_v1.4c.zip</a></li>
<li>Unzip it</li>
<li>Go into the extracted directory and type &#8220;make&#8221;</li>
<li>The emulator binary &#8216;tu58em&#8217; should now exist in this directory.</li>
</ol>
<p>On Centos linux, the above is achieved with the following commands:</p>
<p><code>wget http://www.pdp11.co.uk/wp-content/gallery/tu58-emulator/tu58em_v1.4c.zip<br />
unzip tu58em_v1.4c.zip<br />
cd tu58em_v1.4c<br />
make</code></p>
<p>Once you have a working binary, you need to download some tape images to use with it. You can find some XXDP images from Will Kranz&#8217;s site <a href="http://www.fpns.net/willy/pdp11/tu58-emu.htm" target="_blank">here</a>.</p>
<p>Now you should have everything you need at the emulator end to boot your PDP-11. Next you need to set up a SLU on your -11 and set it to an appropriate baud rate. I used a DLV11-J and configured its first port to 9600 baud  8-n-1. The final step is to connect a serial cable between the emulator PC and your -11</p>
<p>Having got everything in place, fire up your tu58 emulator, making sure you have specified the correct baud rate on the command line (if you omit a baud rate setting it will default to 9600). Here is an example that I found to work:</p>
<pre>tu58em -m -x -v -p /dev/ttyS0 -w XXDPD2D.TAP</pre>
<p>Now fire up your PDP-11. You will now need to enter a bootstrap. I was lucky and already had a suitable bootstrap ROM in my 11/23+. If you do not have this, you will need to find a suitable bootstrap. I will add these to this page as soon as I have located.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pdp11.co.uk/blog/2008/12/06/compiling-up-a-tu58-emulator-under-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

