Skip to content

Incorrect BA files when compiled and run in MinGW #2

Description

@tingtron

I compiled the sources in MingW a few different ways (GCC 64, 32-bit).
And also trying to use "w+b" to force the binary mode.
For input .DO files I also tried using both \r\n and \n line separators.

In all cases the generated .BA files are incorrect and not recognized

ok3c.ba is the correct one from the VirtualT (Saved from BASIC to host).

image

Which is rejected by VirtualT "Load file".
And when copied with TS-DOS, and loaded in BASIC, it produces wrong tokens and line numbers:

image

The example .DO is

10 A=1
20 B=A+2
30 PRINTA;B
40 PRINT"Done"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions