17 April 2014, 22:56 | #1 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 520
|
Porting SDL2 to Amiga
There's a new rewritten version of SDL that has been released, SDL2.
If someone got it working on Amiga, then all the games which can be easily ported using it to other platforms (Windows, Linux, Android, iOS, ...) could be easily gotten to work on the Amiga. Anyone willing to do the work? |
29 November 2017, 22:32 | #2 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
Did anyone try to build it for m68k-amigaos?
it is possible to build it without 3D support, at least it was done for MorphOS. there is no src code included, so I cannot check the config.log or other usefull things :/ I try to build 2.0.7 - but run into trouble when running the ./configure script: Code:
CC=m68k-amigaos-gcc.exe ./configure --host=m68k-amigaos --disable-shared .... checking for GCC -Wall option... yes checking for necessary GCC -Wno-multichar option... no configure: error: *** Unsupported host: Please add to configure.in Code:
*-*-amigaos*) ARCH=linux ;; *-*-linux*) ARCH=linux ;; *-*-uclinux*) ARCH=linux ;; tested also: *-*-amigaos*) ARCH=amigaos ;; *-*-linux*) ARCH=linux ;; *-*-uclinux*) ARCH=linux ;; does anyone know how to add host/ARCH amigaos to the configure script? #1) i found two more location in configure.in to add "amigaos" Code:
checking for Altivec with GCC -faltivec option... no checking for GCC -Wall option... yes checking for necessary GCC -Wno-multichar option... no checking for GCC -fvisibility=hidden option... no checking for GCC -Wdeclaration-after-statement option... no checking for dlopen... no Code:
SDL2 Configure Summary: Building Static Libraries Enabled modules : atomic audio video render events joystick haptic power filesystem threadstimers file loadso cpuinfo assembly Assembly Math : Audio drivers : disk dummy Video drivers : dummy vulkan Input drivers : Using libsamplerate : NO Using libudev : NO Using dbus : NO Using ime : YES Using ibus : NO Using fcitx : NO 'make -k' let it build some objct files. but thats about it. too many errors (gcc3.4 and gcc6) thats too much pain and frustration for 5+ functions I need to build another emulator Last edited by emufan; 29 November 2017 at 23:37. |
30 November 2017, 14:00 | #3 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
Porting SDL2 to AmigaOS 3.x would probably be easier if their SDL2 port was used as a base. Honestly, it ain't that hard to convert an application from SDL2 to SDL1.2 if you put a little effort into it. And most of the open source games using SDL2 has most likely been updated from SDL1.2 to SDL2 at some point, so you can backtrack the changes and reimplement SDL1.2 fairly easily. Which is what I did with MilkyTracker. |
|
30 November 2017, 17:46 | #4 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
it's just a plus/4 emulator. so nothing special. 20 out of 25 src files I can build.
remaining deal with keyboard/interface and initializing audio/video. just found this one: SDL2 for AmigaOS 4 uses some code from sdl 1.2 for audio and joystick. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The X68000 games porting experiment | AnimaInCorpore | project.CARE | 106 | 14 November 2019 23:22 |
Porting Qt Framework to Amiga OS enviroments | Pyromania | Coders. General | 2 | 24 July 2013 06:42 |
porting vlc ? | turrican3 | request.Apps | 4 | 25 June 2011 21:27 |
Help porting Mindscape's Legend | Queller | request.Other | 6 | 30 October 2010 12:07 |
How come nobody considers porting Fellow to other platforms? | MethodGit | Amiga scene | 26 | 09 August 2010 00:15 |
|
|