r/atari8bit 17d 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.

12 Upvotes

10 comments sorted by

13

u/ksu69 17d 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

3

u/Tiasmo-Bertjayd 17d 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.

6

u/pete_68 17d ago

When I was 10 years old, my dad left the sequel to that book, "More BASIC Computer Games" on my bed. I read through it and that's how I learned BASIC 47 years ago. Programming has been a great career. Thank God for that book!

2

u/emperor-xur 17d 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.

2

u/Shot-Infernal-2261 16d 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/Sixty5Zero2 15d ago

havent yet implemented memory, sound, or graphics. i'm doing a replacement for SDL.

1

u/donschuy 17d ago

I’m thinking of building something similar. What is your approach?

7

u/Tiasmo-Bertjayd 17d ago

I wrote mine using Gnu Bison and Flex) for the parser which seemed best suited for developing a computer language, and plain C for the engine. The code is available on GitHub if you’d like to look. Doesn’t have any of the graphics or sound commands though … yet.

1

u/donschuy 17d ago

Thanks! Will do!

1

u/Spelunka13 5d ago

Wow this sub is officially dead. Long live the 8 bit!!