Jump to content
IGNORED

Best practices for transferring a BASIC program to Atari


phoney

Recommended Posts

I just wrote a BASIC program on my Mac in BBEdit and wanted to transfer it to my Atari.

 

I saved it to a text file with a .BAS extension, created a new ATR in Atari800MacX, used the ATR editor to put the .BAS file on the ATR (5 sectors!), went into Atari800MacX BASIC to test it, but when I try to LOAD the file I get an ERROR - 19 in BASIC. That tells me something in the format of the file is wrong and maybe it isn't seeing the EOF.

 

What's the best practice here in terms of getting my .BAS file into proper Atari readable format? Eventually I want to run it on my 800 via Fujinet, of course.

Link to comment
Share on other sites

Hi!

31 minutes ago, phoney said:

I just wrote a BASIC program on my Mac in BBEdit and wanted to transfer it to my Atari.

 

I saved it to a text file with a .BAS extension, created a new ATR in Atari800MacX, used the ATR editor to put the .BAS file on the ATR (5 sectors!), went into Atari800MacX BASIC to test it, but when I try to LOAD the file I get an ERROR - 19 in BASIC. That tells me something in the format of the file is wrong and maybe it isn't seeing the EOF.

 

What's the best practice here in terms of getting my .BAS file into proper Atari readable format? Eventually I want to run it on my 800 via Fujinet, of course.

 

Atari BASIC uses a binary file, with the tokenized source. You can use my basic parser at https://github.com/dmsc/tbxl-parser to convert your source file to a BAS file. Remember to use the "-A" option to limit it to Atari BASIC syntax (instead of Turbo Basic XL).

 

Have Fun!

 

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...