<?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>Lallafa's Blog &#187; VICE on Mac</title>
	<atom:link href="http://lallafa.de/blog/category/vice/vice-on-mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://lallafa.de/blog</link>
	<description>Personal Musings about the Commodore64, Macs and my other Hobby Projects</description>
	<lastBuildDate>Sat, 14 Jan 2012 21:28:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>What I&#8217;ve done lately&#8230;</title>
		<link>http://lallafa.de/blog/2011/06/what-ive-done-lately/</link>
		<comments>http://lallafa.de/blog/2011/06/what-ive-done-lately/#comments</comments>
		<pubDate>Sun, 05 Jun 2011 17:30:59 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[Commodore 64]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[My Site]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[VICE]]></category>
		<category><![CDATA[VICE on Mac]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/?p=260</guid>
		<description><![CDATA[<p>So many month passed by and no update here&#8230; I wasn&#8217;t lazy (at least not all the time and so I&#8217;ll give you a short summary what retro projects I&#8217;ve been involved with lately:</p> DiskFreeezerX &#8211; My pet project that aims to build a standalone disk capture device&#8230; Should come very handy for partys or <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2011/06/what-ive-done-lately/">What I&#8217;ve done lately&#8230;</a></span>]]></description>
			<content:encoded><![CDATA[<p>So many month passed by and no update here&#8230; I wasn&#8217;t lazy (at least not all the time <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  and so I&#8217;ll give you a short summary what retro projects I&#8217;ve been involved with lately:</p>
<ul>
<li><a title="DiskFreezerX" href="http://lallafa.de/blog/diskfreezerx/">DiskFreeezerX</a> &#8211; My pet project that aims to build a standalone disk capture device&#8230; Should come very handy for partys or meeting people that don&#8217;t want to leave their precious disks&#8230; Take the device with you, slip in a disk, press a button and some time later you have a shiny exact clone of the disk on your SD card&#8230; That&#8217;s the goal!<br />
The current state here is: The device is built and functional as a prototype and as a first Rev A PCB&#8230; See my shiny new <a title="dfx Hardware" href="http://lallafa.de/blog/diskfreezerx/dfx-hardware/">dfx hardware</a> page for all the glory details and lots of photos&#8230;<br />
<a href="http://lallafa.de/blog/wp-content/uploads/2011/06/dfx-board1.jpg"><img class="aligncenter size-medium wp-image-226" title="dfx-board1" src="http://lallafa.de/blog/wp-content/uploads/2011/06/dfx-board1-300x150.jpg" alt="" width="300" height="150" /></a></li>
<li><a title="MacVICE" href="http://lallafa.de/blog/macvice/">MacVICE</a> &#8211; Not much own contribs done here lately. But always following the flow of new features and busy building current snapshots. And before I forget it: With MagerValp&#8217;s help I finally fixed the dreaded &#8220;black-screen&#8221; display problem when the fine blended display is enabled&#8230; So enjoy temporal filtering with no more black outs!</li>
<li><a href="https://github.com/GnoStiC/PUAE">PUAE</a> &#8211; I am really happy that GnoStiC is now bringing together the current WinUAE and the already dated E-UAE code base to create finally a greate Amiga emualator for all *nix, Linux and Mac users&#8230; I really appreciate that and help by submitting small patches. I&#8217;ve created my own little fork/clone of the repository at GitHub: You can check this out if you want to have a look what I am patching lately: <a href="https://github.com/cnvogelg/PUAE">PUAE/cnvogelg</a></li>
<li><a href="https://www.gitorious.org/amitools/amitools">amitools</a> &#8211; Another little crazy project started by me. Its a python library that allows you to read and parse Amiga&#8217;s Hunk-based binary format. With all the memory on the good ol&#8217; times fading away and with UAE refreshing my old desire for the Amiga I wrote this lib to refresh and to store the old knowledge in readable python code. Currently, there is not much docs there. But a real hacker will find his/her way&#8230; I wrote a small sample that scans your harddrive for amiga files (even in adf, lha containers) and tries to parse the exe with the lib&#8230; The lib got a new push with the introduction of the <a href="http://en.wikibooks.org/wiki/Aros/Platforms/68k_support">AROS m68k Port</a> (yay!!).. This port uses a decent gcc compiler to generate m68k-elf binaries. So I added ELF parsing to amitools. The only thing still missing is now the converter elf to hunk and back again in python (similar to <a href="http://www.evillabs.net/wiki/index.php/AROS_m68k-amiga">elf2hunk</a>)&#8230;</li>
</ul>
<p>That&#8217;s it! See you soon with more updates&#8230;</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flallafa.de%2Fblog%2F2011%2F06%2Fwhat-ive-done-lately%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2011/06/what-ive-done-lately/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MacVICE News: Introducing IO Tree</title>
		<link>http://lallafa.de/blog/2010/11/macvice-news-introducing-io-tree/</link>
		<comments>http://lallafa.de/blog/2010/11/macvice-news-introducing-io-tree/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 12:37:44 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[Commodore 64]]></category>
		<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[VICE]]></category>
		<category><![CDATA[VICE on Mac]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/?p=170</guid>
		<description><![CDATA[<p>While the last added debugging features to MacVICE are all well-known and mostly ported from WinVICE this one is a new and currently mac-only debugging feature: The IO Tree. &#8220;What&#8217;s this?&#8221;, you might ask.</p> <p>The IO Tree is actually an anotated dump of the memory-mapped IO registers from your beloved cbm platform. All is packed <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2010/11/macvice-news-introducing-io-tree/">MacVICE News: Introducing IO Tree</a></span>]]></description>
			<content:encoded><![CDATA[<p>While the last added debugging features to MacVICE are all well-known and mostly ported from WinVICE this one is a new and currently <em>mac-only debugging feature</em>: The IO Tree. &#8220;What&#8217;s this?&#8221;, you might ask.</p>
<p>The IO Tree is actually an anotated dump of the memory-mapped IO registers from your beloved cbm platform. All is packed into a GUI Tree to make it hierarchical and let you control the vast amount of information that is kept there. But IO Tree is not only a register dump with descriptions, it also allows to combine and format the register values to make most sense and to reflect the actual function they represent. So the IO Tree can combine LO-/HI-Addr registers to show a 16 Bit address, can mask out a bit flag and show its state, maps a masked value set to a set of string descriptions or even do very special things like decoding VIC II color values&#8230;</p>
<p>The nice thing about the IO Tree is, that it is actually not stored in the MacVICE binary but in a text PList called <strong>IOTree.plist</strong>. This allows to extend the tree with new custom registers for every user. Currently, I have typed in all VIC II, SID, CIA 1, CIA 2 and 6510 On-Chip registers right out of <a href="http://unusedino.de/ec64/technical/aay/c64/">AYY64</a> (Thanks Ninja/The Dreams for this great resource!). If you find errors or have something to add then drop me a comment&#8230; Currently the syntax of the plist is not documented but simply have a look at the existing tree and you&#8217;ll find out how it works&#8230;</p>
<p>If you want to try out IO Tree then have a look at the latest MacVICE snapshot (at least revision 23154 is required). While waiting for its upload/download enjoy a screenshot:</p>
<p><a href="http://lallafa.de/blog/wp-content/uploads/2010/11/macvice_iotree.png"><img class="aligncenter size-full wp-image-171" title="macvice_iotree" src="http://lallafa.de/blog/wp-content/uploads/2010/11/macvice_iotree.png" alt="" width="596" height="579" /></a></p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flallafa.de%2Fblog%2F2010%2F11%2Fmacvice-news-introducing-io-tree%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2010/11/macvice-news-introducing-io-tree/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MacVICE News: New Debug Windows</title>
		<link>http://lallafa.de/blog/2010/11/macvice-news-new-debug-windows/</link>
		<comments>http://lallafa.de/blog/2010/11/macvice-news-new-debug-windows/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 12:03:50 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[Commodore 64]]></category>
		<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[VICE]]></category>
		<category><![CDATA[VICE on Mac]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/?p=162</guid>
		<description><![CDATA[<p>I am currently working on extending MacVICE with some fancy debugging features. Users of WinVICE already know the memory, register and disassemlby windows that exist besides the monitor view.</p> <p>I adopted all of these window types with a slight make-it-the-mac-way style attached My debug windows are tied to the main or drive CPU and need <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2010/11/macvice-news-new-debug-windows/">MacVICE News: New Debug Windows</a></span>]]></description>
			<content:encoded><![CDATA[<p>I am currently working on extending MacVICE with some fancy debugging features. Users of WinVICE already know the memory, register and disassemlby windows that exist besides the monitor view.</p>
<p>I adopted all of these window types with a slight make-it-the-mac-way style attached <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  My debug windows are tied to the main or drive CPU and need no switching. Currently, only the CPU windows are available.</p>
<p>The windows are available in the current MacVICE snapshots:</p>
<p style="text-align: center;"><a href="http://lallafa.de/blog/wp-content/uploads/2010/11/macvice_disas.png"><img class="size-medium wp-image-163 aligncenter" title="macvice_disas" src="http://lallafa.de/blog/wp-content/uploads/2010/11/macvice_disas-215x300.png" alt="" width="215" height="300" /></a><a href="http://lallafa.de/blog/wp-content/uploads/2010/11/macvice_mem.png"><img class="aligncenter size-medium wp-image-164" title="macvice_mem" src="http://lallafa.de/blog/wp-content/uploads/2010/11/macvice_mem-300x173.png" alt="" width="300" height="173" /></a><a href="http://lallafa.de/blog/wp-content/uploads/2010/11/macvice_reg.png"><img class="aligncenter size-full wp-image-165" title="macvice_reg" src="http://lallafa.de/blog/wp-content/uploads/2010/11/macvice_reg.png" alt="" width="192" height="223" /></a></p>
<p>I hope you like them&#8230;</p>
<p>BTW: If you don&#8217;t find this feature have a look in the &#8220;Window/Debugger Windows&#8221; menu <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flallafa.de%2Fblog%2F2010%2F11%2Fmacvice-news-new-debug-windows%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2010/11/macvice-news-new-debug-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacVICE on Twitter</title>
		<link>http://lallafa.de/blog/2009/06/macvice-on-twitter/</link>
		<comments>http://lallafa.de/blog/2009/06/macvice-on-twitter/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 10:36:59 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[VICE on Mac]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/?p=101</guid>
		<description><![CDATA[<p>I always searched for an elegant (i.e. automatic and scriptable ) way for announcing freshly compiled VICE snapshots. Now with the emerging hype of twitter I tried this out and with TTYtter it was easily integrated into my build scripts&#8230;</p> <p>So follow me on macvice @ twitter to get the latest updates on freshly build <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2009/06/macvice-on-twitter/">MacVICE on Twitter</a></span>]]></description>
			<content:encoded><![CDATA[<p>I always searched for an elegant (i.e. automatic and scriptable <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) way for announcing freshly compiled VICE snapshots. Now with the emerging hype of twitter I tried this out and with <a href="http://www.floodgap.com/software/ttytter">TTYtter</a> it was easily integrated into my build scripts&#8230;</p>
<p>So follow me on <a href="http://www.twitter.com/macvice">macvice @ twitter</a> to get the latest updates on freshly build MacVICE versions&#8230;</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flallafa.de%2Fblog%2F2009%2F06%2Fmacvice-on-twitter%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2009/06/macvice-on-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>doremac.com online!</title>
		<link>http://lallafa.de/blog/2008/02/doremaccom-online/</link>
		<comments>http://lallafa.de/blog/2008/02/doremaccom-online/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 17:52:18 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[Commodore 64]]></category>
		<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[VICE on Mac]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/index.php/2008/02/16/doremaccom-online/</guid>
		<description><![CDATA[<p></p> <p>After thinkcommodore.com finally shut down its business, it was a sad time for Mac + Commodore fans without having a forum to discuss. Now the wait is over: a new site hit the ground: doremac.com. The site has a forum with strong focus on Commodore computing done by Mac users. Starting from data transfer <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2008/02/doremaccom-online/">doremac.com online!</a></span>]]></description>
			<content:encoded><![CDATA[<p><img src="http://mac.condor.serverpro3.com/Themes/default/images/doremac_logo.jpg"></p>
<p>After thinkcommodore.com finally shut down its business, it was a sad time for Mac + Commodore fans without having a forum to discuss. Now the wait is over: a new site hit the ground: <a href="http://www.doremac.com"><b>doremac.com</b></a>. The site has a forum with strong focus on Commodore computing done by Mac users. Starting from data transfer connection issues to CBM emulators on the Mac you can find everything there. Head over and check it out!</p>
<p>Grasstust, the site maintainer, was kind enough to add a <a href="http://mac.condor.serverpro3.com/index.php?topic=19.0">MacVICE Forum Thread</a>. So all MacVICE related stuff including bug fixes and user support can be discussed there. </p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flallafa.de%2Fblog%2F2008%2F02%2Fdoremaccom-online%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2008/02/doremaccom-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VICE and VICEplus Leopard fix</title>
		<link>http://lallafa.de/blog/2007/11/vice-and-viceplus-leopard-fix/</link>
		<comments>http://lallafa.de/blog/2007/11/vice-and-viceplus-leopard-fix/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 16:27:31 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[VICE]]></category>
		<category><![CDATA[VICE on Mac]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/index.php/2007/11/10/vice-and-viceplus-leopard-fix/</guid>
		<description><![CDATA[<p>Unfortunately, the new MacOS X 10.5 (Leopard) does not run the release binaries of VICE 1.22 and VICEplus 1.0 anymore.</p> <p>Some debugging revealed three issues:</p> The X11.app startup has greatly simplified and does not need open-x11 (which by the way does not exist any more) to determine a valid DISPLAY value. Now MacOS X already <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2007/11/vice-and-viceplus-leopard-fix/">VICE and VICEplus Leopard fix</a></span>]]></description>
			<content:encoded><![CDATA[<p>Unfortunately, the new MacOS X 10.5 (Leopard) does not run the release binaries of VICE 1.22 and VICEplus 1.0 anymore.</p>
<p>Some debugging revealed three issues:</p>
<ul>
<li>The <strong>X11.app startup</strong> has greatly simplified and does not need open-x11 (which by the way does not exist any more) to determine a valid DISPLAY value. Now MacOS X already defines a valid DISPLAY that automatically launches the X11 server. This needed a minor modification to the VICE launch scripts.</li>
<li>A really nasty bug in the <strong>CoreAudio sound driver</strong> now crashes the application. The bug existed for a long time but was never discovered since previous versions of MacOS X simply tolerated the wrong API call. Now Leopard is more picky and simply crashes. A small fix in the audio driver fixes this problem.</li>
<li>Finally, Apple updated the <strong>autoconf build tools</strong> and thus the build files needed minor modifications. Additionally, /bin/sh now seems to point to a real sh and since some scripts require /bin/bash they need to be changed to call the right shell.</li>
</ul>
<p>I fixed these issues and now VICE and VICEplus run on Leopard, too. The fix is already applied to the current development versions of both branches. </p>
<p>For your convenience I also recompiled the current version with the patch applied:</p>
<ul>
<li><a href="http://lallafa.de/files/vice/1.22-leofix/">VICE 1.22 Mac + Leopard Fix</a></li>
<li><a href="http://lallafa.de/files/viceplus/1.0-leofix/">VICEplus 1.0 Mac + Leopard Fix<a/></li>
</ul>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flallafa.de%2Fblog%2F2007%2F11%2Fvice-and-viceplus-leopard-fix%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2007/11/vice-and-viceplus-leopard-fix/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Project State Update</title>
		<link>http://lallafa.de/blog/2007/07/project-state-update/</link>
		<comments>http://lallafa.de/blog/2007/07/project-state-update/#comments</comments>
		<pubDate>Sat, 21 Jul 2007 15:41:51 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[Commodore 64]]></category>
		<category><![CDATA[VICE]]></category>
		<category><![CDATA[VICE on Mac]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/?p=38</guid>
		<description><![CDATA[<p>This post summarizes the state of the Projects I am currently involved in:</p> VICE: Cocoa Port is progressing well. Core already finished. DiskImagery64: Almost no time lately. Moved to SF.net OpenCBM: Joined development to support Mac port <p></p> VICE Cocoa Port <p>During the spare time of almost half an year, I integrated the VICE Mac <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2007/07/project-state-update/">Project State Update</a></span>]]></description>
			<content:encoded><![CDATA[<p>This post summarizes the state of the Projects I am currently involved in:</p>
<ul>
<li><strong>VICE</strong>: Cocoa Port is progressing well. Core already finished.</li>
<li><strong>DiskImagery64</strong>: Almost no time lately. Moved to SF.net</li>
<li><strong>OpenCBM</strong>: Joined development to support Mac port</li>
</ul>
<p><span id="more-38"></span></p>
<h3>VICE Cocoa Port</h3>
<p>During the spare time of almost half an year, I integrated the VICE Mac Cocoa Port that was written by Michael Klein into the current official code base. Ok, integration itself was not the main effort, I also changed some core features: The port is now fully <strong>multi-threaded</strong> and uses Cocoa&#8217;s distributed objects approach to handle the synchronization across threads. The emulated machine runs in one thread and the other one displays the virtual viewport, handles user input and all other UI elements. With this approach no UI interaction (i.e. dialog, menu) blocks the emulation.</p>
<p>Another quite big change to Michael&#8217;s port is found in the UI: Michael used the menu-based UI of the X11 port where each setting of the emulator is represented in a single menu entry. This leads to very large and deep menus that are not very usable IMHO. So I had a look at other VICE ports and found that the win port is very confortable to use. There the most common settings are found in a short menu and all other settings are embedded into dialogs. I wanted this kind of <strong>dialog-based UI</strong> for Macs, too and started this new approach. Dialogs are easily created with the Interface Builder of Apple&#8217;s DevKit and so I started to integrate all UI elements with this elegant tool. Currently, I finished the menu bar UI for the x64 emulator and created dialogs for the drive and joystick settings. All other dialogs are still missing and will be added one after the other&#8230;</p>
<p>I also reworked the whole code base to fit in the new structure seperated by machine code for the machine thread and UI code for the UI thread.</p>
<p>The following cool features were already available in Michael&#8217;s port and are of course still available:</p>
<ul>
<li><strong>OpenGL Rendering</strong>: The viewport is rendered with OpenGL and is thus very fast and scales automatically to any size.</li>
<li><strong>Fullscreen</strong> is available. Menu bar stays visible so you still can access the options and settings.</li>
<li><strong>Peripheral Drawer</strong>: A Drawer on the left side of the emulation window shows all available drives and tapes and gives their current state.</li>
<li><strong>Drag &#038; Drop</strong> is supported in the emulation window to smart attach any kind of image or program file. You can also drag &#038; drop onto the peripheral drawer to mount an image in a specific drive</li>
</ul>
<p>I just submitted a patch for inclusion into the official source tree. It contains the multi-threaded emulation core that is now used in all VICE emulators of this port. It implements the required basic UI interface for all emulations. What&#8217;s still missing are the menu bar UI files for all emulators except the x64 and a lot of setting dialogs. Only the large drive and useful joystick settings dialog are already finished. This missing parts are now added step by step and maybe with the help of other developers to speed things up&#8230;</p>
<p>For now only x64 runs well and already provides the features mentioned above. In this stage of development its time to include some <strong>beta testers</strong> that help to test the core on a wide range of machines and find the numerous bugs that are surely there&#8230; I will start to compile and release binaries for the small group of beta testers. If you are interested in helping out then just drop me a mail and I will add you to the list and give further instructions&#8230;.</p>
<h3>Diskimagery64</h3>
<p>Due to the huge amount of time the Cocoa port of VICE currently consumes of my spare time, there was almost no time left for my other pet project: DI64. The only major thing I did was to move the whole code base to <strong>SourceForge</strong>. This allows to use their infrastructe (e.g. SVN repository, ticket system, bug tracking) to simplify the development of such an open-source project. You can reach it at: <a href="http://sourceforge.net/projects/diskimagery64">http://sourceforge.net/projects/diskimagery64</a>. There you will find instructions on how to check out the source from the SVN repository&#8230;</p>
<h3>OpenCBM</h3>
<p>Yes, this is a new one <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Recently I played around with the XU1541 USB cable to connect my MBP directly to a 1541 floppy. With the help of the <a title="OpenCBM SF Page" href="http://sourceforge.net/projects/opencbm">OpenCBM</a> software you can then transfer files easily from retro media to your current machine. I added some patches to the current CVS Tree to compile and use OpenCBM on a Mac. The maintainer ask me if I&#8217;d like to join the development to keep the Mac port up to date.. And so I got another retro project with Mac connection <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Currently, I am helping out to get the CVS version to compile cleanly on Macs (just use the Linux Makefiles &#8211; they support the Mac, too). Later on I&#8217;d like to integrate the OpenCBM Mac Library into my other projects: MacVICE and DiskImagery64. VICE already can access a real floppy via OpenCBM &#8211; I will have a look what needs to be done to add it to the Mac port. DiskImagery64 will have a new I/O device for disk image import and export: the XU1541&#8230;. So stay tuned&#8230; interesting projects are coming up <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>PS: Today I moved to a new Blog system. Namely the database of my WordPress was moved from a SQLite one to a MySQL DB. I hope everything works now as expected&#8230; If not then just drop me a mail. Thanks!</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flallafa.de%2Fblog%2F2007%2F07%2Fproject-state-update%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2007/07/project-state-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s new in VICE 1.21 for Macs</title>
		<link>http://lallafa.de/blog/2007/03/whats-new-in-vice-121-for-macs/</link>
		<comments>http://lallafa.de/blog/2007/03/whats-new-in-vice-121-for-macs/#comments</comments>
		<pubDate>Sat, 17 Mar 2007 10:31:22 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[Commodore 64]]></category>
		<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[VICE]]></category>
		<category><![CDATA[VICE on Mac]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/??p=21</guid>
		<description><![CDATA[<p>On 10th of march the newest version of VICE was released to the public. As your fellow Mac port maintainer I&#8217;ll give you a short summary what&#8217;s new in this version from an Apple Fan&#8217;s point of view&#8230; </p> First of all Mac VICE is now available in two flavors: The well-known X11 with Athena <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2007/03/whats-new-in-vice-121-for-macs/">What&#8217;s new in VICE 1.21 for Macs</a></span>]]></description>
			<content:encoded><![CDATA[<p>On 10th of march the newest version of VICE was released to the public. As your fellow Mac port maintainer I&#8217;ll give you a short summary what&#8217;s new in this version from an Apple Fan&#8217;s point of view&#8230;<br />
<span id="more-21"></span></p>
<ul>
<li>
First of all Mac VICE is now available in two flavors: The well-known <strong>X11 with Athena Widgets</strong> user interface and starting with this version, a <strong>Gtk Widgets on X11</strong> user interface is available, too. The <a href="http://www.gtk.org/">Gtk Library</a> provides a nicer user interface build upon X11 and is already used in well known applications like <a href="http://www.gimp.org">The Gimp</a> or the <a href="www.gnome.org">The Gnome Desktop</a>. Compared to the Athena widgets the GUI is much more confortable with a menu bar and simple to use UI elements. Unfortunately, the Gtk are no system libs on Macs so I had to pack them into the VICE application bundles. This results in a quite large VICE.app bundle and distribution. So decide yourself: either a small bundle or a comfortable user interface.
</li>
<li>
All VICE emulators are now packed into a single application bundle, called a <strong>Smart Bundle</strong>. Why smart, you may ask.. Well, If you click on the bundle a small selection dialog will pop up and allows to select which emulator to run&#8230; That&#8217;s ok if you often switch the emulator. If you prefer the old VICE apps with an own bundle for each emulator you may find the selector cumbersome. Now with a smart bundle you can simply copy or move the VICE.app and rename it like one of the emulators and from then on the named emulator will launch immediately. That&#8217;s what I call smart <img src='http://lallafa.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  The smart bundle allows me to distribute a single (with gtk: large) application bundle and I do not need to duplicate all libs for each emulator bundle.
</li>
<li>
The 1.21 also uses a new <strong>starter script</strong> for X11 and GTK+ that embeds <a href="http://www.sveinbjorn.org/platypus">Platypus</a> as an application launcher. I integrated it to add some kind of drag and drop starting of disk images. It works quite well but is not as comfortable as native d&#8217;n'd as it only works on startup of the VICE emulator.
</li>
<li>A <strong>tools directory</strong> is available with all command line versions of the emulators found there. Just add this to your PATH and call x64, x128&#8230; directly from inside your shell in Terminal.app with all console output redirected there. Very useful for command line users and for debugging or working with the montior.
</li>
<li><strong>FFMPEG multimedia support</strong> is compiled in for Macs. This allows you to record sounds directly from the emulation and store them in popular formats (MP3, AIF, WAV&#8230;). Also AVI recording with MP4 video and MP3 sound is available for recording live captures of the emulator (always assumed your Mac is fast enough&#8230;
</li>
<li>I improved the <strong>TFE (final ethernet) emulation</strong> in VICE and compiled it in for Macs. Now you can emulate a network adapter connected to your virtual C64 by attaching it to a real network interface on the Mac. Have a look at the ReadmeOSX.txt for more details and enjoy internet-aware APPs on your C64. Unfortunately, the Airport network interface of portable Macs is not working in this release, but I am working on it&#8230;
</li>
<p>
That&#8217;s it for this release! I hope you enjoy it!</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flallafa.de%2Fblog%2F2007%2F03%2Fwhats-new-in-vice-121-for-macs%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2007/03/whats-new-in-vice-121-for-macs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New MacVice X11/Gtk+ Bundles</title>
		<link>http://lallafa.de/blog/2006/12/new-macvice-x11gtk-bundles/</link>
		<comments>http://lallafa.de/blog/2006/12/new-macvice-x11gtk-bundles/#comments</comments>
		<pubDate>Sun, 10 Dec 2006 21:20:19 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[VICE on Mac]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/??p=14</guid>
		<description><![CDATA[<p>Today I finished a larger patch for the Mac port of VICE that overhauls the bundling process.</p> <p>The major changes are:</p> Support of both X11 and Gtk+ Builds A single application bundle contains all emulators. The application bundle is &#8220;smart&#8221; Command Line Usage is greatly improved <p></p> X11 and Gtk+ UI <p> The first notable <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2006/12/new-macvice-x11gtk-bundles/">New MacVice X11/Gtk+ Bundles</a></span>]]></description>
			<content:encoded><![CDATA[<p>Today I finished a larger patch for the Mac port of VICE that overhauls the bundling process.</p>
<p>The major changes are:</p>
<ul>
<li>Support of both X11 and Gtk+ Builds</li>
<li>A single application bundle contains all emulators.</li>
<li>The application bundle is &#8220;smart&#8221;</li>
<li>Command Line Usage is greatly improved</li>
</ul>
<p><span id="more-14"></span></p>
<h3>X11 and Gtk+ UI</h3>
<p>
The first notable difference in the new build is the support of both X11 and Gtk+ versions. Both are now built with the distributed source scripts and will be available as official binaries in the next release. The X11 release is smaller (8MB vs. 28MB gtk) and suitable for users that only need the emulation window and can live with the spartanic UI. The gtk+ is larger as all required libs are embedded and provides a much nicer UI with pull-down menus. This version will be more suitable for beginners.
</p>
<p>
Building GTK+ is required if you want to build your own version of VICE. This build process is quite complex. To simplify this, the VICE distribution will contain helper scripts that can build all the required external libraries out of the source archives. Simply grab the source tarballs and run the script. A few minutes/hours later and you have all the required libs (including cross-arch versions if you build a universal-binary version of VICE). Builder scripts are also available for the other external libs that are required for joystick (HID Utils) and networking support.
</p>
<h3>VICE.app</h3>
<p>From now on the VICE distribution contains only a singe application bundle called <b>VICE.app</b>. &#8220;Oh, where are the nice emulator application bundles!&#8221; you might say. They were removed because they are too large, but the VICE.app is &#8220;smart&#8221; and can emulate the old bundles.
</p>
<p>
Hows that? In the old release 1.20 each emualator had its own bundle. Thats nice for launching but it took quite a lot space in the distribution bundle, because each emulator needed some common ROMs and other stuff like docs in the bundle. The situation got really worse for the Gtk+ version as for this one the bundle needs to contain all Gtk+ libs. Cloning this bundle for each emulator led to a 250 MB distribution with mostly duplicated lib data&#8230;
</p>
<p>
The new VICE.app now contains all emulators and opens a small dialog to select the emulator you want to launch if you click on its icon. Thats a cumbersome process if you want to quickly launch the same emulator again and again. Thats the reason why I made the bundle &#8220;smart&#8221;. This means the application bundle checks its current name and if its named after an emulator (e.g. &#8220;x64&#8243;) then it will launch this emulator directly without showing the menu. Nice, eh? So to emulate the old emulator bundles simply copy the small distribution bundle with VICE.app to your hard disk and the clone copy VICE.app for each emulator you want to access directly. Make sure each copy has the exact emulator name (e.g. x64.app), otherwise it won&#8217;t work!
</p>
<h3>Comand Line Usage Improved</h3>
<p>
Power users of VICE (including myself) often launch an emulator from the command line and pass options there. In the old 1.20 release it was possible to directly launch the VICE emulator binaries from inside the application bundles. Thats not very convenient as the launch path inside the bundle is usually not in your shell&#8217;s PATH. Furthermore the console output of VICE was always written to a fresh xterm and not to your current shell&#8217;s console. Both issues are now fixed. The latter one is already described in my last post. So lets focus on the first one:
</p>
<p>
The new bundles contain a tools directory. There all command line applications are found. In 1.20 only cartconv and c1541 were placed there. Now a new <b>vice-launcher.sh</b> script and links with the names of all emulators are placed there, too. You can now simply add the tools directory to your shell&#8217;s PATH variable and you have all emulators ready for launch! If you call an emulator (e.g. x64) this way then the vice-launcher.sh script is executed with $0 set to the emulator. Now the magic takes place: the script searches the VICE.app bundle in the parent directory of the tools directory. If its found then the corresponding emulator binary inside the bundle is launched with the given command line options. In between the x11-launcher.sh is used to correctly set up X11 from any terminal. You can still move the distribution directory around and everything works well. You only have to make sure that the VICE.app bundle is placed in the same directory where the tools directory is found.</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flallafa.de%2Fblog%2F2006%2F12%2Fnew-macvice-x11gtk-bundles%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2006/12/new-macvice-x11gtk-bundles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New X11 Launcher for MacVICE</title>
		<link>http://lallafa.de/blog/2006/11/new-x11-launcher-for-macvice/</link>
		<comments>http://lallafa.de/blog/2006/11/new-x11-launcher-for-macvice/#comments</comments>
		<pubDate>Sat, 11 Nov 2006 10:47:12 +0000</pubDate>
		<dc:creator>lallafa</dc:creator>
				<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[VICE]]></category>
		<category><![CDATA[VICE on Mac]]></category>

		<guid isPermaLink="false">http://lallafa.de/blog/??p=13</guid>
		<description><![CDATA[<p>VICE on Macs is currently an application bundle that launches X11 and the X11 version of VICE. I added a new launcher script for the next VICE release that allows to drop files on the app icon. Each dropped file is autostarted when opening the emulator. Furthermore, you can run the launcher from the command <span style="color:#777"> . . . &#8594; Read More: <a href="http://lallafa.de/blog/2006/11/new-x11-launcher-for-macvice/">New X11 Launcher for MacVICE</a></span>]]></description>
			<content:encoded><![CDATA[<p>VICE on Macs is currently an application bundle that launches X11 and the X11 version of VICE. I added a new launcher script for the next VICE release that allows to drop files on the app icon. Each dropped file is autostarted when opening the emulator. Furthermore, you can run the launcher from the command line in your terminal and pass arbitrary arguments. In this case, no xterm for VICE input/output is opened but the terminal is used.</p>
<p/>
<span id="more-13"></span></p>
<p>Recently, I found a really nice tool for Macs called <a href="http://www.sveinbjorn.org/platypus">Platypus</a>. This tool can package a script in an application bundle. A click on the bundle runs the scripts and even passes the dropped files as arguments to the script. Thats the feature, I was missing in VICE so I started to integrate this new packager.
</p>
<p>In the current VICE release, two scripts are used to launch VICE: the first one is a shell script that calls <strong>open-x11</strong> to launch the X11 server and then executes the second script in the X11 context (i.e. a DISPLAY variable is defined). The second one now runs an xterm for VICE input and output and the xterm finally runs the VICE binary. Puh! A lot of stuff to run the emulator and not very well suited for Platypus integration. Furthermore, calling the first script on the command line would run VICE but its output is always in an external window and not on the console. Also any arguments passed to the first script were not propagated to VICE.</p>
<p>Looking at other Applications that launch X11 apps, I found the launcher of <a href="http://gimp-app.sourceforge.net/">Gimp-App</a> very interesting: There a single script is used (with Platypus) to fire up X11 and launch the application. Inspired by this work I created a new <strong>x11-launcher.sh</strong> that does VICE startup in a single script.</p>
<p>This script also sets up a temporary <strong>.xinitrc</strong> for the user if none is available. This startup file does not open an unwanted XTerm as the default does.</p>
<p>The launcher now determines in which context it was called and changes its behaviour accordingly: If called on the command line then no xterm is opened and VICE is started with output on the console. Additionally, all arguments are passed directly to VICE. If called by Platypus then the arguments are the dropped files and the script creates -autostart arguments for VICE.</p>
<p>I adapted the <strong>make bindist</strong> distribution build process to use Platypus on default if its installed on the build system. You can pass <strong>NO_PLATYPUS=1</strong> if you don&#8217;t want to use the packager. Then the launcher script is installed directly in the application bundle. This works like the current launcher: no file drops are possible. The command line features work for both distribution types.</p>
<p>Another nice side effect of the new launcher in a single script is the fact, that the VICE application icon will stay in the dock and not disappear after startup&#8230;</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flallafa.de%2Fblog%2F2006%2F11%2Fnew-x11-launcher-for-macvice%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://lallafa.de/blog/2006/11/new-x11-launcher-for-macvice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

