Raspberry Pi 400 |
The Raspberry Pi 400 invokes a sense of nostalgia back to the all-in-one systems of the past, such as those commonly available in the 80's (about 40 years ago!) of having the keyboard and computer all in one, with connections at the back of the enclosure, and expansion at the back of the enclosure.
My favorite system released January 1982 was the Commodore 64.
So why not have both? With emulation, let the Raspberry Pi 400 become a Commodore 64 as well.
Vice 3.5 built, running on Raspian |
One way to do this, is using Vice (the Versatile Commodore emulator). Of course you can use a prepackaged solution like Retropie and Emulation Station. But since it is open source, you can also just download and build the source yourself.
As vice 3.5 was just released Christmas Eve, 2020, it makes a lot of sense to build yourself, so you can have the latest build relatively easily. Just think of all those new features!!!
I've attempted this myself on my Raspberry Pi 400 (and expect should work on others fine too) with Raspian. I've tested with both the latest 32-bit ARM, and beta 64-bit ARM builds.
Following are the steps I took to accomplish building the default configuration. I followed the basic instructions, and when configuration or build failed due to a dependency, researched the dependencies necessary (thanks Google and all those who have built before me and posted their solutions).
Grab yourself your favorite beverage, power up your Pi, and get building! And once you're done, feel free to test my hires.d64 image. Maybe even pick up some keyboard stickers. And also can run Pet, Vic-20, Commodore 128, etc.
Summary
- Install dependency packages
- Download three archives from web: vice 3.5, SDL2, SDL2_image
- extract the archives to their respective directories
- configure, build, and install each iteratively in the order: SDL2, SDL2_image, vice 3.5
- sudo apt-get install flex bison xa65 libgtk2.0-dev texinfo libxxf86vm-dev dos2unix libpulse-dev libasound2-dev
- sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
- http://libsdl.org/download-2.0.php Download SDL2-2.0.14.tar.gz - GPG signed
- cd ~
- tar xvfz ~/Downloads/SDL2-2.0.14.tar.gz
- cd SDL2-2.0.14
- ./configure
- make
- sudo make install
- https://www.libsdl.org/projects/SDL_image/ Download SDL2_image-2.0.5.tar.gz
- cd ~
- tar xvfz ~/Downloads/SDL2_image-2.0.5.tar.gz
- cd SDL2_image-2.0.5
- ./configure
- make
- sudo make install
- https://vice-emu.sourceforge.io/ Download tarball: vice-3.5.tar.gz
- cd ~
- tar xvfz ~/Downloads/vice-3.5.tar.gz
- cd vice-3.5
- ./configure
- make
- sudo make install