English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 24 August 2017, 21:09   #1
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 332
Porting OpenEmu

EmuFan...thank you so much for porting SDDApple and thank you so much for going all your way and taking your time and tackling out LineApple and kegs

We couldn't have gotten it without you and your skills and intellect, thank you so much! I have one question to ask...how hard is it to port OpenEmu for Amiga 68k? What we are lacking to be honest an up to date NES emulator..but if you can tackle OpenEmu you can hit many birds with one stone with it.
xboxown is offline  
Old 24 August 2017, 21:20   #2
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 44
Posts: 1,117
Send a message via Yahoo to Samurai_Crow
Written in Objective C for Mac. Not designed to be ported by the looks of it.
Samurai_Crow is offline  
Old 24 August 2017, 21:23   #3
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 332
Are you serious? Isn't it open source project?
xboxown is offline  
Old 24 August 2017, 21:26   #4
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 44
Posts: 1,117
Send a message via Yahoo to Samurai_Crow
I have never seen an Objective C program run on an Amiga. It's BSD licensed so it is open source but only runs on systems with an Objective C compiler and runtime library.

It also needs OpenGL. Possibly a newer version than the Mesa versions for Amiga.
Samurai_Crow is offline  
Old 24 August 2017, 21:49   #5
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
Probably Retroarch+Libretro are a better option for a multiplatform emulator.
Akira is offline  
Old 24 August 2017, 21:56   #6
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 44
Posts: 1,117
Send a message via Yahoo to Samurai_Crow
True, but it still needs shader support for libRetro. Once the Vampire gets a better GPU then maybe.
Samurai_Crow is offline  
Old 24 August 2017, 22:00   #7
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
You don't "need" shaders to enjoy libretro. The Wii port is just great with none of that fancy stuff.
Retroarch displays using SDL just as fine.
Akira is offline  
Old 25 August 2017, 08:14   #8
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 332
Guys do you think this is possible to port to Amiga?

https://github.com/libretro/RetroArch
xboxown is offline  
Old 25 August 2017, 08:31   #9
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 44
Posts: 1,117
Send a message via Yahoo to Samurai_Crow
Quote:
Originally Posted by xboxown View Post
Guys do you think this is possible to port to Amiga?

https://github.com/libretro/RetroArch
Akira thinks so but we might need to offload a bunch of stuff to the second thread on the Vampire to make it fast enough. It barely runs on a Raspberry Pi 2 as it is.
Samurai_Crow is offline  
Old 25 August 2017, 08:38   #10
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 332
What are waiting for then! Let us tackle it
xboxown is offline  
Old 25 August 2017, 11:16   #11
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 44
Posts: 1,117
Send a message via Yahoo to Samurai_Crow
First, let's get a 68080 backend for a C compiler like GCC because we're going to need all the power we can get.
Samurai_Crow is offline  
Old 25 August 2017, 16:19   #12
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 19,265
Quote:
Originally Posted by Samurai_Crow View Post
It barely runs on a Raspberry Pi 2 as it is.
What are you basing these claims on? Have you ever used RetroArch on a Raspberry Pi? Hnest question, because I have, extensively, and even on a RPi1, performance is very good for a majority of emulators!
Some arcade games stall, yes, PSX emulation is slow, but most if not all of the old computers and consoles run just great.

Of course 68k is a radically different platform to those where Retroarch is currently available, but since you can use SDL, it is wort ha look at least. You never know what a coding wizard might be able to do.

The main problem seems to be, as you say, the coding tools necessary that support the instruction set of the new thing.
Akira is offline  
Old 25 August 2017, 17:29   #13
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 44
Posts: 1,117
Send a message via Yahoo to Samurai_Crow
After I noticed that the Retro Pie distribution uses libRetro, I think it will work better than I initially thought. We still need to have a C++ compiler for this project though.
Samurai_Crow is offline  
Old 25 August 2017, 17:43   #14
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 332
Quote:
Originally Posted by Samurai_Crow View Post
After I noticed that the Retro Pie distribution uses libRetro, I think it will work better than I initially thought. We still need to have a C++ compiler for this project though.
Can't you use AmiDev++ to use C++ to compile it into amiga 68k binary?
xboxown is offline  
Old 25 August 2017, 18:11   #15
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 44
Posts: 1,117
Send a message via Yahoo to Samurai_Crow
Quote:
Originally Posted by xboxown View Post
Can't you use AmiDev++ to use C++ to compile it into amiga 68k binary?
Only if you don't use AMMX or registers B0-B7. We need both.
Samurai_Crow is offline  
Old 25 August 2017, 22:52   #16
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 332
How about we start porting it now to work in WinUAE and see at least if it can be ported period. If it is even possible. if even possible to port without stripping all the features that make it great. If it can be ported and if it can run, then we just wait for the C++ for the Amiga you mentioned which take advantage of the new technology and resume there. At least we didn't waste all the time waiting for such technology and starting from there...we have done 80% of the road already and then resume it when the time comes with just code optimization and stuff.

I find waiting for such technology (if it will ever show up) is not only waste of time but we may discover then that it can't even be ported.

What do you think?
xboxown is offline  
Old 25 August 2017, 22:57   #17
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 44
Posts: 1,117
Send a message via Yahoo to Samurai_Crow
Fair enough, although I would like to try Bebbo's GCC 6.3 because the one you mentioned is an ancient version 2 derivative.
Samurai_Crow is offline  
Old 26 August 2017, 03:23   #18
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 332
Quote:
Originally Posted by Samurai_Crow View Post
Fair enough, although I would like to try Bebbo's GCC 6.3 because the one you mentioned is an ancient version 2 derivative.
Let the party begin
xboxown is offline  
Old 26 August 2017, 23:13   #19
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
Quote:
Originally Posted by xboxown View Post
Can't you use AmiDev++ to use C++ to compile it into amiga 68k binary?
with AmiDevCpp i get the best results, building those older sdl based emulators,
it uses gcc 3.40. I have 2.95.3 and 6.3 too - one to "old" the other too restrictive and allways problems when it comes to linking.

another example: dgen sdl, build with AmiDevCpp (ADC) on the commandline (cmd.exe)
you just export the PATH to the ADC binaries, so you can use a ./configure
which comes with the emulator source.

just minor problem with glob.h some undefined things (GLOB_MARK | GLOB_NOESCAPE). just added them.
a tool which converts pbm to cpp code didnt work, i had to rebuild it in a more recent cygwin shell.
dunno yet if any game will work, but commandline optiosn are accepted
Attached Thumbnails
Click image for larger version

Name:	dgen.png
Views:	86
Size:	6.4 KB
ID:	54315  

Last edited by emufan; 27 August 2017 at 04:11.
emufan is offline  
Old 27 August 2017, 00:41   #20
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 332
Heheh I am looking forward for that emulator!!
xboxown is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
porting an app written in C powrslave Coders. C/C++ 1 13 March 2017 05:44
Porting an Amiga game to PC CYBER_SLUNK Coders. General 4 31 January 2017 20:14
Porting Photoshop to Amiga KONEY Coders. General 25 30 December 2016 00:49
porting vlc ? turrican3 request.Apps 4 25 June 2011 22:27
Help porting Mindscape's Legend Queller request.Other 6 30 October 2010 13:07

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.08960 seconds with 14 queries