<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>OSX 10.7 Lion crashing?</title>
		<link>http://www.allegro.cc/forums/view/607882</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 23 Jul 2011 10:56:02 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>A quick search doesn&#39;t bring up anything - I tried running one of my old games</p><p><a href="http://www.increpare.com/2008/12/rara-racer/">http://www.increpare.com/2008/12/rara-racer/</a></p><p>which was done in allegro 4.3, and get a crash in:</p><p>0   liballeg-4.3.dylib            	0x00219aa9 _linear_clear_to_color32 + 105</p><p>anyway, I wonder if there&#39;s any easy workaround for this or, if not, if there&#39;s any more recent version that&#39;s confirmed to work in lion?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (increpare)</author>
		<pubDate>Thu, 21 Jul 2011 02:12:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Did they drop QuickDraw in Lion? It&#39;s been deprecated for a while. If so, Allegro 4.* programs will not work.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Thu, 21 Jul 2011 02:45:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>according to somewhere on the internet ( <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=661636">https://bugzilla.mozilla.org/show_bug.cgi?id=661636</a> )</p><p>&quot;Most QuickDraw header files have disappeared from OS X 10.7, and from the OS X 10.7 SDK. &quot;</p><p>Guess that answers that.  Hmm.  Will be a pain, but can probably port most the games to something newer.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (increpare)</author>
		<pubDate>Thu, 21 Jul 2011 02:51:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/607882/925296#target">increpare</a> said:</div><div class="quote"><p>A quick search doesn&#39;t bring up anything</p></div></div><p>
What did you expect? Lion has only been released today. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p>Anyway, apart from that, I guess that&#39;s it as far as Allegro 4 is concerned. Allegro 5 should be fine though, but it&#39;d be great if someone could try it out and report any issues they run into.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Thu, 21 Jul 2011 05:51:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Elias downloaded it and I paused my download most of the way through so I could do some stuff in Windows. I&#39;ll be trying it with my game in the next few days for sure since I&#39;m doing a release.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Thu, 21 Jul 2011 05:53:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/607882/925319#target">Trent Gamblin</a> said:</div><div class="quote"><p> I paused my download most of the way through so I could do some stuff in Windows.</p></div></div><p>Must... resist... urge... to sig!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 21 Jul 2011 05:55:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It should still work even if the headers are missing.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Thu, 21 Jul 2011 06:16:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Unless the headers missing is a sign of other things missing.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Thu, 21 Jul 2011 06:20:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><b>Possibly</b> the same problem that SDL 1.2 has (doesn&#39;t work in fullscreen software mode).  From ( <a href="http://forums.libsdl.org/viewtopic.php?p=29146#29146">http://forums.libsdl.org/viewtopic.php?p=29146#29146</a> ) :</p><p>&quot;<br />CGDisplayBaseAddress() has been deprecated in 10.6 and while it still exists on 10.7, it now returns NULL instead of the display&#39;s base address. SDL_SetVideoMode() ends up calling a number of deprecated CG functions via the Quartz implementation including CGDisplayBaseAddress(). It is SDL_SetVideoMode()&#39;s call to SDL_ClearSurface() that actually causes the crash when it tries to clear the frame buffer memory at address zero.</p><p>A new set of APIs has been added as of 10.6 and while they let you capture a display, they do not allow direct frame buffer access. Quartz or OpenGL are the only methods that can update a captured display.<br />&quot;</p><p>can&#39;t find any fixes for it based on a google about, and the associated bug in sdl&#39;s bug tracker ( <a href="http://bugzilla.libsdl.org/show_bug.cgi?id=1215">http://bugzilla.libsdl.org/show_bug.cgi?id=1215</a> ) hasn&#39;t been fixed.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (increpare)</author>
		<pubDate>Thu, 21 Jul 2011 11:48:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/607882/925345#target">increpare</a> said:</div><div class="quote"><p> A new set of APIs has been added as of 10.6 and while they let you capture a display, they do not allow direct frame buffer access. Quartz or OpenGL are the only methods that can update a captured display.</p></div></div><p>I was under the impression that very few if any video cards now have cpu addressable video memory.  OpenGL allows you to upload a block of system memory to video, but that&#39;s different, the driver tells the card to fetch it.</p><p>[EDIT]</p><p>On second thought, that was rather stupid of me to say cards don&#39;t have any cpu addressable memory, as the computer BIOS has to use VGA mode 3 or similar.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 21 Jul 2011 11:52:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>this breaks zsnes on 10.7 as well.  Quickdraw still works partially, just can&#39;t be in full screen.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mike Farrell)</author>
		<pubDate>Sat, 23 Jul 2011 04:35:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m not familiar with the intricacies of OSX updates (or rendering on the Mac for that matter!), but for what it&#39;s worth, this is an issue of great importance to me too.</p><p>Sorry, but what should I expect here? Is this the sort of thing Apple will fix in a future update? Or does that depend on community response? And if not, will a workaround in Allegro 4.x be feasible? I get the impression they&#39;re phasing out software rendering altogether, but again, not exactly an expert on the subject here. <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" /></p><p>It&#39;s just frustrating, since Allegro applications have run flawlessly and consistently on all my Windows machines the last decade. Consequently, I&#39;ve put a lot of work into an Allegro-bound framework with which I was THIS close to attempting to deploy to Mac for the first time. (A matter of days, I swear!)</p><p><b>TL;DR:</b> $%@#&amp;, I hope this gets fixed! <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Brandon McCartin)</author>
		<pubDate>Sat, 23 Jul 2011 06:45:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/607882/925574#target">Brandon McCartin</a> said:</div><div class="quote"><p>Is this the sort of thing Apple will fix in a future update?</p></div></div><p>
No.<br />The API has been deprecated for a very long time, and they&#39;re now finally removing support for it. They will not reverse that.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>And if not, will a workaround in Allegro 4.x be feasible?</p></div></div><p>
Not very likely, unless someone is willing to invest the time and energy in updating Allegro 4.</p><p>This has been a long time coming, and for me was one of the initial reasons to switch to using Allegro 5.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sat, 23 Jul 2011 07:56:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/607882/925574#target">Brandon McCartin</a> said:</div><div class="quote"><p> It&#39;s just frustrating, since Allegro applications have run flawlessly and consistently on all my Windows machines the last decade
</p></div></div><p>There are problems with Windows Vista / 7 too, although those can mostly be worked around. And the ones that cannot, probably could be fixed without too much trouble... at least for now.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Sat, 23 Jul 2011 07:59:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><b>@Evert:</b> Ah, just as I feared. And &quot;updating Allegro 4&quot; in this case would mean a full-scale conversion to hardware rendering, I assume. Ugh. <img src="http://www.allegro.cc/forums/smileys/cry.gif" alt=":&#39;(" /></p><p><b>@Matthew:</b> There are? I&#39;m on Win 7 64bit now (previously Vista on a laptop), but I guess I&#39;m simply not accessing these components? Either way, it&#39;s nothing on the level of not being able to draw to the screen! I hope that ominous &quot;at least for now&quot; doesn&#39;t mean you&#39;ve heard something about this happening... have you? <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" /></p><p>P.S. I finally got &#39;round to checking out A5 a week or so ago. Great stuff! Kudos to everyone involved. Quick to set up, worked fine, and I for one dig the style of function_names.</p><p>Also, the threaded, event-based timing is SUCH an improvement. However, browsing through the (Windows) source, I didn&#39;t see it checking QPC against ticks for jumps or setting the thread affinity, but A) I&#39;m not sure I was looking at the development branch to begin with and B) this is getting stupidly off-topic, sorry.</p><p>Anyway, thanks for the quick replies! I never post, but this forum has been my go-to place for programming knowledge, no matter what I&#39;ve been working on/with, for a long time. All the best! <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /></p><p>(Heh, I think the notion of A4 games not working on future systems has got me a bit... sentimental.)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Brandon McCartin)</author>
		<pubDate>Sat, 23 Jul 2011 09:46:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/607882/925583#target">Brandon McCartin</a> said:</div><div class="quote"><p> Either way, it&#39;s nothing on the level of not being able to draw to the screen! </p></div></div><p>But it does. e.g., There are problems with DX windows not updating and 8-bit palettes not working in full screen.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> I hope that ominous &quot;at least for now&quot; doesn&#39;t mean you&#39;ve heard something about this happening... does it?
</p></div></div><p>Nothing specific, no.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Sat, 23 Jul 2011 09:54:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I see... Mostly I use it for retro, pixely-style games, which aren&#39;t typically being rendered in &quot;true&quot; full screen on modern computers, anyway (what with their low resolutions and not-widescreen display ratios). But that is good to know, thanks!</p><p>I guess ultimately what I need to do, if I plan on continuing to make this sorta stuff into the future, is recreate the retro look (with all its quirks) using hardware-accelerated methods. Not terribly difficult, I suppose, but I&#39;m just so <i>lazy.</i> <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p>(Also, a big part of not doing this to begin with was the idea that using 4.x would be &quot;more compatible&quot; or something, which is apparently-and-increasingly untrue! Jeepers.)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Brandon McCartin)</author>
		<pubDate>Sat, 23 Jul 2011 10:56:02 +0000</pubDate>
	</item>
</rss>
