<?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>amiga.happydaze.se &#187; Anders Granlund</title>
	<atom:link href="https://amiga.happydaze.se/author/agranlund/feed/" rel="self" type="application/rss+xml" />
	<link>https://amiga.happydaze.se</link>
	<description></description>
	<lastBuildDate>Mon, 29 Aug 2016 19:24:41 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.7.41</generator>
	<item>
		<title>Almost there!</title>
		<link>https://amiga.happydaze.se/uncategorized/almost-there/</link>
		<comments>https://amiga.happydaze.se/uncategorized/almost-there/#comments</comments>
		<pubDate>Mon, 29 Aug 2016 19:18:32 +0000</pubDate>
		<dc:creator><![CDATA[Anders Granlund]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://amiga.happydaze.se/?p=59</guid>
		<description><![CDATA[It&#8217;s been a long time since the last update! Nothing happened with the computer for quite some time but eventually I found some time to work on it again. All that is really missing now is a dvd drive and possibly putting an ethernet jack on the back of the machine. It&#8217;s wifi-only at the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s been a long time since the last update!<br />
Nothing happened with the computer for quite some time but eventually I found some time to work on it again.<br />
All that is really missing now is a dvd drive and possibly putting an ethernet jack on the back of the machine. It&#8217;s wifi-only at the moment, using an ethernet-&gt;wifi dongle.</p>
<p><a style="line-height: 1.4;" href="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05133.jpg"><img class="alignnone size-large wp-image-58" alt="DSC05133" src="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05133-1024x682.jpg" width="480" height="319" /></a></p>
<p><a href="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05116.jpg"><img class="alignnone size-large wp-image-51" alt="DSC05116" src="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05116-1024x682.jpg" width="480" height="319" /></a><br />
<a href="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05121.jpg"><img class="alignnone size-large wp-image-55" alt="DSC05121" src="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05121-1024x547.jpg" width="480" height="256" /></a></p>
<p>Here is a video of it in action: <a href="https://youtu.be/x7fHtTq0tKo">https://youtu.be/x7fHtTq0tKo</a><br />
<span style="line-height: 1.4;"> </span><iframe src="https://www.youtube.com/embed/x7fHtTq0tKo" height="315" width="560" allowfullscreen="" frameborder="0"></iframe></p>
<p>&nbsp;</p>
<p>I redid the Minimig controller, removing the need for the original PIC controller. The main controller is now a Teensy 3.0.<br />
This one was chosen because has 12Mbit/s bandwidth over USB &#8211; this is good enough for floppy disk transfer between MorphOS and the Minimig.<br />
It has a custom firmware that allows the Minimig to be completely controlled from the client software running on MorphOS, including reading floppies, getting input, changing settings, and so on.<br />
Multi disk games are automatically detected from the filename, and it is possible to override any setting on a per-game basis.<br />
Mouse, Keyboard and gamepad input are forwarded from MorphOS to a second microcontroller, an Arduino Mini, which emulates a PS/2 Keyboard, Mouse and the Amiga joysticks.</p>
<p>There is no OSD like on the stock Minimig. Instead there are special key combinations to press for resetting, changing certain settings and so on.<br />
An ini file is used for setting default settings and it is possible to override any of these on a per game basis.<br />
Multi disk games are automatically detected by filename, and it&#8217;s again possible to specify disk settings in the ini file.<br />
<a href="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05117.jpg"><img class="alignnone size-large wp-image-52" alt="DSC05117" src="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05117-1024x559.jpg" width="480" height="262" /></a></p>
<p>I was not happy with the previous version of the video switch as it required me to use analog output from MorphOS.<br />
The new version is a hacked DVI switch I got for cheap from ebay. Hacked in a way that it outputs DVI-I with either digital signals from MorphOS or analog signals from the Minimig &#8211; never both at the same time.<br />
My monitor automatically detects if a cable is &#8220;unplugged&#8221; or &#8220;plugged in&#8221; and will switch to the active input.<br />
<a href="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05118.jpg"><img class="alignnone size-large wp-image-53" alt="DSC05118" src="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05118-1024x590.jpg" width="480" height="276" /></a></p>
<p>I made a super simple audio mixer for mixing the MorphOS and Minimig audio.<br />
MorphOS audio is always active. Minimig audio is only active when it is running and active (it cuts out if you &#8220;alt-tab&#8221; to the desktop, or shut down).<br />
There&#8217;s also an internal speaker.</p>
<p><a href="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05119.jpg"><img class="alignnone size-large wp-image-54" alt="DSC05119" src="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05119-1024x581.jpg" width="480" height="272" /></a></p>
<p>&nbsp;</p>
<p>Overall I am super happy with the result. It does what I set out to do, make the Minimig feel invisible and completely integrated with MorphOS.<br />
Of course, the sane approach would be to just use UAE instead but this has always been an excuse for me to learn more about electronics and micro controllers.</p>
<p>Random ideas for future improvements could include:</p>
<p>- Send mouse,keyboard and joystick directly to the FPGA over SPI, removing the need for the second micro controller and cable.<br />
- Send picture from Minimig back to MorphOS (over ethernet?) so it can be displayed in a window.<br />
- Make a single card that does all the things (Minimig/MIST, video switch, audio mixer).<br />
- Perhaps with a Sam460 one could skip a microcontroller entierly and just drive it directly from the computer &#8211; it has an FPGA and plenty of IO pins directly on the motherboard. Although I doubt I would ever figure out how to access it from MorphOS <img src='https://amiga.happydaze.se/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><span style="line-height: 1.4;">I don&#8217;t have any plans of making a product out of this, so for now I will just enjoy some old classic games, and upgrade to MorphOS 3.9 &#8211; I am apparently still on 3.7 <img src='https://amiga.happydaze.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></p>
<p><a style="line-height: 1.4;" href="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05126.jpg"><img class="alignnone size-large wp-image-56" alt="DSC05126" src="http://amiga.happydaze.se/wp-content/uploads/2016/08/DSC05126-1024x634.jpg" width="480" height="297" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://amiga.happydaze.se/uncategorized/almost-there/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
