Jump to content

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


Recommended Posts

Posted

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

  • lanefu featured this topic
Posted
On 9/15/2019 at 2:18 PM, guidol said:

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 22.51 kB · 39 downloads

 

Hi in YouTube video at 11:10, Instead of having "Auto increment" flag, how about using the value as signed 8-bit value, and adding that to address. This would make it possible to move COLUMN of data instead of normal ROW of data available with plain flag. And using signed value enables both increase and decrease.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines