Git Product home page Git Product logo

Comments (7)

prb28 avatar prb28 commented on August 16, 2024 1

published in pre-release 1.7.1

from vscode-amiga-assembly.

prb28 avatar prb28 commented on August 16, 2024

Maybe the new vasm is the problem.
You may try with an older one.

I'll try to build your project next week.

from vscode-amiga-assembly.

Real-MJoe avatar Real-MJoe commented on August 16, 2024

prb28 is right. The new version of vasm spits out more warnings. But these bring the build process of the extension to a halt. Here the extension should give the possibility, if only warnings are present, to regard the whole thing as "Okay" anyway. But now to the simple solution:
The incude Sprite_Functions.asm has an odd number of bytes. Consequently the "Mouse.asm" ended up in an "odd" address.
You can "easily" fix it by writing "EVEN" as the first command in the Mouse.asm.
But there is also the possibility to work with the parameter "-align" (http://sun.hasenbraten.de/vasm/release/vasm_4.html). Then you have to adjust a few places. For example in the "Sprite_Functions" line 396, there is also an EVEN missing.

from vscode-amiga-assembly.

prb28 avatar prb28 commented on August 16, 2024

You are right, warnings should not stop a build, it should be optional.
I'll add a fix.

from vscode-amiga-assembly.

prb28 avatar prb28 commented on August 16, 2024

If you display the terminal, you'll see the warning during the build:

warning 51 in line 5 of "c:\Users\paulr\workspace\amiga\projects\BippyM\Overflow-22\src\Mouse.asm": instruction has been auto-aligned
        included from line 36 of "c:\Users\paulr\workspace\amiga\projects\BippyM\Overflow-22\Overflow.s"
>             move.w    #0,mouse_x

from vscode-amiga-assembly.

Bippym avatar Bippym commented on August 16, 2024

prb28 is right. The new version of vasm spits out more warnings. But these bring the build process of the extension to a halt. Here the extension should give the possibility, if only warnings are present, to regard the whole thing as "Okay" anyway. But now to the simple solution: The incude Sprite_Functions.asm has an odd number of bytes. Consequently the "Mouse.asm" ended up in an "odd" address. You can "easily" fix it by writing "EVEN" as the first command in the Mouse.asm. But there is also the possibility to work with the parameter "-align" (http://sun.hasenbraten.de/vasm/release/vasm_4.html). Then you have to adjust a few places. For example in the "Sprite_Functions" line 396, there is also an EVEN missing.

Thanks, I have added "even" to the end of all declarations, especially byte sized declarations. That has fixed it and it now compiles again thanks :)

from vscode-amiga-assembly.

Real-MJoe avatar Real-MJoe commented on August 16, 2024

Nice one ,thx :)
grafik

from vscode-amiga-assembly.

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.