<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - Gameboy video output]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/17382/"/>
	<updated>2015-12-28T00:41:01Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/17382/gameboy-video-output/</id>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237860/#p237860"/>
			<content type="html"><![CDATA[<p>✪</p>]]></content>
			<author>
				<name><![CDATA[luftek]]></name>
				<uri>https://chipmusic.org/luftek</uri>
			</author>
			<updated>2015-12-28T00:41:01Z</updated>
			<id>https://chipmusic.org/forums/post/237860/#p237860</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237335/#p237335"/>
			<content type="html"><![CDATA[<p>A little more testing shows that I have better results using pin 17, not 18. I did not get much time to test it today but I plan to scrap my board and put it on a breadboard instead. It will be more clear if I am missing any connections and I will be able to hit swap components to check other values. </p><p>First of all my rc time constant is a problem. I think it is causing the sync problems. Secondly I am afraid I have missed some connections. The board is currently such a mess...</p><p>On my scope vsync looks good, but vsync was really small after after the resistor. Idk if it is a problem with the ic of if I have a short somewhere. Again, I will breadboard it and find out.</p><p>I may also try a previous revision of the circuit to see if a diode on sync helps at all. Typically people use a diode to i next sync to the data but that requires a DC offset which should not be a problem. Simulation showed that the diode method was awfully noisy and introduced high transient spikes on the rising edges of sync. Well see...</p>]]></content>
			<author>
				<name><![CDATA[Jazzmarazz]]></name>
				<uri>https://chipmusic.org/Jazzmarazz</uri>
			</author>
			<updated>2015-12-10T01:00:05Z</updated>
			<id>https://chipmusic.org/forums/post/237335/#p237335</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237280/#p237280"/>
			<content type="html"><![CDATA[<p>Oh, look at that! Data_Latch also goes flat on occasion...I think you said that...? Nevermind. <br />Anyhow, that would makes sense if Horizontal sync poops out. It &#039;may&#039; also explain why my pixels start up again without dropping to the next line. - appearing as a duplicated image.</p><p> Thanks for the tip.</p>]]></content>
			<author>
				<name><![CDATA[Jazzmarazz]]></name>
				<uri>https://chipmusic.org/Jazzmarazz</uri>
			</author>
			<updated>2015-12-09T03:10:12Z</updated>
			<id>https://chipmusic.org/forums/post/237280/#p237280</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237278/#p237278"/>
			<content type="html"><![CDATA[<p>Thanks a lot. Where did you find this thing!? <br />...<br />So data_latch&nbsp; runs at 9.195 KHz just like Hsync but does not occur at the same time... that could definitely cause an offset image. I&#039;ll modify my eagle library and give it a shot tomorrow. I was busy watching X-Files all night and its bed time now. <img src="https://chipmusic.org/forums/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>It looks as though the author &#039;may&#039; be extending the pulse width of both H and V sync signals. I suspected that I may have to do as much but hoped I could find a way around it.</p>]]></content>
			<author>
				<name><![CDATA[Jazzmarazz]]></name>
				<uri>https://chipmusic.org/Jazzmarazz</uri>
			</author>
			<updated>2015-12-09T02:54:21Z</updated>
			<id>https://chipmusic.org/forums/post/237278/#p237278</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237276/#p237276"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Jazzmarazz wrote:</cite><blockquote><p>What pinout are you using? All I can find are documents listing pin 17 as Hsync. I have not tried using pin 18.</p></blockquote></div><p>From a Slovenian masters thesis (you&#039;ll need to click &#039;I agree&#039; to download the PDF):</p><p><a href="http://dk.um.si/Dokument.php?id=69493&amp;lang=eng" target="_blank">http://dk.um.si/Dokument.php?id=69493&amp;lang=eng</a></p><p>on page 26 of 88</p>]]></content>
			<author>
				<name><![CDATA[uXe]]></name>
				<uri>https://chipmusic.org/uXe</uri>
			</author>
			<updated>2015-12-09T02:43:08Z</updated>
			<id>https://chipmusic.org/forums/post/237276/#p237276</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237275/#p237275"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>uXe wrote:</cite><blockquote><div class="quotebox"><cite>Jazzmarazz wrote:</cite><blockquote><p>That is strange. I probably won&#039;t need to fuss with data_Latch until I get a steady image but I appreciate the input.</p></blockquote></div><p>OK, but what I was trying to say is that it looks like you are already using DATA_LATCH (Pin 17) for horizontal sync?</p><p>And you might have more luck using HSYNC (Pin 18) instead?</p></blockquote></div><p>What pinout are you using? All I can find are documents listing pin 17 as Hsync. I have not tried using pin 18.</p>]]></content>
			<author>
				<name><![CDATA[Jazzmarazz]]></name>
				<uri>https://chipmusic.org/Jazzmarazz</uri>
			</author>
			<updated>2015-12-09T02:35:48Z</updated>
			<id>https://chipmusic.org/forums/post/237275/#p237275</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237274/#p237274"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Jazzmarazz wrote:</cite><blockquote><p>That is strange. I probably won&#039;t need to fuss with data_Latch until I get a steady image but I appreciate the input.</p></blockquote></div><p>OK, but what I was trying to say is that it looks like you are already using DATA_LATCH (Pin 17) for horizontal sync?</p><p>And you might have more luck using HSYNC (Pin 18) instead?</p>]]></content>
			<author>
				<name><![CDATA[uXe]]></name>
				<uri>https://chipmusic.org/uXe</uri>
			</author>
			<updated>2015-12-09T02:23:39Z</updated>
			<id>https://chipmusic.org/forums/post/237274/#p237274</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237270/#p237270"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Jazzmarazz wrote:</cite><blockquote><p>That is strange. I probably won&#039;t need to fuss with data_Latch until I get a steady image but I appreciate the input. Do you know if the pixel data remains at its value between that &quot;short delay&quot; or does it return to blank (00)? I assume I will find a stripe down the left side of the screen once I get a steady image?</p></blockquote></div><p>Apparently it is to do with the shift register for the LCD only having 159 stages - you&#039;ll find more detail at the bottom of this page:</p><p><a href="http://blog.kevtris.org/blogfiles/Nitty%20Gritty%20Gameboy%20VRAM%20Timing.txt" target="_blank">http://blog.kevtris.org/blogfiles/Nitty &#133; Timing.txt</a></p><p>I can&#039;t speak to the state of the GameBoy&#039;s DATA lines during DATA_LATCH as I&#039;ve only looked at this from the perspective of controlling the lines independently of the GameBoy CPU for my <a href="http://chipmusic.org/forums/topic/16971/arduboy-classic/" target="_blank">Arduboy Classic</a> project.</p>]]></content>
			<author>
				<name><![CDATA[uXe]]></name>
				<uri>https://chipmusic.org/uXe</uri>
			</author>
			<updated>2015-12-09T01:39:10Z</updated>
			<id>https://chipmusic.org/forums/post/237270/#p237270</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237267/#p237267"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>uXe wrote:</cite><blockquote><div class="quotebox"><cite>Jazzmarazz wrote:</cite><blockquote><p><a class="postimg" href="http://i.imgur.com/7QzvIOll.png" title="http://i.imgur.com/7QzvIOll.png" id="forum_image_37756622"><img src="http://i.imgur.com/7QzvIOll.png" /></a></p></blockquote></div><p>AWESOME WORK! <img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>A couple of points that may or may not help:</p><p>HSYNC is on pin 18 (occurs at the same time as VSYNC). Pin 17 is DATA_LATCH (does not occur at the same time as VSYNC).</p><p>The first pixel for each row is clocked out while DATA_LATCH is high, and then there is a short delay before the remaining 159 pixels in that row are clocked out.</p></blockquote></div><p>That is strange. I probably won&#039;t need to fuss with data_Latch until I get a steady image but I appreciate the input. Do you know if the pixel data remains at its value between that &quot;short delay&quot; or does it return to blank (00)? I assume I will find a stripe down the left side of the screen once I get a steady image?</p>]]></content>
			<author>
				<name><![CDATA[Jazzmarazz]]></name>
				<uri>https://chipmusic.org/Jazzmarazz</uri>
			</author>
			<updated>2015-12-09T01:21:27Z</updated>
			<id>https://chipmusic.org/forums/post/237267/#p237267</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237265/#p237265"/>
			<content type="html"><![CDATA[<p>I need this.</p>]]></content>
			<author>
				<name><![CDATA[bitjacker]]></name>
				<uri>https://chipmusic.org/bitjacker</uri>
			</author>
			<updated>2015-12-09T01:12:26Z</updated>
			<id>https://chipmusic.org/forums/post/237265/#p237265</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237263/#p237263"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Jazzmarazz wrote:</cite><blockquote><p><a class="postimg" href="http://i.imgur.com/7QzvIOll.png" title="http://i.imgur.com/7QzvIOll.png" id="forum_image_61304271"><img src="http://i.imgur.com/7QzvIOll.png" /></a></p></blockquote></div><p>AWESOME WORK! <img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>A couple of points that may or may not help:</p><p>HSYNC is on pin 18 (occurs at the same time as VSYNC). Pin 17 is DATA_LATCH (does not occur at the same time as VSYNC).</p><p>The first pixel for each row is clocked out while DATA_LATCH is high, and then there is a short delay before the remaining 159 pixels in that row are clocked out.</p>]]></content>
			<author>
				<name><![CDATA[uXe]]></name>
				<uri>https://chipmusic.org/uXe</uri>
			</author>
			<updated>2015-12-09T01:03:51Z</updated>
			<id>https://chipmusic.org/forums/post/237263/#p237263</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237207/#p237207"/>
			<content type="html"><![CDATA[<p>Great work!</p>]]></content>
			<author>
				<name><![CDATA[catskull]]></name>
				<uri>https://chipmusic.org/catskull</uri>
			</author>
			<updated>2015-12-08T03:33:13Z</updated>
			<id>https://chipmusic.org/forums/post/237207/#p237207</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237206/#p237206"/>
			<content type="html"><![CDATA[<p>bump. crappy video added. </p><p>goodnight</p>]]></content>
			<author>
				<name><![CDATA[Jazzmarazz]]></name>
				<uri>https://chipmusic.org/Jazzmarazz</uri>
			</author>
			<updated>2015-12-08T03:29:11Z</updated>
			<id>https://chipmusic.org/forums/post/237206/#p237206</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237194/#p237194"/>
			<content type="html"><![CDATA[<p>the future is now</p>]]></content>
			<author>
				<name><![CDATA[powersupply]]></name>
				<uri>https://chipmusic.org/powersupply</uri>
			</author>
			<updated>2015-12-07T20:48:36Z</updated>
			<id>https://chipmusic.org/forums/post/237194/#p237194</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Gameboy video output]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237192/#p237192"/>
			<content type="html"><![CDATA[<p>Oh boy oh boy oh boy! Mail is waiting at home!</p>]]></content>
			<author>
				<name><![CDATA[Jazzmarazz]]></name>
				<uri>https://chipmusic.org/Jazzmarazz</uri>
			</author>
			<updated>2015-12-07T20:40:33Z</updated>
			<id>https://chipmusic.org/forums/post/237192/#p237192</id>
		</entry>
</feed>
