<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title><![CDATA[DCEmu Network: The Homebrew, Hacking & Gaming Network - Raspberry Pi News Forum]]></title>
		<link>http://www.dcemu.co.uk/</link>
		<description><![CDATA[The latest Raspberry Pi News & Releases can be found in this forum. Topics can only be started by Coders and Staff, anyone can reply however.  This is the hosted news forum for Raspberry Pi News]]></description>
		<language>en</language>
		<lastBuildDate>Tue, 21 May 2013 21:26:56 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.dcemu.co.uk/digitalvb/morbid/misc/rss.png</url>
			<title><![CDATA[DCEmu Network: The Homebrew, Hacking & Gaming Network - Raspberry Pi News Forum]]></title>
			<link>http://www.dcemu.co.uk/</link>
		</image>
		<item>
			<title>Turning a phone into a media center remote</title>
			<link>http://www.dcemu.co.uk/vbulletin/threads/554520-Turning-a-phone-into-a-media-center-remote?goto=newpost</link>
			<pubDate>Mon, 20 May 2013 21:35:33 GMT</pubDate>
			<description><![CDATA[Image: http://hackadaycom.files.wordpress.com/2013/05/img_2061.jpg?w=580&h=386  
[Kees] wanted a remote for an XBMC audio system. He had a classic T65 Dutch telephone in one of his project boxes and thought this phone with the addition of a Raspberry Pi hecould have a functional media remote...]]></description>
			<content:encoded><![CDATA[<div><img src="http://hackadaycom.files.wordpress.com/2013/05/img_2061.jpg?w=580&amp;h=386" border="0" alt="" /><br />
[Kees] wanted a remote for an XBMC audio system. He had a classic T65 Dutch telephone in one of his project boxes and thought this phone with the addition of a Raspberry Pi he<a href="http://www.keesvanweert.nl/blog/?p=1" target="_blank">could have a functional media remote</a> with classic lines and 70s styling.<br />
<br />
<a href="http://hackaday.com/2013/05/20/turning-a-phone-into-a-media-center-remote/" target="_blank">http://hackaday.com/2013/05/20/turni...center-remote/</a></div>

]]></content:encoded>
			<category domain="http://www.dcemu.co.uk/vbulletin/forums/358-Raspberry-Pi-News-Forum">Raspberry Pi News Forum</category>
			<dc:creator>wraggster</dc:creator>
			<guid isPermaLink="true">http://www.dcemu.co.uk/vbulletin/threads/554520-Turning-a-phone-into-a-media-center-remote</guid>
		</item>
		<item>
			<title>Controlling a terminal with Google Voice</title>
			<link>http://www.dcemu.co.uk/vbulletin/threads/554242-Controlling-a-terminal-with-Google-Voice?goto=newpost</link>
			<pubDate>Sun, 19 May 2013 20:41:12 GMT</pubDate>
			<description><![CDATA[Image: http://hackadaycom.files.wordpress.com/2013/05/sms.png?w=470&h=250&crop=1  (http://hackaday.com/2013/05/19/controlling-a-terminal-with-google-voice/)For how awesome Google Voice is, we're surprised we haven't seen this before. [Steve] is using Google Voice to run commands on just about any...]]></description>
			<content:encoded><![CDATA[<div><a href="http://hackaday.com/2013/05/19/controlling-a-terminal-with-google-voice/" target="_blank"><img src="http://hackadaycom.files.wordpress.com/2013/05/sms.png?w=470&amp;h=250&amp;crop=1" border="0" alt="" /></a>For how awesome Google Voice is, we're surprised we haven't seen this before. [Steve] is using Google Voice to run commands on just about any Linux box. Google Voice doesn't have an official API, and existing unofficial APIs weren't up to snuff for [Steve]'s project. He ended up writing his own that checks his unread message inbox every minute and looks for new text messages <br />
<br />
<a href="http://hackaday.com/2013/05/19/controlling-a-terminal-with-google-voice/" target="_blank">http://hackaday.com/2013/05/19/contr...-google-voice/</a></div>

]]></content:encoded>
			<category domain="http://www.dcemu.co.uk/vbulletin/forums/358-Raspberry-Pi-News-Forum">Raspberry Pi News Forum</category>
			<dc:creator>wraggster</dc:creator>
			<guid isPermaLink="true">http://www.dcemu.co.uk/vbulletin/threads/554242-Controlling-a-terminal-with-Google-Voice</guid>
		</item>
		<item>
			<title>ATX Raspi is a smart power source for Raspberry Pi</title>
			<link>http://www.dcemu.co.uk/vbulletin/threads/554239-ATX-Raspi-is-a-smart-power-source-for-Raspberry-Pi?goto=newpost</link>
			<pubDate>Sun, 19 May 2013 20:40:05 GMT</pubDate>
			<description><![CDATA[Image: http://hackadaycom.files.wordpress.com/2013/05/atxraspi_wiring_to_raspberrypi.jpg?w=600&h=250&crop=1  (http://hackaday.com/2013/05/19/atx-raspi-is-a-smart-power-source-for-raspberry-pi/)One aspect of the Raspberry Pi that has always challenged us is the power supply. It was a great idea to...]]></description>
			<content:encoded><![CDATA[<div><a href="http://hackaday.com/2013/05/19/atx-raspi-is-a-smart-power-source-for-raspberry-pi/" target="_blank"><img src="http://hackadaycom.files.wordpress.com/2013/05/atxraspi_wiring_to_raspberrypi.jpg?w=600&amp;h=250&amp;crop=1" border="0" alt="" /></a>One aspect of the Raspberry Pi that has always challenged us is the power supply. It was a great idea to power the board from a standard micro-USB port because economy of scale makes phone chargers (even in the 1A range necessary for stable operation of the RPi) cheap and easy to acquire. The thing we miss is the ability to power the device on and off using the built-in hardware.<br />
<br />
<a href="http://hackaday.com/2013/05/19/atx-raspi-is-a-smart-power-source-for-raspberry-pi/" target="_blank">http://hackaday.com/2013/05/19/atx-r...-raspberry-pi/</a></div>

]]></content:encoded>
			<category domain="http://www.dcemu.co.uk/vbulletin/forums/358-Raspberry-Pi-News-Forum">Raspberry Pi News Forum</category>
			<dc:creator>wraggster</dc:creator>
			<guid isPermaLink="true">http://www.dcemu.co.uk/vbulletin/threads/554239-ATX-Raspi-is-a-smart-power-source-for-Raspberry-Pi</guid>
		</item>
		<item>
			<title>Homebrew GPS gets ±1 meter resolution with a Raspberry Pi</title>
			<link>http://www.dcemu.co.uk/vbulletin/threads/553947-Homebrew-GPS-gets-±1-meter-resolution-with-a-Raspberry-Pi?goto=newpost</link>
			<pubDate>Sat, 18 May 2013 13:54:24 GMT</pubDate>
			<description><![CDATA[Image: http://hackadaycom.files.wordpress.com/2013/05/gps.jpg?w=580&h=371  
We’ve been following the work of [Andrew Holme] and his homebrew GPS receiver for a while now. A few years ago, [Andrew] built a four-channel GPS receiver (http://hackaday.com/2011/10/01/make-your-own-gps-receiver/) from...]]></description>
			<content:encoded><![CDATA[<div><img src="http://hackadaycom.files.wordpress.com/2013/05/gps.jpg?w=580&amp;h=371" border="0" alt="" /><br />
We’ve been following the work of [Andrew Holme] and his homebrew GPS receiver for a while now. A few years ago, [Andrew]<a href="http://hackaday.com/2011/10/01/make-your-own-gps-receiver/" target="_blank"> built a four-channel GPS receiver</a> from scratch, but apparently that wasn’t enough for him. He <a href="http://hackaday.com/2012/12/24/update-roll-your-own-gps-can-now-track-twice-as-many-satellites/" target="_blank">expanded his build</a> last year to track up to eight satellites, and this month <a href="http://www.holmea.demon.co.uk/GPS/Main.htm#" target="_blank">added a Raspberry Pi</a> for a 12-channel, battery-powered homebrew GPS receiver that has an accuracy of about 3 feet.<br />
The Raspi is attached to an FPGA board that handles the local oscillator, real-time events, and tracks satellites automatically. The Pi handles the difficult but not time-critical math through an SPI interface. Because the Pi is attached to the FPGA through an SPI interface, it can also load up the FPGA with even more custom code, potentially turning this 12-channel receiver into a 16- or 18-channel one.<br />
An LCD display attached to the FPGA board shows the current latitude, longitude, and other miscellaneous data like the number of satellites received. With a large Li-ion battery, the entire system can be powered for about 5 hours; an impressively portable GPS system that rivals the best commercial options out there.<br />
<br />
<a href="http://hackaday.com/2013/05/17/homebrew-gps-gets-%C2%B11-meter-resolution-with-a-raspberry-pi/" target="_blank">http://hackaday.com/2013/05/17/homeb...-raspberry-pi/</a></div>

]]></content:encoded>
			<category domain="http://www.dcemu.co.uk/vbulletin/forums/358-Raspberry-Pi-News-Forum">Raspberry Pi News Forum</category>
			<dc:creator>wraggster</dc:creator>
			<guid isPermaLink="true">http://www.dcemu.co.uk/vbulletin/threads/553947-Homebrew-GPS-gets-±1-meter-resolution-with-a-Raspberry-Pi</guid>
		</item>
		<item>
			<title>RPiCluster: Another Raspberry Pi Cluster, With Neat Tricks</title>
			<link>http://www.dcemu.co.uk/vbulletin/threads/553936-RPiCluster-Another-Raspberry-Pi-Cluster-With-Neat-Tricks?goto=newpost</link>
			<pubDate>Sat, 18 May 2013 13:42:20 GMT</pubDate>
			<description><![CDATA[The RPiCluster is a 33-node Beowulf cluster built using Raspberry Pis (RPis). The RPiCluster is a little side project I worked on over the last couple months as part of my dissertation work at Boise State University. I had need of a cluster to run a distributed simulator I've been developing. The...]]></description>
			<content:encoded><![CDATA[<div><i>The RPiCluster is a 33-node Beowulf cluster built using Raspberry Pis (RPis). The RPiCluster is a little side project I worked on over the last couple months as part of my dissertation work at Boise State University. I had need of a cluster to run a distributed simulator I've been developing. <a href="http://coen.boisestate.edu/ece/raspberry-pi/" target="_blank">The RPiCluster</a> is the result. I've written an informal document on <a href="http://coen.boisestate.edu/ece/files/2013/05/Rasp.-Pi.pdf" target="_blank">why I built the RPiCluster, how it was built, and how it performs</a> as compared to other platforms. I also put together a YouTube video of it <a href="http://www.youtube.com/watch?v=i_r3z1jYHAc&amp;feature=youtu.be" target="_blank">running an MPI parallel program</a> I created to demo the RGB LEDs installed on each node as part of the build. While there have certainly been larger RPi clusters put together recently, I figured the Slashdot community might be interested in this build as I believe it is a novel approach to the rack mounting and power management of RPis.&quot;<br />
<br />
<a href="http://hardware.slashdot.org/story/13/05/18/0322247/rpicluster-another-raspberry-pi-cluster-with-neat-tricks" target="_blank">http://hardware.slashdot.org/story/1...th-neat-tricks</a></i></div>

]]></content:encoded>
			<category domain="http://www.dcemu.co.uk/vbulletin/forums/358-Raspberry-Pi-News-Forum">Raspberry Pi News Forum</category>
			<dc:creator>wraggster</dc:creator>
			<guid isPermaLink="true">http://www.dcemu.co.uk/vbulletin/threads/553936-RPiCluster-Another-Raspberry-Pi-Cluster-With-Neat-Tricks</guid>
		</item>
		<item>
			<title>Raspberry Pi camera module comes to the UK May 14th</title>
			<link>http://www.dcemu.co.uk/vbulletin/threads/553014-Raspberry-Pi-camera-module-comes-to-the-UK-May-14th?goto=newpost</link>
			<pubDate>Tue, 14 May 2013 23:07:19 GMT</pubDate>
			<description>Image: http://www.blogcdn.com/www.engadget.com/media/2013/05/raspberrypicam01-1368493425_620x340.jpg Remember that Raspberry Pi camera module (http://www.engadget.com/2013/02/06/raspberry-pi-camera-hardware-finalized/) we wrote about a few months ago? It looks like UK-based electronics retailer CPC...</description>
			<content:encoded><![CDATA[<div><img src="http://www.blogcdn.com/www.engadget.com/media/2013/05/raspberrypicam01-1368493425_620x340.jpg" border="0" alt="" /><font color="#333333">Remember that <a href="http://www.engadget.com/2013/02/06/raspberry-pi-camera-hardware-finalized/" target="_blank">Raspberry Pi camera module</a> we wrote about a few months ago? It looks like UK-based electronics retailer CPC / Farnell will start taking orders for the shooter on May 14th. Users on the <a href="http://www.engadget.com/tag/RaspberryPi/" target="_blank">Raspberry Pi</a> forums who signed up for info about the camera module have received an email from the retailer inviting them to order. As a reminder, the five megapixel fixed-focus shooter -- which only measures 25 x 20 x 9mm -- can snap 2,592 x 1,944-pixel images and capture video at 1,080p (30fps), 720p (60fps) and VGA (60 or 90fps). While the accessory is expected to cost about $25, there's no actual pricing details on CPC / Farnell's website. Wanna see the camera module in action? One lucky Raspberry Pi user's received the device early and shared a video -- check it out after the break.<br />
<b>Update</b>: As promised, the boards are now officially available to order per a blog post on the Raspberry Pi website. And the price is indeed $25. Hit the source link for a list of commands needed to activate the add-on, or check after the break for another video demonstrating the setup process and some PR explaining Element 14's competition to promote the Pi and its camera.<br />
<br />
<a href="http://www.engadget.com/2013/05/13/raspberry-pi-camera-module-comes-to-the-uk-may-14th-lands-early/" target="_blank">http://www.engadget.com/2013/05/13/r...h-lands-early/</a><br />
<br />
</font></div>

]]></content:encoded>
			<category domain="http://www.dcemu.co.uk/vbulletin/forums/358-Raspberry-Pi-News-Forum">Raspberry Pi News Forum</category>
			<dc:creator>wraggster</dc:creator>
			<guid isPermaLink="true">http://www.dcemu.co.uk/vbulletin/threads/553014-Raspberry-Pi-camera-module-comes-to-the-UK-May-14th</guid>
		</item>
		<item>
			<title>Raspberry Pi survives electronics blackout for a cameo on Revolution</title>
			<link>http://www.dcemu.co.uk/vbulletin/threads/553013-Raspberry-Pi-survives-electronics-blackout-for-a-cameo-on-Revolution?goto=newpost</link>
			<pubDate>Tue, 14 May 2013 23:06:19 GMT</pubDate>
			<description><![CDATA[Image: http://www.blogcdn.com/www.engadget.com/media/2013/05/nbc-revolution-rpi_620x340.jpg Screen Grabs (http://www.engadget.com/tag/ScreenGrabs/) chronicles the uses (and misuses) of real-world gadgets in today's movies and TV. Send in your sightings (with screen grab!) to *screengrabs at...]]></description>
			<content:encoded><![CDATA[<div><img src="http://www.blogcdn.com/www.engadget.com/media/2013/05/nbc-revolution-rpi_620x340.jpg" border="0" alt="" /><font color="#333333"><a href="http://www.engadget.com/tag/ScreenGrabs/" target="_blank"><i>Screen Grabs</i></a><i> chronicles the uses (and misuses) of real-world gadgets in today's movies and TV. Send in your sightings (with screen grab!) to <b>screengrabs at engadget dot com.</b></i><br />
The original premise of NBC's show <i>Revolution</i> is that in the near future some unknown worldwide catastrophe devastated all electronic devices, plunging everyone into a blackout. As the plot has progressed however, in limited cases the power is coming back on. That includes a nanotech machine a couple of characters are planning to use to perform emergency surgery -- by shoving what appears to be a USB stick into an open wound -- and its configuration is enabled thanks to a very familiar-looking $35 device. Keen eyed viewers spotted a Raspberry Pi (top center) as it popped on screen a few times, however like <a href="http://www.engadget.com/2011/07/06/screen-grabs-engadget-makes-its-prime-time-tv-debut-on-xiii/" target="_blank">our own prime time cameo</a> it flashes by very quickly, the screencap above may be your best look at it.<br />
<br />
<a href="http://www.engadget.com/2013/05/14/screen-grabs-raspberry-pi-revolution/" target="_blank">http://www.engadget.com/2013/05/14/s...pi-revolution/</a><br />
<br />
</font></div>

]]></content:encoded>
			<category domain="http://www.dcemu.co.uk/vbulletin/forums/358-Raspberry-Pi-News-Forum">Raspberry Pi News Forum</category>
			<dc:creator>wraggster</dc:creator>
			<guid isPermaLink="true">http://www.dcemu.co.uk/vbulletin/threads/553013-Raspberry-Pi-survives-electronics-blackout-for-a-cameo-on-Revolution</guid>
		</item>
		<item>
			<title>Raspberry Pi housed inside a computer monitor</title>
			<link>http://www.dcemu.co.uk/vbulletin/threads/552237-Raspberry-Pi-housed-inside-a-computer-monitor?goto=newpost</link>
			<pubDate>Sat, 11 May 2013 22:32:03 GMT</pubDate>
			<description><![CDATA[Image: http://hackadaycom.files.wordpress.com/2013/05/rpi-inside-a-computer-monitor.jpg?w=580&h=435  
Behold, something we’ve always wanted. [Matthieu] mounted his Raspberry Pi board inside of a computer monitor (http://www.raspberrypi.org/phpBB3/viewtopic.php?f=64&t=42223). His work makes for the...]]></description>
			<content:encoded><![CDATA[<div><img src="http://hackadaycom.files.wordpress.com/2013/05/rpi-inside-a-computer-monitor.jpg?w=580&amp;h=435" border="0" alt="" /><br />
Behold, something we’ve always wanted. [Matthieu] mounted his <a href="http://www.raspberrypi.org/phpBB3/viewtopic.php?f=64&amp;t=42223" target="_blank">Raspberry Pi board inside of a computer monitor</a>. His work makes for the cheapest smart-TV modification we can possibly think of.<br />
The image above shows the monitor’s driver board on the left, with the Raspberry Pi mounted on the back plastic cover. [Matthieu] used a short HDMI cable to connect the two. The HDMI connector plugs into the RPi directly. The other end has been cut off and the wires soldered to the DVI pins on the monitor’s PCB. This is not a problem since <a href="http://en.wikipedia.org/wiki/Hdmi#Compatibility_with_DVI" target="_blank">HDMI and DVI use electrically identical protocols</a>. The one thing missing is audio. But if you were pulling off the same hack with a device that had HDMI (like a television) it would just be a matter of also soldering in the audio connections. While he had his iron hot he also connected a 5V source from the monitor board to the RPi. He completes his hack by cutting a slot in the monitor case to allow access to the SD card.<br />
We’ve long wanted an XBMC computer we could velcro to the back of the TV and the <a href="http://hackaday.com/2012/11/19/raspberry-pi-reaches-critical-mass-as-xbmc-hardware/" target="_blank">RPi turned out to be just the thing</a>. Now we’ve got to consider cracking open the TV to replicate this internalization hack!<br />
<br />
<a href="http://hackaday.com/2013/05/09/raspberry-pi-housed-inside-a-computer-monitor/" target="_blank">http://hackaday.com/2013/05/09/raspb...puter-monitor/</a></div>

]]></content:encoded>
			<category domain="http://www.dcemu.co.uk/vbulletin/forums/358-Raspberry-Pi-News-Forum">Raspberry Pi News Forum</category>
			<dc:creator>wraggster</dc:creator>
			<guid isPermaLink="true">http://www.dcemu.co.uk/vbulletin/threads/552237-Raspberry-Pi-housed-inside-a-computer-monitor</guid>
		</item>
		<item>
			<title>Meet Drone Shield, an Ambitious Idea For a $70 Drone Detection System</title>
			<link>http://www.dcemu.co.uk/vbulletin/threads/550191-Meet-Drone-Shield-an-Ambitious-Idea-For-a-70-Drone-Detection-System?goto=newpost</link>
			<pubDate>Fri, 03 May 2013 14:58:13 GMT</pubDate>
			<description><![CDATA[Here's an Interesting idea of how to use a Raspberry Pi and a few other inexpensive items to make a low cost detection system (http://arstechnica.com/gadgets/2013/05/meet-drone-shield-an-ambitious-idea-for-a-70-drone-detection-system/). From the article: 'The Drone Shield would combine a Raspberry...]]></description>
			<content:encoded><![CDATA[<div><i>Here's an Interesting idea of how to use a Raspberry Pi and a few other inexpensive items to make <a href="http://arstechnica.com/gadgets/2013/05/meet-drone-shield-an-ambitious-idea-for-a-70-drone-detection-system/" target="_blank">a low cost detection system</a>. From the article: 'The Drone Shield would combine a Raspberry Pi, a signal processor, a microphone, and analysis software to scan for specific audio signatures and compare them against what known drones sound like. (Because obviously a Predator drone is going to sound very different than a small quadcopter.) Once a match is found, the Drone Shield then sends an e-mail or SMS to its owner..<br />
<br />
<a href="http://tech.slashdot.org/story/13/05/02/2221246/meet-drone-shield-an-ambitious-idea-for-a-70-drone-detection-system" target="_blank">http://tech.slashdot.org/story/13/05...tection-system</a></i></div>

]]></content:encoded>
			<category domain="http://www.dcemu.co.uk/vbulletin/forums/358-Raspberry-Pi-News-Forum">Raspberry Pi News Forum</category>
			<dc:creator>wraggster</dc:creator>
			<guid isPermaLink="true">http://www.dcemu.co.uk/vbulletin/threads/550191-Meet-Drone-Shield-an-Ambitious-Idea-For-a-70-Drone-Detection-System</guid>
		</item>
		<item>
			<title>rpix86 v0.07 released! - Dos(PC) Emulator for RaspBerry Pi Released</title>
			<link>http://www.dcemu.co.uk/vbulletin/threads/548915-rpix86-v0-07-released!-Dos(PC)-Emulator-for-RaspBerry-Pi-Released?goto=newpost</link>
			<pubDate>Sun, 28 Apr 2013 20:35:28 GMT</pubDate>
			<description>via http://rpix86.patrickaalto.com/rblog.html 
 
Improvements in the new version 
This version does not have any new features, it has just various small fixes and improvements, mainly affecting certain games. Here is a list of the changes:  
 
Fixed a potential crash when a game moves the cursor...</description>
			<content:encoded><![CDATA[<div>via <a href="http://rpix86.patrickaalto.com/rblog.html" target="_blank">http://rpix86.patrickaalto.com/rblog.html</a><br />
<br />
Improvements in the new version<br />
This version does not have any new features, it has just various small fixes and improvements, mainly affecting certain games. Here is a list of the changes: <br />
<br />
Fixed a potential crash when a game moves the cursor far outside the screen area. <br />
Implemented a dummy OUT 82,AL operation (Alone In The Dark). <br />
Improved SB IRQ behaviour for short DMA buffers (Alone in the Dark). <br />
Implemented a missing REP MOVSW Mode-X to RAM operation (Ween - The Prophecy). <br />
Fixed a bug in REP MOVSW RAM to Mode-X operation (Ween - The Prophecy). <br />
Implemented reading from DMA page register (Super Frog). <br />
Implemented USE16 version of Mode-X REP STOSD opcode (Super Frog). <br />
Implemented USE32 version of REP INSB opcode (Super Frog). <br />
Implemented USE32 version of REP OUTSB opcode (Super Frog). <br />
Added JPE special handling for &quot;Super Frog&quot;. <br />
<br />
Further detail about the changes<br />
In the beginning of last week I got some error logs from rpix86 forum user Vanfanel, containing problems in games Alone in the Dark, Ween - The Prophecy and Super Frog. I began by troubleshooting Alone in the Dark, as I already had that game and it works fine in DSx86. However, as soon as I started it in rpix86, the whole rpix86 crashed with a segmentation fault. I could not even get an error debug log, which I thought was a bit strange.<br />
<br />
 <br />
Being able to run my emulator on top of a real operating system has the advantage that I can attach the GDB debugger to it from a different shell session, and I can then have GDB tell me exactly where the program crashes. With DSx86 and DS2x86 these problems have been much harder to track down, as they will simply hang the whole system in similar situations. In this case the debugger showed that rpix86 tried to draw the text mode blinking cursor outside of the memory block I had allocated for the text mode screen. I calculate the cursor position based on the row and column values, but had not limited those in any way. So if a game decides to hide the cursor by moving it to row 255 for example, my code simply tried to draw it there, even though the text mode only has at most 50 rows, and normally only 25. I added an out of bounds check and skipped the cursor drawing if the address is out of bounds, and this got rid of the crash.<br />
<br />
After this small fix I got the exact same rpix86dbg.log error report from Alone in the Dark as what Vanfanel had reported to me. This was caused by the game trying to setup Sound Blaster with DMA channel 3 instead of the DMA channel 1 (which it actually uses in rpix86). I added a dummy handler for that DMA channel, but this only caused rpix86 to crash again with a segmentation fault. I again debugged this problem, and found out that the game executed code at the end of the RAM area (which was full of zeroes) and continued beyond the end of the RAM area! Obviously something much more serious was going on.<br />
<br />
I do have various conditional debug defines in my cpu emulation sources, just for these kinds of problems. I enabled the &quot;do not run zero code&quot; and the &quot;trace all opcodes&quot; flags, and ran the game again. I found out that the game attempted to execute code at address FFEF:0008 forwards, and there it ran into zero code. After some more debugging I noticed that it jumps to that address when it tries to call the DOS INT 21h interrupt, and sure enough, some code had overwritten the int 21h vector to point to that invalid address!<br />
<br />
I also have a memory watch feature built into rpix86, so I added a watch for the int21h vector address, and found out the code where it gets overwritten. It took me quite a while longer to understand what was going on, as I noticed that the root cause for the memory overwrite problems was that the game first allocates all available DOS memory, loads and executes another program, and after it exits the game again tries to allocate all available memory (of which there is none at this point), does not check whether the allocation succeeds and then proceeds to loading another program into memory that has not been allocated! This loading then obviously corrupts memory from all sorts of locations, including that int 21h address.<br />
<br />
Since the game does work in DSx86, I began debugging it there and comparing the behaviour with what happens in rpix86. After considerable time I noticed that the first program that gets loaded is actually a Sound Blaster driver, and it exits with an error code if it can not determine the IRQ number for the Sound Blaster. It occurred to me that I had not run the Alone in the Dark hardware configuration option in rpix86. When I ran that, it detected only &quot;Sound Blaster (no DMA)&quot;, even though it should have also detected &quot;Sound Blaster (DMA)&quot;. Using the no DMA configuration allowed the game to start, though, but the audio was very bad.<br />
<br />
So, obviously the problem was related to the game not detecting the SB IRQ number. After some more debugging I realized that the game does not set the playing frequency at all, and in rpix86 it gets left at zero, which will then never cause an IRQ to happen. In DSx86 I had (by chance) handled this situation better, and I copied the same handling to rpix86. This finally allowed the game to detect the proper Sound Blaster (DMA) audio device. The game does still not run very well, though. It has some weird slowdowns, so that it actually runs faster in DSx86! I have not yet managed to determine what causes these slowdowns, it looks like some sort of a timing issue.<br />
<br />
The next game I debugged was the Ween - The Prophecy. It used a couple of somewhat more rare VGA Mode-X block moves, which I had not yet implemented in the code I had ported over from DSx86 and converted to be compatible with protected mode. I implemented these operations, and this allowed Ween to start up and proceed to the actual game fine.<br />
<br />
Next I downloaded and tested Super Frog. The first problem was simple, it attempted to read from the Sound Blaster DMA page register, which I just had not implemented yet. After I implemented this, it proceeded to the next problem, where it attempted to clear the Mode-X graphics screen using a 16-bit REP MOVSD block operation. I had only implemented the 32-bit version which is usually used by protected mode games, but for some reason Super Frog wanted to use the 16-bit version even when it ran in 32-bit protected mode. This was pretty easy to implement, though.<br />
<br />
After that problem Super Frog stopped into protected mode REP INSB port operation, which it used to read the VGA palette register values, and immediately after that into the corresponding REP OUTSB operation used to set the VGA palette register values. These were also easy to implement.<br />
<br />
Finally the game stopped into a JPE opcode, in a code that was exactly like the routine mentioned in the Simply FPU tutorial for reducing an angle within the allowable range of ±263 radians. That is, the game obviously uses a lot of floating point operations, which are currently simply handled as a no operation in rpix86. At this point I assumed that this game can not be made to run in current rpix86, but I decided to code support for this specific algorithm anyways.<br />
<br />
After this fix, to my surprise, the game did start up and did seem to work. I don't know how to play that game so I don't know whether it uses floating point operations during the game so that it will be unplayable, but I will leave that to you to test. :-)<br />
<br />
I also spent a little time testing X-Wing, which seemed to work without problems, and also the horizontal pan jitter problem in Commander Keen 1. This jitter problem is difficult to solve, and I could not figure out a way to improve it in this version yet.<br />
<br />
New web site features<br />
Last week I also got a request to add a donate button to my rpix86 pages. Thus, I added one at the bottom of the main page. This is not a request for you to donate anything, but there is now a button for that purpose if for some reason you absolutely want to donate. :-)<br />
<br />
Also, big thanks to Ben Garrett, who created a very informative tutorial for rpix86 installation and usage. The tutorial also gives a short history lesson about what DOS is, so check it out! I added a link to the tutorial also to my FAQ page.<br />
<br />
In other news...<br />
Last week I also got contacted by the people behind the new gaming console Game Consoles Worldwide Zero, or GCW-Zero for short. They would like me to port my x86 emulator also to their new device, and this is something that I find quite interesting. The device is powered by an Ingenic JZ4770 CPU running at 1GHz, so it is quite a bit more powerful than the 360MHz JZ4740 that is in the DSTwo flash cart for which I developed the DS2x86 version of my emulator. However, both of those processors use the MIPS32 architecture, so it should be relatively easy for me to port my DS2x86 code (which is 95% MIPS32 ASM) over to work on GCW-Zero.<br />
<br />
I have already done some preliminary porting tests, and there are some issues that I need to solve to be able to run my emulator under an operating system, but these issues are reasonably similar to what I had to do when porting DSx86 over to rpix86. What this means, though, is that it looks like my finishing my Android port will get pushed back, as I am currently more interested in working on GCW-Zero than on my continuing the ax86 version. But who knows, possibly I can use some new features (that are coded in C language) in both of them!<br />
<br />
Anyways, thanks again for your interest in my emulators! Have a nice 1st of May!<br />
<br />
Download Attached</div>


	<div style="padding:10px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<ul>
			<li>
	<img class="inlineimg" src="http://www.dcemu.co.uk/images/attach/zip.gif" alt="File Type: zip" />
	<a href="http://www.dcemu.co.uk/attachment.php?attachmentid=2590&amp;d=1367181306">rpix86.zip</a> 
(461.6 KB)
</li>
			</ul>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://www.dcemu.co.uk/vbulletin/forums/358-Raspberry-Pi-News-Forum">Raspberry Pi News Forum</category>
			<dc:creator>wraggster</dc:creator>
			<guid isPermaLink="true">http://www.dcemu.co.uk/vbulletin/threads/548915-rpix86-v0-07-released!-Dos(PC)-Emulator-for-RaspBerry-Pi-Released</guid>
		</item>
	</channel>
</rss>
