<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Installation</title><link>https://sourceforge.net/p/specos/wiki/Installation/</link><description>Recent changes to Installation</description><atom:link href="https://sourceforge.net/p/specos/wiki/Installation/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 25 Feb 2015 22:40:22 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/specos/wiki/Installation/feed" rel="self" type="application/rss+xml"/><item><title>Installation modified by Brian Ruthven</title><link>https://sourceforge.net/p/specos/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -37,10 +37,16 @@

 ## Installation onto a real Spectrum +3 ##

-*This has not yet been tried, so is theoretical at present...*
+There are three broad methods for transferring to a real spectrum:

-It should be possible to fold the binaries into a .TAP file, then load them up using a DivIDE / DivIDE+ to 32768 as above. Each can the be saved out to disk, although the length won't be easily known from this.
+* Via DivIDE/DivIDE+:
+    1. Copy specos.tap on to a CF card
+    1. Insert it into a DivIDE or DivIDE+ interface with FATware
+    1. Insert a blank formatted disk into the drive
+    1. Use the NMI interface to select SPECOS.TAP
+    1. LOAD "" and wait for the "0 OK 30:1" message :-)
+  This method has been sucessfully used to create a SpecOS disk.

-In progress is a bootstrap program which will load a table of data from tape (.TAP file) first, then load each bit, verify it, and write it to disk. Finally, it will load the bootsector, and continue by booting the disk.
+* Via disk: Transfer the disk image to the Spectrum, for example using a program such as libdsk+auxd (by John Elliot) to write out the disk image directly to the floppy disk.

-Alternatively, the disk image could be transferred to the +3 and written out track by track to a physical floppy disk. This assumes there are no bad sectors on the target disk, which after 20+ years might be pushing it a bit :-)
+* Via tape: use the .TAP file to generate a tape signal which can be played to the spectrum via the EAR socket. This is more fiddly, as it will require manual stop/start of the tape, and there is no clue from the program for when to start or stop the tape.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian Ruthven</dc:creator><pubDate>Wed, 25 Feb 2015 22:40:22 -0000</pubDate><guid>https://sourceforge.netc7773794b97e62fdb1d4c829403ad3750c44d74f</guid></item><item><title>Installation modified by Brian Ruthven</title><link>https://sourceforge.net/p/specos/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -26,9 +26,12 @@
     CLEAR 28671
     PRINT USR 28672

-This will load the boot sector. The disk can now be booted, either by resetting and selecting "Loader" from the main menu, or by manually typing:
+This will write the boot sector to disk and boot it immediately. The disk can now be booted, either by resetting and selecting "Loader" from the main menu, or by manually typing:

     LOAD "*"
+
+A small boot loader BASIC program is included which automates this process. It can be saved as "DISK" to allow autobooting, which writes the boot sector. Subsequent boots will now use the boot sector instead of the BASIC program.
+

 ------------

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian Ruthven</dc:creator><pubDate>Wed, 03 Jul 2013 23:21:06 -0000</pubDate><guid>https://sourceforge.net1fbb45374e53a22f9affe68317a32a30c026dcef</guid></item><item><title>Installation modified by Brian Ruthven</title><link>https://sourceforge.net/p/specos/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -9,6 +9,11 @@
 -----------

 ## Installation onto an emulated Spectrum ##
+
+Since changeset 380:959e898b213a, the workspace build process spits out a disk image (in CPCEMU .dsk format). This can be loaded directly into an emulator such as fuse and booted immediately.
+
+
+## Installation onto an emulated Spectrum - manual method ##

 There are many ways to install the files onto an emulated Spectrum. Using fuse, it's possible to load each output file (kernel/os/kernel.bin, cmd/*.comr, cmd/*.comf) directly into RAM at an arbitrary address (e.g. 32768), then save out the file using +3 BASIC (obviously substitute the correct file length):

@@ -34,3 +39,5 @@
 It should be possible to fold the binaries into a .TAP file, then load them up using a DivIDE / DivIDE+ to 32768 as above. Each can the be saved out to disk, although the length won't be easily known from this.

 In progress is a bootstrap program which will load a table of data from tape (.TAP file) first, then load each bit, verify it, and write it to disk. Finally, it will load the bootsector, and continue by booting the disk.
+
+Alternatively, the disk image could be transferred to the +3 and written out track by track to a physical floppy disk. This assumes there are no bad sectors on the target disk, which after 20+ years might be pushing it a bit :-)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian Ruthven</dc:creator><pubDate>Wed, 03 Jul 2013 23:18:43 -0000</pubDate><guid>https://sourceforge.netadf2ac59b96078f8b8817f3a8be40428a91c7220</guid></item><item><title>Installation modified by Brian Ruthven</title><link>https://sourceforge.net/p/specos/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="installation-of-the-source-code"&gt;Installation of the source code&lt;/h2&gt;
&lt;p&gt;The source itself can be installed anywhere. The only thing which needs adjusting is the path to the tools (which are all assumed to be placed in the same directory tree) in the &lt;a class="" href="https://sourceforge.net/p/specos/src/ci/default/tree/Makefile.rules"&gt;Makefile.rules&lt;/a&gt; file:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;TOOLS&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;speccy&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tools&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;hr /&gt;
&lt;h2 id="installation-onto-an-emulated-spectrum"&gt;Installation onto an emulated Spectrum&lt;/h2&gt;
&lt;p&gt;There are many ways to install the files onto an emulated Spectrum. Using fuse, it's possible to load each output file (kernel/os/kernel.bin, cmd/&lt;em&gt;.comr, cmd/&lt;/em&gt;.comf) directly into RAM at an arbitrary address (e.g. 32768), then save out the file using +3 BASIC (obviously substitute the correct file length):&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;SAVE&lt;/span&gt; &amp;quot;&lt;span class="n"&gt;KERNEL&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;EXE&lt;/span&gt;&amp;quot; &lt;span class="n"&gt;CODE&lt;/span&gt; 32768&lt;span class="p"&gt;,&lt;/span&gt; 15769
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;&lt;em&gt;Do watch out for crossing the 0xc000/49152 boundary, unless you are certain that RAM page 0 is in place during the load. Otherwise, part of the file winds up in RAM page 7 (which is paged in as scratch space for the +3BASIC editor), and the SAVE command from BASIC will switch out this in favour of RAM page 0, corrupting the binary written to disk.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The boot loader (bootstrap/bootloader.bin) is slightly different, in that it must be loaded to 28672 and run from there:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;CLEAR&lt;/span&gt; 28671
&lt;span class="n"&gt;PRINT&lt;/span&gt; &lt;span class="n"&gt;USR&lt;/span&gt; 28672
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This will load the boot sector. The disk can now be booted, either by resetting and selecting "Loader" from the main menu, or by manually typing:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;LOAD&lt;/span&gt; &amp;quot;&lt;span class="o"&gt;*&lt;/span&gt;&amp;quot;
&lt;/pre&gt;&lt;/div&gt;


&lt;hr /&gt;
&lt;h2 id="installation-onto-a-real-spectrum-3"&gt;Installation onto a real Spectrum +3&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;This has not yet been tried, so is theoretical at present...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It should be possible to fold the binaries into a .TAP file, then load them up using a DivIDE / DivIDE+ to 32768 as above. Each can the be saved out to disk, although the length won't be easily known from this.&lt;/p&gt;
&lt;p&gt;In progress is a bootstrap program which will load a table of data from tape (.TAP file) first, then load each bit, verify it, and write it to disk. Finally, it will load the bootsector, and continue by booting the disk.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian Ruthven</dc:creator><pubDate>Tue, 07 May 2013 21:30:35 -0000</pubDate><guid>https://sourceforge.net61ed347d02cb9b516f4c8b7182044402f9e39e23</guid></item></channel></rss>