Jump to content
IGNORED

BASIC tutorials


Chug

Recommended Posts

Since I dug my old 800XL out of the loft the other day my daughter has shown an interest in learning how to programme it. Unlike when I was a kids schools don't teach children how to programme computers, only how to be good consumers of Microsoft and Apple products. I'm somewhat rusty on BASIC, since I'm sure that dinosaurs roamed the earth the last time I used it.

 

Is there any online BASIC tutorials out there that I can use to brush up on? Atari BASIC, or Turbo BASIC XL would be preferably.

  • Like 1
Link to comment
Share on other sites

Turbo Basic has a small Text File user manual that explains the commands for it, And the Atari Basic Reference Manual in PDF Format has a explanation for all the Atari Basic Commands, Both should be easy to locate and Download when doing a Google search.

 

I believe Atarimania.com has the Atari Basic Reference Manual and also lots of other Programming books for the Atari.

Edited by Grevle
Link to comment
Share on other sites

Thanks guys. I can't believe how much I'd forgotten, but bits and bobs are coming back to me as I use it. Another rummage around in the loft has turned up The Atari 130XE Handbook by Lupton & Robinson. So I've now got some evening reading material.

  • Like 1
Link to comment
Share on other sites

Is there any online BASIC tutorials out there that I can use to brush up on? Atari BASIC, or Turbo BASIC XL would be preferably.

 

It's not really a tutorial, but the expanded documentation for TBXL has quite a bit of example code.

 

I reformatted it into a word document. I'm not sure if I fixed the index after editing or not though.

 

Turbo BASIC - Expanded Documentation.doc

  • Like 3
Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

Nice tutorials! After understanding Basic there are a lot of tricks possible. Some programs are very short (See the NOMAM Basic Ten Liners http://atariage.com/forums/index.php?app=core&module=attach&section=attach&attach_id=313429)

Not very readable due to the small number of lines restriction - Not a good example how to style a program source code at all, but with some elegant tricks for the advanced programmer.

In fact, some things are not very easy to understand, but a challange :-)

In Turbo Basic XL you can use procedures and -- for a separating line. This is a good way to code readable Basic. And it is faster then Atari Basic. I recomment using Turbo Basic XL for programming.

Link to comment
Share on other sites

In Turbo Basic XL you can use procedures and -- for a separating line. This is a good way to code readable Basic. And it is faster then Atari Basic. I recomment using Turbo Basic XL for programming.

 

You can also go a step further and edit your TBXL source documents in a PC code editor, which will give keyword / remark / string highlighting, more space to play with, upper-case/lower case for better readability, and magically disappearing REM lines (if done as shown):

 

post-6369-0-48209000-1391817690_thumb.png

 

If only TBXL didn't require those things called "line numbers", it would be even better.

Link to comment
Share on other sites

 

You can also go a step further and edit your TBXL source documents in a PC code editor, which will give keyword / remark / string highlighting, more space to play with, upper-case/lower case for better readability, and magically disappearing REM lines (if done as shown):

 

Cool! Which editor for the PC is this?

Is the output Basic (for LOAD-command) or ATASCII text (for ENTER-command)?

Link to comment
Share on other sites

Cool! Which editor for the PC is this?

Is the output Basic (for LOAD-command) or ATASCII text (for ENTER-command)?

 

I'm using an editor called ConTEXT here, but I've also done the same thing in Crimson Editor. They're both freeware coding editors. I have the config files for both editors if you're interested.

 

The native output is ASCII. So there is one step to get it formatted to run on the Atari.

Link to comment
Share on other sites

Thank you for the TBXL documentation, MrFish!

 

No problem. Thanks to Frank Ostrowski, Dave and Laura Yearke, and Ron Fetzer for doing all the real work.

 

Here's an improved formatted version. The original doc has a strange style of listing each command's format, an example, and then the explanatory text at the end. When you pile a slew of commands like that one after the other, it's not very readable. Rather than undertake the tedious task of reversing the order of each command listing, I've simply put a spacer between commands, which was a lot easier and made it much more readable. I also switched over the explanatory text to Times New Roman, leaving only the coding text in Courier. Additionally I formatted the coding text, which hadn't been done, and did some other miscellaneous editing.

 

 

  • Like 1
Link to comment
Share on other sites

Or use this:

 

http://joyfulcoder.com/memopad/?os=windows

 

This will convert bewteen ASCII-ATASCII and even load tokenized BASIC programs too.

 

That's actually what I meant by an extra step; having to load it into or use some kind of converter, external to the emulator you plan to run the code in. The above mentioned is automatic line-feed translation, when you load it into the Turbo-BASIC XL interpreter, and when you save it out.

Edited by MrFish
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...