SDL2 sources, progress and ports
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    Quote:

    jacadcaps a écrit :
    Quote:

    beworld wrote:
    https://github.com/BSzili/SDL/blob/mos-sdl2/Makefile.mos



    Yea, that's probably because of -mresident32 (which you need for SDL). New SDK should address this.



    Well GCC4 do the job but wait next SDK :-)
    Thanks

    [ Edité par beworld 12.04.2020 - 21:19 ]
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »12.04.20 - 20:16
    Profile Visit Website
  • Just looking around
    jarokuczi
    Posts: 17 from 2016/12/6
    Quote:

    beworld wrote:
    In archive you can files directory SDK with all need for SDK 3.14 for MorphOS
    Or you can use Install.



    Now we are talking. Everything works many thanks.
    I was able to compile and run my not finished project :).
    Ekran01.png
    Well done guys.
  • »12.04.20 - 21:36
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    hi all,
    Good new !

    I upload new version of SDL2 libraries :

    - First version with sensors support for joysticks ! (after a lot of working with BSzili)
    - Fix bug in sdl2_mixer.library

    https://www.morphos-storage.net/?page=Development%2FLibrary&file=SDL2_Libraries.lha
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »04.05.20 - 09:56
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Templario
    Posts: 532 from 2012/4/28
    Quote:

    beworld escribió:
    hi all,
    Good new !

    I upload new version of SDL2 libraries :

    - First version with sensors support for joysticks ! (after a lot of working with BSzili)
    - Fix bug in sdl2_mixer.library

    https://www.morphos-storage.net/?page=Development%2FLibrary&file=SDL2_Libraries.lha






    Well, thank you for your nw update!
  • »04.05.20 - 10:59
    Profile
  • Caterpillar
    Caterpillar
    softwarefailure
    Posts: 26 from 2011/4/24
    Thanks for updating SDL2 for MorphOS! I've tried it with RebelSDL for Hollywood but unfortunately it still seems to be lacking hardware accelerated drawing... this should definitely be added because as it stands SDL2 is much slower to SDL2 on OS4 and also to PowerSDL on MorphOS...

    [ Edited by softwarefailure 15.06.2020 - 19:15 ]
  • »15.06.20 - 18:14
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    In deed, the only missing big feature on SDL2.

    But as soon as the new version of MorphOS is available, we can work on it.
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »16.06.20 - 07:28
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Templario
    Posts: 532 from 2012/4/28
    Good question if Andreas Fakelhan makes a new version of RebelSDL does he will use your code? because the current RebelSDL uses the SDL 1.0, and this is a matter to speak, because a future version with your work will improve this, but also some times the things get complicated.
  • »16.06.20 - 11:14
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12074 from 2003/5/22
    From: Germany
    > if Andreas Fakelhan makes a new version of RebelSDL does he will use your code?

    This wouldn't make sense as RebelSDL isn't an SDL implementation but an interface from Hollywood to an existing SDL implementation.

    > the current RebelSDL uses the SDL 1.0

    No, there was never any (public) RebelSDL interfacing to SDL1. RebelSDL has always required SDL2. (Besides, the Amiga got SDL 1.1 already 20 years ago and SDL 1.2 as much as 19 years ago.)

    > a future version with your work will improve this

    It's true that the more complete the SDL2 implementation is for MorphOS, the more SDL2 functions can be offered by RebelSDL for MorphOS.
  • »16.06.20 - 18:12
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 2971 from 2003/3/5
    From: Canada
    https://github.com/BSzili/SDL/pull/1 is now ready with gamepads support via the gamepadlib I wrote to simplify using gamepads under MorphOS. Sorry it has taken this long, but I'm a bit overwhelmed these days ;)

    Gamepadlib sources may be fetched from its github repo: https://github.com/jacadcaps/gamepadlib
  • »24.07.20 - 13:44
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    Quote:

    jacadcaps a écrit :
    https://github.com/BSzili/SDL/pull/1 is now ready with gamepads support via the gamepadlib I wrote to simplify using gamepads under MorphOS. Sorry it has taken this long, but I'm a bit overwhelmed these days ;)

    Gamepadlib sources may be fetched from its github repo: https://github.com/jacadcaps/gamepadlib



    @jacadcaps : No problem !!!! thanks you very much. i test that :-)


    @all : Now SDL2 missing one big feature (OpenGL renderer)...
    we have somes bugs with it... and we dont have enought experience on it...
    so we ask to Frank / MOS Team... so wait and see.
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »24.07.20 - 14:48
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 2971 from 2003/3/5
    From: Canada
    Perhaps it'd be worth adding this to SDL1 too?
  • »24.07.20 - 18:08
    Profile Visit Website
  • Caterpillar
    Caterpillar
    softwarefailure
    Posts: 26 from 2011/4/24
    While gamepad support surely is nice, I think top priority should be given to make SDL2 support hardware accelerated drawing. Without that SDL2 doesn't really make that much sense on MorphOS right now because PowerSDL still outperforms it drastically since it draws using the GPU.
  • »29.07.20 - 11:21
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12074 from 2003/5/22
    From: Germany
    Update:

    > there was never any (public) RebelSDL interfacing to SDL1.
    > RebelSDL has always required SDL2.

    This has changed just now:

    "For MorphOS, RebelSDL is now also available in a special PowerSDL version. Since SDL2 on MorphOS doesn't currently support hardware acceleration, PowerSDL is a much better choice to make use of the graphics hardware for a better drawing performance."
    https://morph.zone/modules/news/article_storyid_2502.html
  • »28.09.20 - 22:02
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    Hi, waiting MorphOS 3.14, maybe a little chance to have hardware accelerated.... i hope, but i think need help to fix it... (90% working here with last modification of tinygl.library).

    Wait and see.
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »29.09.20 - 06:42
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    I'm not sure who that call to action is addressed to. ARGB texture support for SDL2 was already added to TinyGL, it's verified to be working, and it will be available in MorphOS 3.14. If someone in the meantime wants to write a new SDL2 renderer from scratch be my guest, but I'm not even sure what API would they be using for it. If you think CGFX, you'll quickly discover that most of the work still has to be done in software. The video subsystem in SDL2 is very different from SDL 1.2.

    edit: I take back my comment about MOS 3.14, apparently the TinyGL update was not included in this release. Again, this is not something me or BeWorld has any influence over.
    This is just like television, only you can see much further.
  • »30.09.20 - 06:52
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Templario
    Posts: 532 from 2012/4/28
    Quote:

    BSzili escribió:
    I'm not sure who that call to action is addressed to. ARGB texture support for SDL2 was already added to TinyGL, it's verified to be working, and it will be available in MorphOS 3.14. If someone in the meantime wants to write a new SDL2 renderer from scratch be my guest, but I'm not even sure what API would they be using for it. If you think CGFX, you'll quickly discover that most of the work still has to be done in software. The video subsystem in SDL2 is very different from SDL 1.2.

    I think that problem is in the readme, guide and help of one plugin from a know programming language. Where in the only system with problems is MorphOS. But this is I think.
    The plugin I don't like for my proyects.
  • »30.09.20 - 11:49
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    FBNeo available : https://www.morphos-storage.net/?id=1603091
    Use last SDL2



    Happy Xmas to all !
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »24.12.20 - 08:40
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    Bad new for SDL2, last version of tinygl (MorphOS 3.15) is not good :(
    90% of SDL2 games port are ok... but blending doesnt work....

    SDL 2.0.14 is ready...

    If the MOSTeam can help, that would be really fantastic.


    Happy New Yeay all !
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »01.01.21 - 14:07
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    Another port !


    Shadow Warrior - BZsili / BeWorld port

    Available : https://www.morphos-storage.net/?id=1606255



    Have fun !
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »10.01.21 - 17:32
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 746 from 2011/11/30
    Awesome! Have you tested it also under Shadow Warrior Redux from GOG? If so, how was the performance?

    Btw, a classic game I think we lack is Rise of Triad. Do you think there is a portable version which you and Bszili can do?
    Amiga gaming Tribute: Watch, rate, comment :)
  • »10.01.21 - 19:36
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    @Cool_amigaN : yes i test with Shadow Warrior Registered Version 1.2 for MS-DOS and Shadow Warrior Classic Redux from GOG.com


    [ Edité par beworld 11.01.2021 - 07:27 ]
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »11.01.21 - 07:20
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    Quote:


    Btw, a classic game I think we lack is Rise of Triad. Do you think there is a portable version which you and Bszili can do?


    Soon, i can release it ROTT :-) i test a recent version available on github and working fine :-)
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »11.01.21 - 12:36
    Profile Visit Website
  • Butterfly
    Butterfly
    waldiamiga
    Posts: 90 from 2007/7/25
    From: Krakow, Poland
    Quote:

    beworld wrote:
    Quote:


    Btw, a classic game I think we lack is Rise of Triad. Do you think there is a portable version which you and Bszili can do?


    Soon, i can release it ROTT :-) i test a recent version available on github and working fine :-)




    The ROTT was ported ... 11 years ago, but as far as I know, this port wasn't released to the public.

    In my opinion, it's better to port Xash3D (Half Life !!)


    180_grab.jpg

    MorphOS.pl
    PowerBook G4 1.67GHz|2GB DDR2|ATI Radeon 9700M 128MB|SSD 80GB|TFT 17"|MorphOS 3.1x
    Core i7 Notebook|WinUAE 3.x/AmigaOS4.1x & Icaros Desktop 2.x & QEmu 6.x.x
  • »11.01.21 - 15:00
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 590 from 2010/2/10
    From: FRANCE
    Quote:

    waldiamiga a écrit :
    The ROTT was ported ... 11 years ago, but as far as I know, this port wasn't released to the public.

    In my opinion, it's better to port Xash3D (Half Life !!)



    Ok if this port wasn't release, i finish it.

    I can check after for Xash3D, seem to be bigger :-)
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »11.01.21 - 15:14
    Profile Visit Website