GithubHelp home page GithubHelp logo

Editor bug with 465 lines about fastbasic HOT 3 CLOSED

dmsc avatar dmsc commented on May 16, 2024
Editor bug with 465 lines

from fastbasic.

Comments (3)

dmsc avatar dmsc commented on May 16, 2024

Hi, and thanks for the bug report.

Do you have a specific file that produces the error? An ATR image would be great.

from fastbasic.

ukcroupier avatar ukcroupier commented on May 16, 2024

I should have mentioned I'm just using this in Altirra emulator atm, haven't tested on real hardware yet so it could be an emulation problem.

I haven't looked into saving code or making ATRs yet, just been writing in notepad++ then copy&paste to Altirra/Fastbasic when I want to test it. It's starting to get tedious now, so will have to look into a better way to develope :)

I don't think it's a copy&paste problem, I narrowed it down to about 450 lines then started adding one line at a time in the editor to see when the problem occurred.

I'll send you the code I have for you to copy over to Altirra so you can see the problem, I assume you can sort out an ATR from there and check on real hardware. (Don't laugh at the code, haven't done anything for over 10 years and nothing on atari for about 25)

btw: github won't let me upload a .atr anyway, here's a .txt file
editorbug.txt

from fastbasic.

dmsc avatar dmsc commented on May 16, 2024

It was a bad FOR loop while searching for the previous line, the comparison in the FOR loop is signed, so when the address of the buffer wrapped past 32767 the loop did not work.

This is the ATR of the fixed version.

fastbasic-atr.zip

Thanks again for the bug report,

Have Fun!

from fastbasic.

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.