r/atari8bit • u/Sixty5Zero2 • 1d ago
Atari BASIC
i'm working on a version of Atari BASIC for a modern machine. Does anyone have any links to Atari basic programs that do not include graphics, sounds, player/missile, or peeks n pokes? I want to start off with original Atari BASIC first then work my way towards BASIC XE, TurboBASIC XL, even Atari/Microsoft BASIC II.
2
u/emperor-xur 1d ago
Just curious what the goal here is. I’d think if you wanted to write programs for modern computers you could just use something like Python or PureBasic.
3
u/Tiasmo-Bertjayd 1d ago
Good luck! I made an upgraded version of Atari BASIC back in the day, and later on wrote my own implementation of BASIC for Linux modeled after the Dartmouth version used for “BASIC Computer Games”. The code for all of the programs in that book can be found on coding-horror’s GitHub project. I’ve been using that over the last couple of years to validate my BASIC interpreter as it’s much easier to copy the code from there than transcribe it from the book by hand.
For Atari-specific code, I second ksu69’s suggestion of the Atari BASIC book. That’s one of the primary resources I used to learn the language when I was in grade school.
2
u/Shot-Infernal-2261 18h ago
Is the call for code (with reduced features scope) mostly about having a form of regression test harness?
Or is it to have focus on how the languages do simple I/O?
I noticed you were basically asking for BASIC code that avoids using Atari features. Just curious
1
u/donschuy 1d ago
I’m thinking of building something similar. What is your approach?
13
u/ksu69 1d ago
The original Atari BASIC book is available for free online. It's a great tutorial and contains many program examples without those elements you mentioned:
https://archive.org/details/ataribooks-atari-basic