<?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>Gameboy DMG-01 VGA &#8211; The Longhorn Engineer</title>
	<atom:link href="https://longhornengineer.com/category/hardware-hacking/gameboy-dmg-01-vga/feed/" rel="self" type="application/rss+xml" />
	<link>https://longhornengineer.com</link>
	<description>Robotics, Pinball, Hacking, Portables</description>
	<lastBuildDate>Tue, 20 Dec 2022 20:44:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>VGA connector for DMG-01 GameBoy project</title>
		<link>https://longhornengineer.com/2018/05/30/vga-connector-for-dmg-01-gameboy-project/</link>
		
		<dc:creator><![CDATA[Parker]]></dc:creator>
		<pubDate>Thu, 31 May 2018 03:45:17 +0000</pubDate>
				<category><![CDATA[Gameboy DMG-01 VGA]]></category>
		<guid isPermaLink="false">https://longhornengineer.com/?p=2940</guid>

					<description><![CDATA[I decided to go with the ICD15S13E4GX00LF VGA connector. Was slightly less expensive and had a better mechanical drawing to convert to a footprint.]]></description>
										<content:encoded><![CDATA[<p>I decided to go with the <a href="https://www.mouser.com/datasheet/2/18/c-cd-0012-1365176.pdf" target="_blank" rel="noopener">ICD15S13E4GX00LF</a> VGA connector. Was slightly less expensive and had a better mechanical drawing to convert to a footprint.</p>
<figure id="attachment_2941" aria-describedby="caption-attachment-2941" style="width: 800px" class="wp-caption aligncenter"><a href="https://longhornengineer.com/wp-content/uploads/ICD15S13E4GX00LF.png"><img fetchpriority="high" decoding="async" class="wp-image-2941 size-medium" src="https://longhornengineer.com/wp-content/uploads/ICD15S13E4GX00LF-800x384.png" alt="" width="800" height="384" srcset="https://longhornengineer.com/wp-content/uploads/ICD15S13E4GX00LF-800x384.png 800w, https://longhornengineer.com/wp-content/uploads/ICD15S13E4GX00LF-150x72.png 150w, https://longhornengineer.com/wp-content/uploads/ICD15S13E4GX00LF-768x369.png 768w, https://longhornengineer.com/wp-content/uploads/ICD15S13E4GX00LF-1024x491.png 1024w, https://longhornengineer.com/wp-content/uploads/ICD15S13E4GX00LF.png 1440w" sizes="(max-width: 800px) 100vw, 800px" /></a><figcaption id="caption-attachment-2941" class="wp-caption-text">ICD15S13E4GX00LF Footprint</figcaption></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>DGN and Gameboy Update</title>
		<link>https://longhornengineer.com/2018/05/23/dgn-and-gameboy-update/</link>
		
		<dc:creator><![CDATA[Parker]]></dc:creator>
		<pubDate>Thu, 24 May 2018 03:57:15 +0000</pubDate>
				<category><![CDATA[Gameboy DMG-01 VGA]]></category>
		<guid isPermaLink="false">https://longhornengineer.com/?p=2926</guid>

					<description><![CDATA[This is something I recorded with Stephen Kraig (Co-host of the MacroFab Engineering Podcast) back in September 2016. We never made it public till now! Drunken Gaming Night! It is silly and I have no idea where Stephen and I will take the channel but it is fun to do. Things to finish on the &#8230; <a href="https://longhornengineer.com/2018/05/23/dgn-and-gameboy-update/" class="more-link">Continue reading <span class="screen-reader-text">DGN and Gameboy Update</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>This is something I recorded with Stephen Kraig (Co-host of the MacroFab Engineering Podcast) back in September 2016. We never made it public till now! <a href="https://www.youtube.com/channel/UC6U6U88lEmyT1Rp69OVgr8w">Drunken Gaming Night</a>! It is silly and I have no idea where Stephen and I will take the channel but it is fun to do.</p>
<p>Things to finish on the Gameboy VGA Design</p>
<ul>
<li>Pick a VGA connector
<ul>
<li>Leaning towards <a href="https://www.mouser.com/datasheet/2/18/amphenol_LxxxHD-brochure-1157058.pdf" target="_blank" rel="noopener">L717HDEH15POL2</a></li>
</ul>
</li>
<li>3.3V TTL -&gt; Analog VGA signal
<ul>
<li>Resistor ladder seems to be the best way to do this</li>
<li>Current development board uses 4bit VGA with 500Ω, 1kΩ, 2kΩ, and 4kΩ resistors</li>
</ul>
</li>
<li>Serial Terminal
<ul>
<li>FT230X -&gt; USB</li>
</ul>
</li>
<li>Designing a flat flex cable
<ul>
<li>Solder one end to the FPGA PCB</li>
<li>One end fits into the FCC connector on the Gameboy</li>
</ul>
</li>
</ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>DMG VGA Mod Voltage Level Shifter Section</title>
		<link>https://longhornengineer.com/2018/05/16/dmg-vga-mod-voltage-level-shifter-section/</link>
		
		<dc:creator><![CDATA[Parker]]></dc:creator>
		<pubDate>Thu, 17 May 2018 04:09:53 +0000</pubDate>
				<category><![CDATA[Gameboy DMG-01 VGA]]></category>
		<guid isPermaLink="false">https://longhornengineer.com/?p=2922</guid>

					<description><![CDATA[The DMG-01 Gameboy runs off all 5V logic and the FPGA I will be using (Cyclone 4 Altera) runs off 3.3V I/O. Conversion is needed to prevent frying the FPGA. I have used the TI part SN74LVC8T245 in the past with other FPGA projects and on the proof of concept VGA mod with the DE0 &#8230; <a href="https://longhornengineer.com/2018/05/16/dmg-vga-mod-voltage-level-shifter-section/" class="more-link">Continue reading <span class="screen-reader-text">DMG VGA Mod Voltage Level Shifter Section</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>The DMG-01 Gameboy runs off all 5V logic and the FPGA I will be using (Cyclone 4 Altera) runs off 3.3V I/O. Conversion is needed to prevent frying the FPGA. I have used the TI part SN74LVC8T245 in the past with other FPGA projects and on the proof of concept VGA mod with the DE0 dev board. </p>
<p>The SN74LVC8T245&#8217;s output enable is active low so I pulled it high with a 10K resistor. This way the convertor is disabled till the FPGA can control the IC. Direction is set by default to be 5V -> 3.3V conversion with a 10K pull down. </p>
<p>I am also going to pull in the state of the buttons on the Gameboy. I hope to be able to have different modes that the FPGA can perform. Resolution changes and the like. Eventually I will design it so that FPGA can also drive the screen but that will probably be a future hardware revision. </p>
<p><a href="https://longhornengineer.com/wp-content/uploads/layoutlevelconversiondmgvga.png"><img decoding="async" src="https://longhornengineer.com/wp-content/uploads/layoutlevelconversiondmgvga-800x425.png" alt="" width="800" height="425" class="aligncenter size-medium wp-image-2923" srcset="https://longhornengineer.com/wp-content/uploads/layoutlevelconversiondmgvga-800x425.png 800w, https://longhornengineer.com/wp-content/uploads/layoutlevelconversiondmgvga-150x80.png 150w, https://longhornengineer.com/wp-content/uploads/layoutlevelconversiondmgvga-768x408.png 768w, https://longhornengineer.com/wp-content/uploads/layoutlevelconversiondmgvga-1024x544.png 1024w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Oh boy, here we go posting again</title>
		<link>https://longhornengineer.com/2018/05/14/oh-boy-here-we-go-posting-again/</link>
		
		<dc:creator><![CDATA[Parker]]></dc:creator>
		<pubDate>Tue, 15 May 2018 04:55:54 +0000</pubDate>
				<category><![CDATA[Gameboy DMG-01 VGA]]></category>
		<guid isPermaLink="false">https://longhornengineer.com/?p=2901</guid>

					<description><![CDATA[Instead of trying to have an excuse of why I have not been posting here. Well go check out MacroFab. It is the company I co-founded a bit over 4 years ago now. I also am the co-host of the MEP or MacroFab Engineering Podcast. It is a weekly electronics podcast and we are currently &#8230; <a href="https://longhornengineer.com/2018/05/14/oh-boy-here-we-go-posting-again/" class="more-link">Continue reading <span class="screen-reader-text">Oh boy, here we go posting again</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Instead of trying to have an excuse of why I have not been posting here. Well go check out <a href="https://macrofab.com/" rel="noopener" target="_blank">MacroFab</a>. It is the company I co-founded a bit over 4 years ago now. I also am the co-host of the MEP or <a href="https://macrofab.com/blog/podcast/" rel="noopener" target="_blank">MacroFab Engineering Podcast</a>. It is a weekly electronics podcast and we are currently on episode 119&#8230;and we have not missed a single week!</p>
<p>I have been doing side projects for fun but I have just been very bad about posting them here. Typically they just go to my twitter account and I talk about them on the podcast. I will be putting more effort into posting here. </p>
<p>With that out of the way&#8230; Current plan is to just look at my past incomplete projects and either finish them or kill them off. Starting with the FPGA Gameboy project. First order of business is to start making some dedicated hardware for the Gameboy. To quicken the development process I am going to lift the FPGA design block from the ChromaColor project. The FPGA is an older Cyclone 4 module (EP4CE6E22C8N) but it should do the trick and is still fairly affordable. I would like to move it to a newer platform like a 10M08SCU169C8G.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/schematicep4dba.png"><img decoding="async" src="https://longhornengineer.com/wp-content/uploads/schematicep4dba-800x396.png" alt="" width="800" height="396" class="aligncenter size-medium wp-image-2920" srcset="https://longhornengineer.com/wp-content/uploads/schematicep4dba-800x396.png 800w, https://longhornengineer.com/wp-content/uploads/schematicep4dba-150x74.png 150w, https://longhornengineer.com/wp-content/uploads/schematicep4dba-768x380.png 768w, https://longhornengineer.com/wp-content/uploads/schematicep4dba-1024x507.png 1024w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p><a href="https://longhornengineer.com/wp-content/uploads/layoutep4dba.png"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/layoutep4dba-800x770.png" alt="" width="800" height="770" class="aligncenter size-medium wp-image-2919" srcset="https://longhornengineer.com/wp-content/uploads/layoutep4dba-800x770.png 800w, https://longhornengineer.com/wp-content/uploads/layoutep4dba-150x144.png 150w, https://longhornengineer.com/wp-content/uploads/layoutep4dba-768x739.png 768w, https://longhornengineer.com/wp-content/uploads/layoutep4dba-1024x986.png 1024w, https://longhornengineer.com/wp-content/uploads/layoutep4dba.png 1503w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>More VGA Adapter work.</title>
		<link>https://longhornengineer.com/2015/03/09/more-vga-adapter-work/</link>
		
		<dc:creator><![CDATA[Parker]]></dc:creator>
		<pubDate>Mon, 09 Mar 2015 15:32:38 +0000</pubDate>
				<category><![CDATA[Gameboy DMG-01 VGA]]></category>
		<guid isPermaLink="false">https://longhornengineer.com/?p=2806</guid>

					<description><![CDATA[I have some seemingly random video glitches to iron out but it is much better then previously. I will probably need to recode my capture routine as a state engine to make further advancements.]]></description>
										<content:encoded><![CDATA[<p><a href="https://longhornengineer.com/wp-content/uploads/DSC3766.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3766-800x533.jpg" alt="SONY DSC" width="800" height="533" class="aligncenter size-medium wp-image-2805" srcset="https://longhornengineer.com/wp-content/uploads/DSC3766-800x533.jpg 800w, https://longhornengineer.com/wp-content/uploads/DSC3766-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3766-1024x682.jpg 1024w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p><a href="https://longhornengineer.com/wp-content/uploads/DSC3765.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3765-800x533.jpg" alt="SONY DSC" width="800" height="533" class="aligncenter size-medium wp-image-2804" srcset="https://longhornengineer.com/wp-content/uploads/DSC3765-800x533.jpg 800w, https://longhornengineer.com/wp-content/uploads/DSC3765-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3765-1024x682.jpg 1024w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>I have some seemingly random video glitches to iron out but it is much better then previously. I will probably need to recode my capture routine as a state engine to make further advancements. </p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Gameboy DMG-01 VGA Adapter Something?!</title>
		<link>https://longhornengineer.com/2015/03/04/gameboy-dmg-01-vga-adapter-something/</link>
		
		<dc:creator><![CDATA[Parker]]></dc:creator>
		<pubDate>Thu, 05 Mar 2015 03:59:01 +0000</pubDate>
				<category><![CDATA[Gameboy DMG-01 VGA]]></category>
		<guid isPermaLink="false">https://longhornengineer.com/?p=2798</guid>

					<description><![CDATA[Have some screen tearing and the capture code is a mess but its progress! Edit//: More work. Fixed inverted colors.]]></description>
										<content:encoded><![CDATA[<p><a href="https://longhornengineer.com/wp-content/uploads/DSC3762.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3762-800x533.jpg" alt="SONY DSC" width="800" height="533" class="aligncenter size-medium wp-image-2797" srcset="https://longhornengineer.com/wp-content/uploads/DSC3762-800x533.jpg 800w, https://longhornengineer.com/wp-content/uploads/DSC3762-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3762-1024x682.jpg 1024w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>Have some screen tearing and the capture code is a mess but its progress! </p>
<p>Edit//: More work. Fixed inverted colors. </p>
<p><a href="https://longhornengineer.com/wp-content/uploads/DSC3764.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3764-800x533.jpg" alt="SONY DSC" width="800" height="533" class="aligncenter size-medium wp-image-2800" srcset="https://longhornengineer.com/wp-content/uploads/DSC3764-800x533.jpg 800w, https://longhornengineer.com/wp-content/uploads/DSC3764-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3764-1024x682.jpg 1024w, https://longhornengineer.com/wp-content/uploads/DSC3764.jpg 1200w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Gameboy DMG-01 VGA Adapter Level Shifter Test</title>
		<link>https://longhornengineer.com/2015/03/04/gameboy-dmg-01-vga-adapter-level-shifter-test/</link>
		
		<dc:creator><![CDATA[Parker]]></dc:creator>
		<pubDate>Wed, 04 Mar 2015 06:13:16 +0000</pubDate>
				<category><![CDATA[Gameboy DMG-01 VGA]]></category>
		<guid isPermaLink="false">https://longhornengineer.com/?p=2794</guid>

					<description><![CDATA[Currently the Gameboy LCD sniffer verilog code is just pulling data from the LCD bus without worrying about the clocks and putting it into the display ram. Basically just testing the level shifters. They work! Should be able to bang out the rest of the code tomorrow.]]></description>
										<content:encoded><![CDATA[<p>Currently the Gameboy LCD sniffer verilog code is just pulling data from the LCD bus without worrying about the clocks and putting it into the display ram. Basically just testing the level shifters. They work! Should be able to bang out the rest of the code tomorrow. </p>
<p><a href="https://longhornengineer.com/wp-content/uploads/DSC3760.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3760-800x533.jpg" alt="SONY DSC" width="800" height="533" class="aligncenter size-medium wp-image-2793" srcset="https://longhornengineer.com/wp-content/uploads/DSC3760-800x533.jpg 800w, https://longhornengineer.com/wp-content/uploads/DSC3760-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3760-1024x682.jpg 1024w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Gameboy DMG-01 VGA Adapter</title>
		<link>https://longhornengineer.com/2015/03/02/gameboy-dmg-01-vga-adapter/</link>
		
		<dc:creator><![CDATA[Parker]]></dc:creator>
		<pubDate>Tue, 03 Mar 2015 05:39:39 +0000</pubDate>
				<category><![CDATA[Gameboy DMG-01 VGA]]></category>
		<guid isPermaLink="false">https://longhornengineer.com/?p=2789</guid>

					<description><![CDATA[This is the project that the DE0 Digital IO Wing is for. I will use the IO wing to level shift the signals from the Gameboy&#8217;s LCD screen so my DE0 can capture the data. The Gameboy is a 5V device and the DE0 does not have 5V tolerant IO. I am using a SN74LVC8T245PWR &#8230; <a href="https://longhornengineer.com/2015/03/02/gameboy-dmg-01-vga-adapter/" class="more-link">Continue reading <span class="screen-reader-text">Gameboy DMG-01 VGA Adapter</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>This is the project that the <a href="https://longhornengineer.com/category/projects/hardware/de0-digital-io-wing-expansion/">DE0 Digital IO Wing</a> is for. I will use the IO wing to level shift the signals from the Gameboy&#8217;s LCD screen so my DE0 can capture the data. The Gameboy is a 5V device and the DE0 does not have 5V tolerant IO. I am using a <a href="http://www.ti.com/lit/ds/symlink/sn74lvc8t245.pdf">SN74LVC8T245PWR</a> 8-bit directional level shifter to do the translation on the IO wing board.</p>
<figure id="attachment_2697" aria-describedby="caption-attachment-2697" style="width: 569px" class="wp-caption aligncenter"><a href="https://longhornengineer.com/wp-content/uploads/DSC3704.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3704-569x378.jpg" alt="Gameboy DMG-01" class="size-medium wp-image-2697" width="569" height="378" srcset="https://longhornengineer.com/wp-content/uploads/DSC3704-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/DSC3704-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3704-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/DSC3704-451x300.jpg 451w, https://longhornengineer.com/wp-content/uploads/DSC3704.jpg 1280w" sizes="(max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-2697" class="wp-caption-text">Gameboy DMG-01.</figcaption></figure>
<p>Purchased a Gameboy DMG-01 off eBay for $20. Needed some cleaning but it worked and had the battery cover!</p>
<figure id="attachment_2698" aria-describedby="caption-attachment-2698" style="width: 569px" class="wp-caption aligncenter"><a href="https://longhornengineer.com/wp-content/uploads/DSC3705.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3705-569x378.jpg" alt="Taking apart the Gameboy DMG-01." class="size-medium wp-image-2698" width="569" height="378" srcset="https://longhornengineer.com/wp-content/uploads/DSC3705-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/DSC3705-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3705-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/DSC3705-451x300.jpg 451w, https://longhornengineer.com/wp-content/uploads/DSC3705.jpg 1280w" sizes="(max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-2698" class="wp-caption-text">Taking apart the Gameboy DMG-01.</figcaption></figure>
<p>The Gameboy DMG-01 uses triwing screws. Kidna like philips heads but with 3 &#8220;wings&#8221; instead of 4. Tool can be found on eBay or Amazon.</p>
<figure id="attachment_2700" aria-describedby="caption-attachment-2700" style="width: 569px" class="wp-caption aligncenter"><a href="https://longhornengineer.com/wp-content/uploads/DSC3707.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3707-569x378.jpg" alt="Front board and LCD connector for the Gameboy DMG-01." class="size-medium wp-image-2700" width="569" height="378" srcset="https://longhornengineer.com/wp-content/uploads/DSC3707-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/DSC3707-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3707-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/DSC3707-451x300.jpg 451w, https://longhornengineer.com/wp-content/uploads/DSC3707.jpg 1280w" sizes="(max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-2700" class="wp-caption-text">Front board and LCD connector for the Gameboy DMG-01.</figcaption></figure>
<p>The connector between the front and back of the Gameboy is where I will tap into the signals to sneak a peak. Pinout is the following</p>
<p>Pin 12 – V-Sync<br />
Pin 14 – Pixel Clock<br />
Pin 15 – LCD Data 0<br />
Pin 16 – LCD Data 1<br />
Pin 17 – H-Sync<br />
Pin 21 – Ground</p>
<p>V-Sync should be 60Hz, Pixel Clock 4Mhz, and H-Sync 9.2kHz.</p>
<figure id="attachment_2695" aria-describedby="caption-attachment-2695" style="width: 569px" class="wp-caption aligncenter"><a href="https://longhornengineer.com/wp-content/uploads/DSC3708.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3708-569x378.jpg" alt="Wires to sniff the connector." class="size-medium wp-image-2695" width="569" height="378" srcset="https://longhornengineer.com/wp-content/uploads/DSC3708-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/DSC3708-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3708-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/DSC3708-451x300.jpg 451w, https://longhornengineer.com/wp-content/uploads/DSC3708.jpg 1280w" sizes="(max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-2695" class="wp-caption-text">Wires to sniff the connector.</figcaption></figure>
<figure id="attachment_2696" aria-describedby="caption-attachment-2696" style="width: 569px" class="wp-caption aligncenter"><a href="https://longhornengineer.com/wp-content/uploads/DSC3709.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3709-569x378.jpg" alt="Open Bench Logic Sniffer connected to Gameboy DMG-01." class="size-medium wp-image-2696" width="569" height="378" srcset="https://longhornengineer.com/wp-content/uploads/DSC3709-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/DSC3709-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3709-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/DSC3709-451x300.jpg 451w, https://longhornengineer.com/wp-content/uploads/DSC3709.jpg 1280w" sizes="(max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-2696" class="wp-caption-text">Open Bench Logic Sniffer connected to Gameboy DMG-01.</figcaption></figure>
<p>Connected up the Open Bench Logic Sniffer and powered up the Gameboy with a game in it then ran the capture. I had the trigger set to wait for the V-Sync signal.</p>
<figure id="attachment_2687" aria-describedby="caption-attachment-2687" style="width: 569px" class="wp-caption aligncenter"><a href="https://longhornengineer.com/wp-content/uploads/Entire-Frame.png"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/Entire-Frame-569x268.png" alt="Entire V-Sync frame. Hard to see much detail. " class="size-medium wp-image-2687" width="569" height="268" srcset="https://longhornengineer.com/wp-content/uploads/Entire-Frame-569x268.png 569w, https://longhornengineer.com/wp-content/uploads/Entire-Frame-150x71.png 150w, https://longhornengineer.com/wp-content/uploads/Entire-Frame-500x236.png 500w, https://longhornengineer.com/wp-content/uploads/Entire-Frame.png 983w" sizes="(max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-2687" class="wp-caption-text">Entire V-Sync frame. Hard to see much detail.</figcaption></figure>
<figure id="attachment_2709" aria-describedby="caption-attachment-2709" style="width: 569px" class="wp-caption aligncenter"><a href="https://longhornengineer.com/wp-content/uploads/GB_Buffer_FRAME.png"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/GB_Buffer_FRAME-569x262.png" alt="Frame zoomed in a bit to see the individual horizontal lines." class="size-medium wp-image-2709" width="569" height="262" srcset="https://longhornengineer.com/wp-content/uploads/GB_Buffer_FRAME-569x262.png 569w, https://longhornengineer.com/wp-content/uploads/GB_Buffer_FRAME-150x69.png 150w, https://longhornengineer.com/wp-content/uploads/GB_Buffer_FRAME-1024x471.png 1024w, https://longhornengineer.com/wp-content/uploads/GB_Buffer_FRAME-500x230.png 500w, https://longhornengineer.com/wp-content/uploads/GB_Buffer_FRAME.png 1341w" sizes="(max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-2709" class="wp-caption-text">Frame zoomed in a bit to see the individual horizontal lines.</figcaption></figure>
<figure id="attachment_2688" aria-describedby="caption-attachment-2688" style="width: 569px" class="wp-caption aligncenter"><a href="https://longhornengineer.com/wp-content/uploads/Hoz-Frame.png"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/Hoz-Frame-569x259.png" alt="Complete horizontal frame.  " class="size-medium wp-image-2688" width="569" height="259" srcset="https://longhornengineer.com/wp-content/uploads/Hoz-Frame-569x259.png 569w, https://longhornengineer.com/wp-content/uploads/Hoz-Frame-150x68.png 150w, https://longhornengineer.com/wp-content/uploads/Hoz-Frame-500x228.png 500w, https://longhornengineer.com/wp-content/uploads/Hoz-Frame.png 983w" sizes="(max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-2688" class="wp-caption-text">Complete horizontal frame.</figcaption></figure>
<p>Then using my DE0_VGA_Driver I started writing the code take data from RAM on the FPGA and output it on the VGA monitor. I wrote a bitmap to .mif format (memory initialization file) convertor to display some Gameboy screenshots on the VGA Monitor. Link to that repo is <a href="https://github.com/LonghornEngineer/img2mif">here</a>.</p>
<figure id="attachment_2711" aria-describedby="caption-attachment-2711" style="width: 569px" class="wp-caption aligncenter"><a href="https://longhornengineer.com/wp-content/uploads/DSC3725.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3725-569x379.jpg" alt="Gameboy DMG-01 screenshot displayed from DE0 FPGA RAM. Simulating original Gameboy &quot;yellow-green&quot; pallet. " class="size-medium wp-image-2711" width="569" height="379" srcset="https://longhornengineer.com/wp-content/uploads/DSC3725-569x379.jpg 569w, https://longhornengineer.com/wp-content/uploads/DSC3725-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3725-1024x682.jpg 1024w, https://longhornengineer.com/wp-content/uploads/DSC3725-451x300.jpg 451w" sizes="(max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-2711" class="wp-caption-text">Gameboy DMG-01 screenshot displayed from DE0 FPGA RAM. Simulating original Gameboy &#8220;yellow-green&#8221; pallet.</figcaption></figure>
<figure id="attachment_2712" aria-describedby="caption-attachment-2712" style="width: 569px" class="wp-caption aligncenter"><a href="https://longhornengineer.com/wp-content/uploads/DSC3726.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/DSC3726-569x379.jpg" alt="Gameboy DMG-01 screenshot displayed from DE0 FPGA RAM. Using B/W color scheme. " class="size-medium wp-image-2712" width="569" height="379" srcset="https://longhornengineer.com/wp-content/uploads/DSC3726-569x379.jpg 569w, https://longhornengineer.com/wp-content/uploads/DSC3726-150x100.jpg 150w, https://longhornengineer.com/wp-content/uploads/DSC3726-1024x682.jpg 1024w, https://longhornengineer.com/wp-content/uploads/DSC3726-451x300.jpg 451w" sizes="(max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-2712" class="wp-caption-text">Gameboy DMG-01 screenshot displayed from DE0 FPGA RAM. Using B/W color scheme.</figcaption></figure>
<p>Currently working on getting the SN74LVC8T245PWR level shifters working and I will be able to pull live data from the Gameboy LCD data bus.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>DE0 VGA Driver</title>
		<link>https://longhornengineer.com/2015/01/19/de0-vga-driver/</link>
		
		<dc:creator><![CDATA[Parker]]></dc:creator>
		<pubDate>Mon, 19 Jan 2015 06:12:29 +0000</pubDate>
				<category><![CDATA[Gameboy DMG-01 VGA]]></category>
		<category><![CDATA[HW/SW Hacks]]></category>
		<guid isPermaLink="false">https://longhornengineer.com/?p=2683</guid>

					<description><![CDATA[Working on a video driver for the Altera DE0 Development Board by terasIC. The DE0 has a 12bit (4bit per color) resistor ladder DAC that connects to the VGA connector. It is capable of 1280&#215;1024 @ 60Hz officially but I think more is possible. Find the files in the github repository.]]></description>
										<content:encoded><![CDATA[<p>Working on a video driver for the <a href="http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&amp;No=364">Altera DE0 Development Board by terasIC</a>. The DE0 has a 12bit (4bit per color) resistor ladder DAC that connects to the VGA connector. It is capable of 1280&#215;1024 @ 60Hz officially but I think more is possible.</p>
<p>Find the files in the <a href="https://github.com/LonghornEngineer/DE0_Drivers/tree/master/DE0_VGA">github repository</a>.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/eRoXlKA.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/eRoXlKA-1024x768.jpg" alt="eRoXlKA" class="aligncenter size-large wp-image-2684" width="584" height="438" srcset="https://longhornengineer.com/wp-content/uploads/eRoXlKA.jpg 1024w, https://longhornengineer.com/wp-content/uploads/eRoXlKA-150x113.jpg 150w, https://longhornengineer.com/wp-content/uploads/eRoXlKA-569x427.jpg 569w, https://longhornengineer.com/wp-content/uploads/eRoXlKA-400x300.jpg 400w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
