User avatar
oz2cpu
Posts: 18
Joined: Tue Jan 09, 2018 8:30 am
Location: Denmark, CPH
Contact: Website

Re: Uae4arm: Amiga emulator with JIT and DispmanX

Wed Jan 10, 2018 4:28 pm

hi chips, i finally figured out how to read the version of UAE4ARM, my pi boots with a logo, (amibian 1.4.0003 with all updates just performed)
but it is shown for 0.4 sec so i took a video, and paused the video, I got
Uae4arm v0.5 for raspberry pi by Chips
I did try to google how to read the version of installed uae4arm but gave up finding any working answers.

The update instructions you started to explain is very hard to understand,
sure i could do the git install, that is the only thing i understand so far.
is it not possible to have some sort of script installed called :
auto_update_uae4arm_from_the_internet_for_noobs :-)
and then this script go and get and unpack and what ever is needed ?
Denmark Copenhagen webx.dk radioamateur OZ2CPU

User avatar
SeongGino
Posts: 2
Joined: Tue Jan 05, 2016 2:16 am
Contact: Twitter

Re: Uae4arm: Amiga emulator with JIT and DispmanX

Thu Jan 11, 2018 12:55 am

Hello! Pardon the intrusion, but I'm following up from oz's post earlier.

The current distribution we use is Amibian 1.4 (Updated to version 1.4.0003 via the built-in update script, and further confirmed with the generic apt-get update/upgrade command). However, I personally have been attempting to run your latest version from the Github repository with no luck.

What I first tried was the steps as you described on the Github readme. However...
Chips wrote:
Tue Jan 09, 2018 11:10 pm
If you look at github uae4arm page, i descripte the following part: you need to install some package. Then do a command "make" and wait.
For starters, Amibian also needed the added G++ compiler, as it was missing. But, even then, it fails at a certain point exactly as shown:

Code: Select all

src/od-rasp/rasp_gfx.cpp:25:22: fatal error: bcm_host.h: No such file or directory
 #include "bcm_host.h"
                                         ^
compilation terminated.
<builtin>: recipe for target 'src/od-rasp/rasp_gfx.o' failed
make: *** [src/od-rasp/rasp_gfx.o] Error 1
To be fair, Amibian is explicitly marketed as a stripped-down Raspbian setup that merely boots into the command line, and automatically launches any one out of a set of pre-build uae4arm images (One of which is titled "Chips' latest uae4arm'); knowing this, I followed the above steps again and compiled it in Raspbian Stretch, and completed fine. Running the program was fine as well. However, extracting this executable back into Amibian as a stand-in for one of the emulator "spots" would automatically exit the program and boot back to the command-line frontend. It displays an error for only a single frame sometimes, but it's something to do with libpng. (Yes, the respective data files from the Github repo, including the added Quickstart icon, was transferred as well to the directory it was being run in)

So, my question is; are there any dependencies necessary to run/compile Raspbian that is normally bundled with a stock Raspbian image?
Just your average Seong. Nothing more to see here...

User avatar
oz2cpu
Posts: 18
Joined: Tue Jan 09, 2018 8:30 am
Location: Denmark, CPH
Contact: Website

Re: Uae4arm: Amiga emulator with JIT and DispmanX

Thu Jan 11, 2018 9:58 am

>SeongGino
thanks my friend :-)
at least I am not alone, I too find it a bit complex, why do we need compilers to perform updates ?
why cant we just overwrite a bunch of files in a bunch of folders, using a ready made script from the internet,
this way the script is changed by the releaser of new versions, when stuff is newly released,
all people can just run the script to see if new updates are avail or not,
at least it looks like this is what they have done with amibian, it is simply called update
Denmark Copenhagen webx.dk radioamateur OZ2CPU

User avatar
SeongGino
Posts: 2
Joined: Tue Jan 05, 2016 2:16 am
Contact: Twitter

Re: Uae4arm: Amiga emulator with JIT and DispmanX

Thu Jan 11, 2018 2:37 pm

oz2cpu wrote:
Thu Jan 11, 2018 9:58 am
why do we need compilers to perform updates ?
why cant we just overwrite a bunch of files in a bunch of folders, using a ready made script from the internet,
this way the script is changed by the releaser of new versions, when stuff is newly released,
all people can just run the script to see if new updates are avail or not,
at least it looks like this is what they have done with amibian, it is simply called update
That's not so simple.
The versions of UAE4ARM packaged are simply pre-compiled builds of the project at various states; so unless the developer himself essentially makes pre-built releases at various points in development... this is the only way to do it; otherwise, it would be a disorganized mess of otherwise useless source files and such.

After all, UAE4ARM is far from being an Amibian-specific project.
Just your average Seong. Nothing more to see here...

User avatar
oz2cpu
Posts: 18
Joined: Tue Jan 09, 2018 8:30 am
Location: Denmark, CPH
Contact: Website

Re: Uae4arm: Amiga emulator with JIT and DispmanX

Fri Jan 12, 2018 9:57 am

I am no expert, far from it, completely new to Linux :-)
this is why I ask all the question's, since I find it odd and hard to figure out,
I know Linux is not like anything else I know,
the trick as far as I understand it, people make and distribute SOURCE files,
those files need to be COMPILED for, or on the target system, the smart thing here is,
no matter what type of target system, the source is the same, and the program that come out of the compile can then work on multible platforms..
BUT for a beginner this is hard to figure out.
I would love.. pretty please with sugar on top..
to get a text document, with line by line, what to do..
from the beginning, all included, also all the programs install and what have you.
it must be made so we simply copy and paste line by line, answer yes to all, and then done bingo, upgraded..
We are in the Raspberry Pi forum, fine so we all use the same hardware,
and we also use Amibian latest version, right, so it should be clear (to the expert) where all files are, and where the new upgraded go.
Denmark Copenhagen webx.dk radioamateur OZ2CPU

User avatar
oz2cpu
Posts: 18
Joined: Tue Jan 09, 2018 8:30 am
Location: Denmark, CPH
Contact: Website

Re: Uae4arm: Amiga emulator with JIT and DispmanX

Fri Jan 12, 2018 11:25 am

GOOD NEWS FOLKS:

https://gunkrist79.wixsite.com/amibian/ ... t-revision

the latest UAE4ARM update by chips is soon also included in the upcoming Amibian update,
all you have to do here, is update :-) so stay tuned..
Denmark Copenhagen webx.dk radioamateur OZ2CPU

Chips
Posts: 192
Joined: Sat Aug 18, 2012 8:21 pm

Re: Uae4arm: Amiga emulator with JIT and DispmanX

Fri Jan 12, 2018 8:51 pm

SeongGino wrote:
Thu Jan 11, 2018 12:55 am
For starters, Amibian also needed the added G++ compiler, as it was missing. But, even then, it fails at a certain point exactly as shown:

Code: Select all

src/od-rasp/rasp_gfx.cpp:25:22: fatal error: bcm_host.h: No such file or directory
 #include "bcm_host.h"
                                         ^
compilation terminated.
<builtin>: recipe for target 'src/od-rasp/rasp_gfx.o' failed
make: *** [src/od-rasp/rasp_gfx.o] Error 1
you were missing this:
apt-get install libraspberrypi-dev

Ideally they should have a script in amibian retrieving latest source and compiling it...

Here is what i noted in order to update to latest source in amibian:

Code: Select all

apt-get update
apt-get install git g++ make libraspberrypi-dev
git clone https://github.com/Chips-fr/uae4arm-rpi/
cd uae4arm-rpi
apt-get install libsdl1.2-dev 
apt-get install libguichan-dev
apt-get install libsdl-ttf2.0-dev
apt-get install libsdl-gfx1.2-dev
apt-get install libxml2-dev
apt-get install libflac-dev
apt-get install libmpg123-dev
apt-get install libmpeg2-4-dev
make
cp uae4arm /root/amiga/6
cp data/quickstart.ico /root/amiga/data

gunkrist
Posts: 2
Joined: Sun Jun 19, 2016 6:45 pm

Re: Uae4arm: Amiga emulator with JIT and DispmanX

Sat Jan 13, 2018 9:43 pm

I have updated Amibian with the latest changes to uae4arm. All people need to do is to type update and enjoy.

Chips is right, a script that downloads and compiles uae4arm from the source is a good idea. Will start working on that.

Only thing is that i need to change the source files alittle to make the shutdown button in the gui work on amibian. I also added more 4:3 screen modes to use with picasso while i was at it.

Best regards.
Gunnar Kristjánsson

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 14 guests