No description
Find a file
2018-10-17 20:28:31 +02:00
.github/ISSUE_TEMPLATE Update issue templates 2018-10-07 23:07:42 +02:00
.vs Reworked VSLinux solution, added Guisan project 2017-03-30 23:00:20 +02:00
AndroidData Android platform updates 2018-02-24 11:43:46 +01:00
capsimg@067db4cc6b Added submodule "capsimg" for IPF support 2018-02-09 18:22:06 +01:00
conf Add empty directory for configuration, save state ... 2015-05-23 21:58:09 +00:00
data Reduced size of logo, made more room for contributors list in About panel 2018-01-20 23:48:33 +01:00
guisan-dev Updated VSLinux solution, added xu4 target, updated guisan Makefile so it can compile on its own 2018-04-20 18:42:50 +02:00
kickstarts Add empty directory for configuration, save state ... 2015-05-23 21:58:09 +00:00
nbproject Merged SDL1 and SDL2 projects 2017-12-04 15:49:40 +01:00
savestates Add empty directory for configuration, save state ... 2015-05-23 21:58:09 +00:00
screenshots Add empty directory for configuration, save state ... 2015-05-23 21:58:09 +00:00
src Merge branch 'dev' 2018-10-17 20:22:55 +02:00
VisualGDB Updated VisualGDB projects to latest toolchain references 2018-10-17 20:28:31 +02:00
VSLinux Updated VSLinux solution, added xu4 target, updated guisan Makefile so it can compile on its own 2018-04-20 18:42:50 +02:00
whdboot Changes the default controller for mouse games on WHDBooter from controller #2 to controller #1. 2018-04-07 13:40:15 +01:00
.gitattributes gitattributes update 2017-03-02 00:27:30 +01:00
.gitignore gitignore update for apple time machine file 2018-03-25 12:09:29 +01:00
.gitmodules Added submodule "capsimg" for IPF support 2018-02-09 18:22:06 +01:00
_config.yml WIP - merge latest sdl1-dev changes into sdl2-dev (warning, not fully checked yet, may crash!) 2017-11-29 00:54:20 +01:00
AndroidAppSettings.cfg Android platform updates 2018-02-24 11:43:46 +01:00
AndroidBuild.sh Merge remote-tracking branch 'origin/dev' - updated to v2.18 2018-03-18 21:31:21 +01:00
banner.png WIP - merge latest sdl1-dev changes into sdl2-dev (warning, not fully checked yet, may crash!) 2017-11-29 00:54:20 +01:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-01-03 10:18:02 +01:00
COPYING WIP - merge latest sdl1-dev changes into sdl2-dev (warning, not fully checked yet, may crash!) 2017-11-29 00:54:20 +01:00
icon.png WIP - merge latest sdl1-dev changes into sdl2-dev (warning, not fully checked yet, may crash!) 2017-11-29 00:54:20 +01:00
ISSUE_TEMPLATE.md Create ISSUE_TEMPLATE.md 2018-01-03 10:28:13 +01:00
Makefile Implemented (bugfixed) ROXR, fixed MVMEL (closes #314) 2018-10-15 18:12:03 +02:00
PULL_REQUEST_TEMPLATE Create PULL_REQUEST_TEMPLATE 2018-01-03 10:29:31 +01:00
README.md Update README.md 2018-10-15 17:42:25 +02:00

Amiga emulator for the Raspberry Pi and other ARM SoC

Amiberry is an optimized Amiga emulator, for ARM-based boards (like the Raspberry Pi, ASUS Tinkerboard, Odroid XU4, etc). The core emulation comes from WinUAE, but stripped down to remove excess stuff in order to achieve good performance in underpowered boards. It includes ARM JIT support, to get high-performance results on CPU-intensive emulated environments. On top of that, we have some unique features developed only for Amiberry.

Amiberry requires the SDL framework (https://libsdl.org) for graphics display, input handling and audio out. Currently both SDL1.x and SDL2 are supported, but in the future we'll probably drop support for SDL1 as things move forward.

Compiling SDL2

If you want to run the SDL2 version, you currently need to compile SDL2 from source on the Raspberry Pi, to get support for launching full screen applications from the console. The version bundled with Raspbian Stretch is unfortunately not compiled with support for the "rpi" driver, so it only works under X11. Furthermore, it is an older version and includes some known bugs, which were fixed in later updates of SDL2.

Follow these steps to download, compile and install SDL2 from source:

https://github.com/midwan/amiberry/wiki/Compile-SDL2-from-source

With SDL2 installed, you can proceed to install Amiberry as follows:

Pre-requisites

Amiberry requires the following packages, besides SDL (v1 or v2) itself:

  sudo apt-get install libxml2-dev libflac-dev libmpg123-dev libpng-dev libmpeg2-4-dev

Getting Amiberry

You can clone this repo, like so:

  cd ~
  git clone https://github.com/midwan/amiberry
  cd amiberry

Choosing a target

Amiberry's makefile includes several targets, to cover various platforms. For the Raspberry Pi platform specifically, we offer multiple combinations to get the best performance out of the platform, depending on the environment used:

  • SDL1 with DispmanX back-end for graphics
  • SDL2 with DispmanX back-end for graphics
  • SDL2 with whatever back-end it was configured with (e.g. KMS, OpenGL, X11, etc.)

For the Raspberry Pi specifically, the best performance can be gained by using the DispmanX back-end, because none of the other options offer multi-threaded graphics updates, unfortunately. For other platforms (e.g. using the Mali GPU), multi-threaded updates can be supported using pure SDL2 (and DispmanX is an RPI-only feature anyway).

Compiling a target

Using SDL1 + DispmanX

For the Raspberry Pi 3(B+) (SDL1 + Dispmanx), type:

  make all

For the Raspberry Pi 2 (SDL1 + Dispmanx), type:

  make all PLATFORM=rpi2

For the Raspberry Pi 1/Zero (SDL1 + Dispmanx), type:

  make all PLATFORM=rpi1

Using SDL2 + DispmanX

For the Raspberry Pi 3(B+) (SDL2)

  make all PLATFORM=rpi3-sdl2-dispmanx

For the Raspberry Pi 2 (SDL2):

  make all PLATFORM=rpi2-sdl2-dispmanx

For the Raspberry Pi 1/Zero (SDL2):

  make all PLATFORM=rpi1-sdl2-dispmanx

Using SDL2 + whatever back-end it was configured with

For the Raspberry Pi 3(B+) (SDL2)

  make all PLATFORM=rpi3-sdl2

For the Raspberry Pi 2 (SDL2):

  make all PLATFORM=rpi2-sdl2

For the Raspberry Pi 1/Zero (SDL2):

  make all PLATFORM=rpi1-sdl2

For the Odroid XU4 (SDL2):

  make all PLATFORM=xu4

For the ASUS Tinker board (SDL2):

  make all PLATFORM=tinker

For the Odroid C1 (SDL2):

  make all PLATFORM=c1

For the Vero 4k (SDL2):

  make all PLATFORM=vero4k

For the OrangePi PC (SDL2):

  make all PLATFORM=orancepi-pc

You can check the Makefile for a full list of supported platforms!

For more documentation subjects, please check the Wiki page