Git Product home page Git Product logo

Comments (11)

philpem avatar philpem commented on June 3, 2024

Is this the same Mac you used on #21 -- with Mac OS 10.15.5 (Catalina)?

It seems like this is a bug in SDL which manifests on Mojave and later: https://hg.libsdl.org/SDL/rev/ab7529cb9558

Seems like SDL2 has had a fix for this since 2018: https://hg.libsdl.org/SDL/rev/55489adbb75c

Can you try building and installing the latest development version of SDL1.2?

EDIT: Longer term Freebee should probably be ported to SDL2 but that's not a trivial task due to the API changes.

from freebee.

agentbooth avatar agentbooth commented on June 3, 2024

I believe 1.2.15 is already the latest SDL

from freebee.

philpem avatar philpem commented on June 3, 2024

Sorry if I wasn't clear - I was referring to building from the SDL source code in the Mercurial repository.

It seems like porting to SDL2 might fix it. I had a quick look at doing that, but it's not simple. Quite a bit of the API has changed...

from freebee.

tenox7 avatar tenox7 commented on June 3, 2024

I will try that

from freebee.

agentbooth avatar agentbooth commented on June 3, 2024

Phil, I did a basic migration to SDL2. Would you like to migrate to SDL2? Or retain the 1.2 compatibility?

from freebee.

philpem avatar philpem commented on June 3, 2024

@shadyjesse My understanding is that SDL1.2 is deprecated at this point, so migrating to SDL2 is probably a good idea!

Submit a PR and I'll take a look. I had a go at it myself but got stuck migrating the SDL_Timer stuff to SDL2.

from freebee.

agentbooth avatar agentbooth commented on June 3, 2024

@philpem I just checked on Raspberry Pi and worked fine. PR has been submitted.

from freebee.

philpem avatar philpem commented on June 3, 2024

I've just merged @shadyjesse's SDL2 port. @tenox7 can you please confirm whether this fixes your issue?

from freebee.

tenox7 avatar tenox7 commented on June 3, 2024

oh yes now it works thank you!
image

I'm not sure if these bus error page not mapped are of any importance?

from freebee.

philpem avatar philpem commented on June 3, 2024

The bus errors are just debugging information from the memory handler - at some point they need to be turned off...

Glad to hear it works now!

Closed - resolved.

from freebee.

tenox7 avatar tenox7 commented on June 3, 2024

thanks for fixing this! :)

from freebee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.