-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try many sample programs #42
Comments
Could be possible to add support for line numbers to use turbo basic xl listings out-the-box ? |
As far as I remember, TURBO BASIC XL did not require line numbers. (maybe they where optional). In GFA-Basic line numbers finally where not used anymore. |
Of course, but many basic examples that you want to try online have line numbers, then requires some re-work to take them and try with fastbasic ex. http://atariprojects.org/wp-content/uploads/2021/03/Page-Flipping.txt |
I created a web page where you can try the included samples online: |
I have read the article "Converting to Fastbasic" in the wiki. The process described is OK, however the process can be automated. I did this once, therefor I have written a little tool (in BASIC) which can convert ANSI BASIC (with line numbers and multiple commands in one line) to X11-Basic (or GFA-Basic) similar to fastbasic syntax. Maybe you want to have a look at it to write something similar. Bas2x11basic really has helped me converting some of the BASIC code of the ancient days... Here is it: |
Since fastbasic is similar to TURBO BASIC XL, and TURBO BASIC XL is similar to GFA-BASIC, and GFA-BASIC is similar to X11-Basic, you might want to try out some of the sample programs from the collection: https://codeberg.org/kollo/X11-Basic_examples
I think at least some of them can be also ised with FASTBASIC to check its performance. Also there is a small tool which can remove the line numbers from ANSI BASIC programs and thus help adapt alien dialects.
e.g. this one can probably run without modifications:
https://codeberg.org/kollo/X11-Basic_examples/src/branch/master/All/console/maze.bas
Just to let you know. Have fun!
The text was updated successfully, but these errors were encountered: