GithubHelp home page GithubHelp logo

Comments (4)

dmsc avatar dmsc commented on June 1, 2024

Hi!

About your first question, yes, you need to add a new section to the config file if you want data placed at specific (or aligned) locations; then you can place data in your basic program using:

    DATA font() BYTEFILE [ALIGNFONT] "myfont.fnt"

This will include the contents of the file into the ALIGNFONT segment, note the section name limited by [ and ].

For your second question, can you paste the command line you are using?

Have Fun!

from fastbasic.

PJM-NCC-70511 avatar PJM-NCC-70511 commented on June 1, 2024

fb TGAtari\tg_edit.bas TGAtari\xmove.asm

I figured out what was going on, Originally, I had "XMOVE.ASM" and the file name having caps in the filename caused it to be treated as an output file for the compiler. May need to correct this because I had to rewrite my custom assembly code after the compiler overwrote the file.

from fastbasic.

dmsc avatar dmsc commented on June 1, 2024

Ok, that is actually two bugs - or at least a missed feature and a bug:

  • Bug 1: filename extensions are only checked at lowercase, so your ".ASM" file is interpreted as a BASIC source.
  • Bug 2: The logic for selecting the output filename does not check for collisions between lower and upper case - so the file "XMOVE.ASM" is set to input and "XMOVE.asm" is set to output. But in Windows those two are the same file, so it get overwritten.

Will try to fix...

from fastbasic.

dmsc avatar dmsc commented on June 1, 2024

Fixed on repository. You can try with attached compiled version. fastbasic-v4.6-fixed.57-win32.zip

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.