Coder Social home page Coder Social logo

Comments (5)

maurymarkowitz avatar maurymarkowitz commented on June 18, 2024 1

Fixed in v.1.8.6. malloc'ing instead of calloc'ing in the array initialization code.

from retrobasic.

maurymarkowitz avatar maurymarkowitz commented on June 18, 2024

Fixed in 1.8.3. Dangling pointer when setting up small arrays at runtime.

from retrobasic.

maurymarkowitz avatar maurymarkowitz commented on June 18, 2024

The problem with small mazes is fixed, but it continues to periodically go into a loop on any sized maze. The pattern is not entirely clear, it loops between lines 740 and 1000 when it should exit quickly. It may be an issue with arrays (most likely) or perhaps the comparison between the value in the array and the calculated value, thus in the = operator.

from retrobasic.

scruss avatar scruss commented on June 18, 2024

While I can't repeat this with any Linux/gcc build, I can using XCode 14.2 / MacOS 12.7.1. As it took me a couple of hours to understand how to make things build in that IDE, I'm not sure I can be of much extra help

Your amazing.bas is somewhat different from the one in the CodingHorror repo But that's not the source of the problem

from retrobasic.

maurymarkowitz avatar maurymarkowitz commented on June 18, 2024

from retrobasic.

Related Issues (3)

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.