0
guidol

tutorial [Info] compiling SDL2 "Commander X16" Emulator on armbian Desktop

Recommended Posts

Maybe someone here knows the 8-Bit Guy and the project of his Dream-Computer - the Commander X16 ;)

 

You could see the actual state of the real hardware at YT-Video from the 8-Bit Guy:

(Building my Dream Computer - Part 2)
https://www.youtube.com/watch?v=sg-6Cjzzg8s

 

Since the hardware isnt ready/completed yet there is a Emulator which uses SDL2 and can be compiled now (since r30)

also on Linux ARM ;)

 

Github-page of the emulator:
https://github.com/commanderx16/x16-emulator
https://github.com/commanderx16/x16-emulator/releases

Source:
https://github.com/commanderx16/x16-emulator/archive/r30.zip
or
https://github.com/commanderx16/x16-emulator/archive/r30.tar.gz


Linux-Binary for PC including the 2 ROMs:
https://github.com/commanderx16/x16-emulator/releases/download/r30/x16emu_linux-r30.zip

libsdl2-dev hasnt to be compiled from source for armbian, because we have already a installable package :)

and the runtime libsdl2-2.0-0 is already installed in the desktop image.

 

For compiling the Emulator I used on my NanoPi K1 Plus a fresh compiled (with armbian-build-system) dev-image:

Armbian_5.97_Nanopik1plus_Debian_buster_dev_5.3.0-rc8_desktop

 

For to have all programs for compiling the application I did use 

sudo apt install gcc git make libsdl2-dev zip unzip -y

 

Then we do create a directory and download the source and extract it:

mkdir x16
cd x16
wget https://github.com/commanderx16/x16-emulator/archive/r30.tar.gz
tar -xvf r30.tar.gz

 

Now we change in the newly created directory and do compile with make:

cd x16-emulator-r30/
make

 

For running the emulator we do need the 2 ROMs chargen.bin and rom.bin out of the archive

https://github.com/commanderx16/x16-emulator/releases/download/r30/x16emu_linux-r30.zip

in the same directory as the compile x16emu binary.

 

Now we can run the emulator (here with german keymap):

./x16emu -keymap de

 

Unfortunately the emulator doesnt run very fast, do use only one CPU-core and hasnt idle-support - so the CPU will get really fast very hot (70 Degree).

 

A AMD Phenom II X4 with 4x3GHz max. is about 2 times more faster (100%+200%=300%) than the X16 on the NanoPi K1 Plus :(

 

 

 

Commander_X16_Emu.jpg

NPI_X16_1024px.jpg

X16_r30_ROMs.zip

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0