Retro computing with a touch of modern and the home for all things, retroCombs (aka Steven Combs).
Disclosure Statement: When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to Amazon, the eBay Partner Network, and/or others.
by Steven B. Combs, Ph.D.
In this post and companion video, I share how to install the XEMU MEGA≡65 emulator, xmega65, on the Clockwork uConsole to create an amazing on-the-go handheld MEGA≡65. We can use this hardware and emulator until the release of the official MEGA≡65 handheld, the MEGAphone.
After playing with my handheld MEGA≡65 for awhile, I’m under the opinion that the MEGA≡65 developers should add the uConsole to their list of supported hardware, create a bare metal version of the XEMU emulator, and call it day. This will get a handheld MEGA≡65 in the hands of more fans immediately!
You can follow every step in the process using the uConsole keyboard; however, I prefer to create an SSH connection to the uConsole and use iTerm on Mac OS to connect and administer the uConsole remotely. I should also mention that these steps work with any Raspberry Pi 3 or greater.
Table of Contents
Check out the supporters page to learn about my amazing supporters and how you can join our community.
Title: Create an Amazing Handheld MEGA65 with the Clockwork uConsole and XEMU
None as of 2023-10-14.
Disclosure Statement: When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations may include, but are not limited to Amazon and the eBay Partner Network.
Before you install the emulator, you must have first completed these general steps:
sudo apt update && sudo apt upgrade
to update Raspian OS.The next step is to download the emulator:
sudo apt install git build-essential libsdl2-dev libgtk-3-dev libreadline-dev
to upgrade and install required tools. You can also copy and past this code.cd ~
.git clone https://github.com/lgblgblgb/xemu.git
.We cannot use a .deb package and must compile the emulator software directly on the uConsole using the steps below:
ls
and you will see a new folder with the name xemu.cd xemu
.Build the software using the command make
. This process will take several minutes. The process relies on the Raspbian Pi CM4’s speed. You may see some errors; however, ignore those. This will build all the emulators. If you only want to build the MEGA≡65 emulator, use these commands instead:
cd targets
ls -l
cd mega65
make
cd ../..
It’s now time to start the emulator.
NOTE: If connected to the uConsole via SSH, disconnect and move back to the uConsole.
build/bin/xmega65.native
to load the xmega65 emulator.After you’ve moved through a bunch of dialog boxes, you will finally be at the “Your emulated MEGA65 seems to work screen.” with an animated background.
Use the instructions below to install the MEGA≡65 ROM into the emulator.
NOTE: I’m an owner of a Dev Kit and a MEGA≡65 and have legal access to the ROM. You don’t have to purchase a MEGA≡65 to get the ROM. You can purchase the C64Forever package, which includes an original Commodore 65 ROM, and then use tools found on the MEGA≡65 FileHost to patch that ROM to the latest version. You can find instructions here.
Use the emulator with your favorite .d81 disk images or develop your own programs in BASIC 65.
In the video, I mention a script and resources I’ve created to add a XEMU xmega65 emulator item to the Raspbian OS menu. You can find more information using the link below:
Raspbian XEMU MEGA≡65 Menu Item Script
Would you like to see more of the MEGA≡65 emulator running on the uConsole? Post a comment below.
Don’t miss the retro-computing fun. SUBSCRIBE to my YouTube channel and check out my other MEGA≡65 posts.
Help make this content better! Leave your comments, corrections, additions, and thoughts in the comments below. You can email me at retrocombs@icloud.com. Thanks for reading and if so inclined, please let others know about the blog using the hashtag #retroCombs.
🕹️ retroCombs, OUT!