Poster | Thread |
deadwood
|  |
AxRuntime Posted on 8-May-2020 18:25:56
| | [ #1 ] |
|
|
 |
Regular Member  |
Joined: 4-Nov-2008 Posts: 476
From: Unknown | | |
|
| Hello,
I wanted to share with you something I've been working on for some time. The project is called AxRuntime and it allows re-compiling existing Amiga/MorphOS/AROS software as Linux applications.
The runtime allows developers to continue developing Amiga applications in unmodified way while at the same time being able to utilize modern development tools available on Linux like IDEs, debuggers, profilers, etc.
This solution lets developers compile their Amiga API-based applications as Linux binaries. Once the features are implemented, tested and optimized using the runtime on Linux, developers re-compile their applications for their Amiga-like system of choice and perform final quality checking.
Applications created with AxRuntime can be distributed to the Linux community giving developers a much broader user base and a possibility to invite developers from outside general Amiga community to contribute to the application.
Here are some videos of AROS applications running under Linux:
Wanderer: https://www.axrt.org/media/axrt-Wanderer.mp4 MPlayer: https://www.axrt.org/media/axrt-MPlayer.mp4
More images in gallery: https://axrt.org/index.php?tab=gallery
Download & Instructions ====================
https://axrt.org/index.php?tab=download
Release notes ====================
Quote:
AxRuntime 40.2 changes:
webp.datatype sound.datatype Added to distribution bsdsocket.library Enable (basic) network support libaxrt-2.0-dbg.deb package Debug symbols separated from runtime package NList Fix crashes when loading classes 64-bit fixes TextEditor BetterString Fix crashes when loading classes libaxrt.so Better error handling during initialization and library loading Correctly exit with return code instead of trapping. exec.library Fixed SMP race condition in SetSignal. timer.device Fixed SMP related crash with VBlank emulation. muimaster.library Fixed memory override in Slider class. Handle 'r' penspec in imagespec
Application changes:
MPlayer 1.0b2 Updated FFMpeg to 2.6.9 Ported to 64-bit Enabled network support Fixed a long standing audio driver bug which caused clicking and statics Added Equalizer window and filter support Fixed caching code to allow for smaller cases (previous 1MB cache was hardcoded) Published repository on GitHub (https://github.com/deadw00d/mplayer-mui)
WookieChat 3.1 Ported to 64-bit Fixes to connection logic, null pointer access Workaround for crash at exit Implement private messages Fixes to nick management for JOIN/PART Implement QUIT command Implement handling connection retries
|
Last edited by deadwood on 13-Jun-2020 at 09:16 AM. Last edited by deadwood on 10-May-2020 at 05:52 AM.
_________________ https://www.axrt.org |
|
Status: Offline |
|
|
DiscreetFX
 |  |
Re: AxRuntime Posted on 8-May-2020 18:44:18
| | [ #2 ] |
|
|
 |
Elite Member  |
Joined: 12-Feb-2003 Posts: 2543
From: Chicago, IL | | |
|
| @deadwood
Sounds like a really cool project. _________________ Sent from my Quantum Computer. |
|
Status: Offline |
|
|
kamelito
|  |
Re: AxRuntime Posted on 9-May-2020 9:37:23
| | [ #3 ] |
|
|
 |
Cult Member  |
Joined: 26-Jul-2004 Posts: 836
From: Unknown | | |
|
| @deadwood
Excellent project, does it support the all API? |
|
Status: Offline |
|
|
phoenixkonsole
|  |
Re: AxRuntime Posted on 9-May-2020 9:55:30
| | [ #4 ] |
|
|
 |
Super Member  |
Joined: 8-Nov-2009 Posts: 1772
From: Unknown | | |
|
| awesome I am glad that this idea becomes reality ! Deadwood for President Last edited by phoenixkonsole on 09-May-2020 at 09:55 AM.
_________________ AROS Broadway - AEROS - Aminux - AmiCloud - indieGO! Appstore - AmiWallet - VAN lossless video codec - AMC Amiga media Center -KrypUnite - LibertyNet - MinX - amigaNX |
|
Status: Offline |
|
|
NutsAboutAmiga
|  |
Re: AxRuntime Posted on 9-May-2020 10:05:38
| | [ #5 ] |
|
|
 |
Elite Member  |
Joined: 9-Jun-2004 Posts: 12964
From: Norway | | |
|
| |
Status: Offline |
|
|
Anonymous
|  |
Re: AxRuntime Posted on 9-May-2020 10:26:50
| | [ # ] |
|
| @deadwood
Friend deadwood,
this is a monumental endeavor and I hope its implications will be fully understood. It is not unlike the reverse bridges Microsoft has built to lure developers back to Windows.
Majestic.
MRJM |
|
|
|
|
deadwood
|  |
Re: AxRuntime Posted on 9-May-2020 12:21:49
| | [ #7 ] |
|
|
 |
Regular Member  |
Joined: 4-Nov-2008 Posts: 476
From: Unknown | | |
|
| @kamelito
It is the intend to eventually support API from all families.
The starting base consists of OS3.1 +CGX + AHI + MUI + a number of OSS libraries and classes. Best to check the libaxrt-2.0-dev package and contact me if there are things missing that are needed for your software.
_________________ https://www.axrt.org |
|
Status: Offline |
|
|
phoenixkonsole
|  |
Re: AxRuntime Posted on 9-May-2020 13:54:20
| | [ #8 ] |
|
|
 |
Super Member  |
Joined: 8-Nov-2009 Posts: 1772
From: Unknown | | |
|
| @deadwood I see that you use AROS decoration. If i click on the window close button of mplayer "the AROS one", will the window be closed ? Or do i need to click the one on the linux Window - Decoration ?
If it closes, than i suggest to surpress the linux decoration. "Make borderless" windows
Than you created a f*cking awesome code once and share it everywhere solution
Last edited by phoenixkonsole on 09-May-2020 at 01:55 PM.
_________________ AROS Broadway - AEROS - Aminux - AmiCloud - indieGO! Appstore - AmiWallet - VAN lossless video codec - AMC Amiga media Center -KrypUnite - LibertyNet - MinX - amigaNX |
|
Status: Offline |
|
|
kamelito
|  |
Re: AxRuntime Posted on 9-May-2020 14:59:23
| | [ #9 ] |
|
|
 |
Cult Member  |
Joined: 26-Jul-2004 Posts: 836
From: Unknown | | |
|
| Now learning the AmigaOS API will not be « worthless » :) |
|
Status: Offline |
|
|
kolla
|  |
Re: AxRuntime Posted on 9-May-2020 16:16:57
| | [ #10 ] |
|
|
 |
Elite Member  |
Joined: 20-Aug-2003 Posts: 3366
From: Trondheim, Norway | | |
|
| So now one can develop Linux native Zune based programs for Wayland? _________________ B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC |
|
Status: Offline |
|
|
IridiumFX
|  |
Re: AxRuntime Posted on 9-May-2020 17:10:06
| | [ #11 ] |
|
|
 |
Member  |
Joined: 7-Apr-2017 Posts: 80
From: London, UK | | |
|
| @deadwood
This is simply the greatest development in 20 years. I am feeling like this makes possible to actually code an Amiga OS program and run it on ... ahem ... modern hardware (please no flame wars).
The funny think is that it reminds me of how everything started. The seed of the Amiga was planted into TripOS. This is doing the same again. Thumbs up, I truly love the idea. |
|
Status: Offline |
|
|
phoenixkonsole
|  |
Re: AxRuntime Posted on 9-May-2020 17:13:50
| | [ #12 ] |
|
|
 |
Super Member  |
Joined: 8-Nov-2009 Posts: 1772
From: Unknown | | |
|
| @IridiumFX Yep.. it's boom! Really exciting! Ahh deadwood .. if there wouldn't be corona i would visit you personally with some cold beer. Amiga Mojo is back! Last edited by phoenixkonsole on 09-May-2020 at 05:14 PM.
_________________ AROS Broadway - AEROS - Aminux - AmiCloud - indieGO! Appstore - AmiWallet - VAN lossless video codec - AMC Amiga media Center -KrypUnite - LibertyNet - MinX - amigaNX |
|
Status: Offline |
|
|
bison
 |  |
Re: AxRuntime Posted on 9-May-2020 17:40:06
| | [ #13 ] |
|
|
 |
Elite Member  |
Joined: 18-Dec-2007 Posts: 2112
From: N-Space | | |
|
| @deadwood
This is really impressive! I'm having trouble with the mplayer menubar in Xfce, but I'll try another DE and see if it works.
_________________ "Unix is supposed to fix that." -- Jay Miner |
|
Status: Offline |
|
|
deadwood
|  |
Re: AxRuntime Posted on 9-May-2020 17:46:59
| | [ #14 ] |
|
|
 |
Regular Member  |
Joined: 4-Nov-2008 Posts: 476
From: Unknown | | |
|
| @phoenixkonsole
Right now you can close the application with both "close" buttons (Linux window manager one and Intuition window one). Eventually the Linux "decoration" is planned to be removed so that look & feel is closer to Amiga.
PS. Intuition windows are also not yet resizable, that is also planned to be added. _________________ https://www.axrt.org |
|
Status: Offline |
|
|
deadwood
|  |
Re: AxRuntime Posted on 9-May-2020 17:47:16
| | [ #15 ] |
|
|
 |
Regular Member  |
Joined: 4-Nov-2008 Posts: 476
From: Unknown | | |
|
| @kamelito
Correct _________________ https://www.axrt.org |
|
Status: Offline |
|
|
deadwood
|  |
Re: AxRuntime Posted on 9-May-2020 17:49:25
| | [ #16 ] |
|
|
 |
Regular Member  |
Joined: 4-Nov-2008 Posts: 476
From: Unknown | | |
|
| @kolla
In short Yes.
Right now your mileage will vary based on Window manager used by your Linux distribution. I personally use Linux Mint and there it is tested to work. With time and tests any possible glitches with other window managers will be fixed I'm sure. _________________ https://www.axrt.org |
|
Status: Offline |
|
|
deadwood
|  |
Re: AxRuntime Posted on 9-May-2020 17:50:54
| | [ #17 ] |
|
|
 |
Regular Member  |
Joined: 4-Nov-2008 Posts: 476
From: Unknown | | |
|
| @IridiumFX
Let's see how the developer community reacts and whether the runtime will actually be used by people. _________________ https://www.axrt.org |
|
Status: Offline |
|
|
deadwood
|  |
Re: AxRuntime Posted on 9-May-2020 17:52:35
| | [ #18 ] |
|
|
 |
Regular Member  |
Joined: 4-Nov-2008 Posts: 476
From: Unknown | | |
|
| @bison
Yup, there can be glitches for WMs other then one used in LinuxMint. There is only so much I can test and fix alone. Anyhow, fill a bug report on GitHub describing your configuration and I will try to put it on the backlog.
EDIT: Also you need to right-click-and-hold while hovering over a runtime application. Right-clicking does not work globally (yet?). Last edited by deadwood on 09-May-2020 at 06:34 PM.
_________________ https://www.axrt.org |
|
Status: Offline |
|
|
deadwood
|  |
Re: AxRuntime Posted on 9-May-2020 17:53:44
| | [ #19 ] |
|
|
 |
Regular Member  |
Joined: 4-Nov-2008 Posts: 476
From: Unknown | | |
|
| @All
Thanks for the response and feedback so far. What other forums/sites would you suggest to post this to reach more developers? _________________ https://www.axrt.org |
|
Status: Offline |
|
|
deadwood
|  |
Re: AxRuntime Posted on 9-May-2020 18:01:47
| | [ #20 ] |
|
|
 |
Regular Member  |
Joined: 4-Nov-2008 Posts: 476
From: Unknown | | |
|
| @Developers
There is one topic that I might have not covered enough in the README.
AxRuntime has SMP enabled, meaning if you have more than 1 CPU core, Amiga Tasks and Processes will be running in real parallel mode.
This can cause problems with some old software not using Semaphores but synchronizing based on Task priority for example. These codes will have to be modified to work stable.
Also side effect of Forbid and Disable (that is that running Task cannot change) are no longer working. Hopefully changing usage of those in user applications to synchronization based on Semaphores or PutMsg/Wait should not be a big effort.
_________________ https://www.axrt.org |
|
Status: Offline |
|
|