Giter Site home page Giter Site logo

Comments (2)

GeorgRottensteiner avatar GeorgRottensteiner commented on June 24, 2024

Two issues :)

Windows can perfectly fine use forward slashes. I've just tested, and it works as expected.
I can also enter back slashes in the BASIC editor, this could be a key mapping issue.

Buuut:
C64Studio doesn't support including assembly files in BASIC directly. You can include other BASIC code.
If you want to access ASM symbols, you have to do it differently:

  • You need a project/solution for this to work.
  • In Solution Explorer, right click on the BASIC file, Properties
    • In tab "Compile Target" for the assembly file, set a check mark on "Dependency" and "Symbols"

Whenever the BASIC file is now built, C64Studio will make sure the assembly file output is up to date first, and then build the BASIC file. In the BASIC file you can now access the symbols as you already shown up there.

There is a short entry in the help for including assembly in BASIC, I need to update that with more details.

from c64studio.

GeorgRottensteiner avatar GeorgRottensteiner commented on June 24, 2024

I've added a new feature in the last commit, that might help you somewhat:

With
#BINDATA "STARTERASM.PRG",,2,100,10
inside a BASIC file you can auto-include a binary, which will be inserted as DATA statements.

The syntax is
#BINDATA ,,,,

If length in bytes is empty or zero, the full file is used.
The DATA lines are made as long as manual entry would allow (e.g. 80 characters with BASIC V2)

Hope that helps.

If these comments do not help you, feel free to reopen.

from c64studio.

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.