SDL 2 sources and progress
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 377 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,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »12.04.20 - 19:16
    Profile Visit Website
  • Just looking around
    jarokuczi
    Posts: 13 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 - 20:36
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 377 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,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »04.05.20 - 08:56
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Templario
    Posts: 389 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!
    Free programs&games:
    http://www.morguesoft.eu
  • »04.05.20 - 09:59
    Profile Visit Website
  • Caterpillar
    Caterpillar
    softwarefailure
    Posts: 23 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 - 17:14
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 377 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,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »16.06.20 - 06:28
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Templario
    Posts: 389 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.
    Free programs&games:
    http://www.morguesoft.eu
  • »16.06.20 - 10:14
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 11097 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 - 17:12
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 2152 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 - 12:44
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 377 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,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »24.07.20 - 13:48
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 2152 from 2003/3/5
    From: Canada
    Perhaps it'd be worth adding this to SDL1 too?
  • »24.07.20 - 17:08
    Profile Visit Website
  • Caterpillar
    Caterpillar
    softwarefailure
    Posts: 23 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 - 10:21
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 11097 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 - 21:02
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 377 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,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »29.09.20 - 05:42
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 546 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.
    I see the jimmies have been rustled.
  • »30.09.20 - 05:52
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Templario
    Posts: 389 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.
    Free programs&games:
    http://www.morguesoft.eu
  • »30.09.20 - 10:49
    Profile Visit Website