SDL 2 sources and progress
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 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 - 20: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 - 21:36
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 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 - 09:56
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Templario
    Posts: 372 from 2012/4/28
    From: Palencia city ...
    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 - 10: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 - 18:14
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 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 - 07:28
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Templario
    Posts: 372 from 2012/4/28
    From: Palencia city ...
    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 - 11:14
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 11006 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: 2067 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
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 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 - 14:48
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 2067 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: 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 - 11:21
    Profile Visit Website