Compile VICE under Ubuntu 10.04 (x64)
C64 August 1st, 2010
VICE is an excellent Open Source Commodore C64 emulator. Problem is that the version packaged in the Ubuntu repository is quite old (and buggy as hell under x64). So let’s fix that
First, make sure you have build-essential and libxaw7-dev installed (if not a quick sudo apt-get install build-essential libxaw7-dev will fix that).
Now download the VICE source code from here. Unpack the source and fire up your favorite text editor. We have to fix something
If you try to do a ./configure and make you’ll end up with the following error:
x11video.c:268: warning: function declaration isn’t a prototype x11video.c: In function ‘shmhandler’: x11video.c:348: error: ‘X_ShmAttach’ undeclared (first use in this function) x11video.c:348: error: (Each undeclared identifier is reported only once x11video.c:348: error: for each function it appears in.) make[7]: *** [x11video.o] Error 1 make[7]: *** Waiting for unfinished jobs.... make[7]: Leaving directory `/home/kmandla/Downloads/vice-2.2/src/arch/unix/x11/xaw' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/home/kmandla/Downloads/vice-2.2/src/arch/unix/x11/xaw' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/kmandla/Downloads/vice-2.2/src/arch/unix/x11' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/kmandla/Downloads/vice-2.2/src/arch/unix' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/kmandla/Downloads/vice-2.2/src/arch' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/kmandla/Downloads/vice-2.2/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/kmandla/Downloads/vice-2.2/src' make: *** [all-recursive] Error 1
We’ve to work-around this issue. First, open vice-2.2/src/arch/unix/x11/xaw/x11video.c with you favorite editor. Go to line 348 and replace “X_ShmAttach” with “1″. Save the file.
Now fire up a console and run ./configure. After a few seconds you can do a make and later a sudo make install.
Done
Before you start x64 make sure you have the C64 roms installed (get them from the Windows installation package of VICE and put them into ~/.vice)
Memories
Happy retro hacking!
LNX Archives
C64 June 3rd, 2009
After restoring data from an old DDS tape I came across an interesting file called eldorado.lnx. Eldorado sound interesting but what the hell is a .lnx file? Oh yes, that’s an old archive standard once popular on the good old Commodore C64.
And how can I get the files out of that 20+ years old archive?
Some googling later I found an archiver called starlynx that can decompress lnx archives into files or a D64 image.
What was in the archive? It’s a demo called Eldorado by Origo.
Here is a screenshot of one of the parts.

Multiplexer + Starwars scroller – nice
(D64 download)
Tags: C64, Demo scene, Oldskool

:-)
