Jump to content

Recommended Posts

19 minutes ago, Philsan said:

I made a video to show that you can code on real Atari too.

Other modern languages cannot do it.

 

Yeah, it's nice to see on support for real metal.

 

What's with all the arrows going down the left side? It's distracting for me.

 

Also, I think inverse video for the status/command line might look better than the way it's currently done.

 

  • Like 1

Share this post


Link to post
Share on other sites

Hi!

5 hours ago, MrFish said:

Yeah, it's nice to see on support for real metal.

 

What's with all the arrows going down the left side? It's distracting for me.

It is meant to show the end-of-file; It was very useful during development of the editor, because you can easily see the state of the buffer and detect any error. But perhaps you are right, and it does not really help. Removing the code to draw the arrow makes the binary 8 bytes shorter 😛 

 

5 hours ago, MrFish said:

Also, I think inverse video for the status/command line might look better than the way it's currently done.

 

I agree, but it is not easy - the line is simply drawn using PRINT, and there is no way to force inverse video output on PRINT. Adding this feature would be useful for BASIC games, specially using Graphics modes 1 and 2, where you would like to print a string (or your score) using a different color.

 

I also want to add a "TAB()" function, then the status line could be printed with:

 PRINT COLOR(128);TAB(2);FileName$;TAB(32); 1+topLine+scrLine; TAB(39);

Well, many features to add in next versions :) 

 

Have Fun!

 

  • Like 4

Share this post


Link to post
Share on other sites

Pardon me if this is very straightforward to do, but I couldn’t work out how to put in control characters (like ATASCII) in the fastbasic editor. How to enter ATASCII in the editor, and also when cross-compiling? I couldn’t find it in the documentation. In basicparser/tbxlparser you can enter arbitrary hex codes and named characters, but I’m not sure this can be done in FB?

 

Perhaps also an easy answer, how to delete and insert lines in the editor?

Share this post


Link to post
Share on other sites

Hi!

3 hours ago, OxC0FFEE said:

Pardon me if this is very straightforward to do, but I couldn’t work out how to put in control characters (like ATASCII) in the fastbasic editor. How to enter ATASCII in the editor, and also when cross-compiling? I couldn’t find it in the documentation. In basicparser/tbxlparser you can enter arbitrary hex codes and named characters, but I’m not sure this can be done in FB?

 

Perhaps also an easy answer, how to delete and insert lines in the editor?

The IDE uses the same conventions as the standard Atari OS editor:

- To insert a line, press SHIFT+INSERT (the ">" key in the Atari keyboard)

- To delete a line, press SHIFT+DELETE (the "BACKSPACE" key in the Atari keyboard)

- To insert an ATASCII character, press "ESC" and then the character, for example "ESC" and "TAB" inserts an "▸", or "ESC" and CONTROL-A inserts "├".

 

About inserting an arbitrary character in the cross-compiler, you can use the "$" syntax, this is the example in the manual:

PRINT "Hello"$9B"world"$2E$2E

This prints "Hello" in one line and "world.." in the next line, as "$9B" is the EOL character in ATASCII. This works in the cross compiler but also works in the Atari IDE.

 

Have Fun!

  • Like 1

Share this post


Link to post
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...