Hacker News

mondobe
Atari 2600 BASIC Programming (2015) huguesjohnson.com

rented_mule10 hours ago

As a kid, I had the hardest time understanding what a computer was. At 9 years old in 1977, I had a friend whose dad was a computer programmer. The friend tried to explain to me what a computer was, but I just couldn't understand it. We even took a field trip to a National Weather Service office where they talked a lot about their computers and showed us one that filled a room, but I still didn't understand. None of the explanations made it sound like anything other than magic happening in a big set of boxes.

At 12 years old in 1980, I bought Atari BASIC Programming (it wasn't yet called the 2600). Minutes after plugging it in, the idea of a computer clicked for me. That quickly led to getting bored with that game system and convincing my parents to buy me a "real" computer. Eventually that led to a long career as a software developer. Thanks for opening that door for me Atari BASIC Programming!

boutell3 hours ago

Wow! I'm so glad this actually did open the door from someone. I remember nerding out over how lame it was, but I was fortunate enough to have a TRS-80 Model III in my household. And I didn't fully grasp the hardware limitations then.

Someone really should DIY a real Atari "VCS," as in adequate bank switched RAM and something not unlike TRS-80 BASIC achieved without outlandish hardware for the time...

OMG! Someone pulled it off back in the day! I had no idea. So much for my retirement project idea:

https://en.wikipedia.org/wiki/CompuMate

That's ok, I have a lot of years to go before I need one LOL

sedatk3 hours ago

My story is similar. I loved playing video games and all, but after I wrote my first program, I became obsessed with computers. The infinite canvas for interactive human experience and problem solving felt out of this world.

kstrauser13 hours ago

This was my first "computer"! I begged my parents for this after getting a taste of a Vic 20 and wanting some of that for myself.

That was a false start, to say the least. There isn't a whole lot you can do with 64 bytes. After that, I begged for a Timex Sinclair 1000. 16KB of RAM isn't a whole lot, either, but it was enough to actually experiment and learn.

tombert12 hours ago

I will be honest and admit that I don’t find most Atari 2600 games to actually be fun; there’s a few gems like Warlords and and Pitfall and Pitfall 2, but I don’t think that home console games started getting really good until the Colecovision.

That said, I am perpetually amazed at what some people have been able to pull off on such a weak device. 120 bytes is nothing for memory compared to anything I have written on a modern computer; I worked very hard to optimize the shit out of my custom Swaybar, and that still took about 500kb.

The fact that games on the 2600 could even be playable is sort of an achievement in its own right, and when you see games that are actually legitimately decent (like the cassette tape version of Frogger, for example), I feel a bit of envy that I will never be that good at software.

BASIC Programming on the 2600 is similarly impressive to me. It’s not “fun” in any kind of objective sense, you can’t really do a lot with it, but the fact that there exists a programming environment in any capacity running directly on there is an impressive bit of engineering.

userbinator10 hours ago

Looking at it another way, 128 bytes gives you 1024 bits of state, or roughly 2^1024 (10^308) distinct states, still far more than the number of observable atoms in the universe. 128 bytes may be a tiny amount, but the real skill is in finding how to represent the necessary states.

https://en.wikipedia.org/wiki/Shannon_number and https://en.wikipedia.org/wiki/Video_Chess provide some interesting background reading.

throwaway94275an hour ago

Some games had an additional 128 or 256 bytes of RAM bult in. Mountain King being one of those I think.

kgwxd8 hours ago

You should check out what the homebrew scene has made. I bought an old system, and garbage picked a CRT, just to play them. Started with Medieval Mayhem, a Warlords remake closer to the arcade version. Then I went on a years long obsession. Champ Games makes great stuff and has taken over distribution of some games AtariAge doesn't do since "Atari" bought them.

tombert3 hours ago

Oh I have. I find the homebrew and demo scene for the Atari to be extremely impressive.

I don’t think it works on real hardware but I’m quite partial to Bad Apple : https://youtu.be/Ko9ZA50X71s?si=Ds7WuMgPHeubBNNz

forinti7 hours ago

Someone ported Thrust in 2002: https://www.youtube.com/watch?v=EeQCIDCod8c

It's quite a feat.

userbinator12 hours ago

In any programming language it's an interesting challenge to fit an entire functional program into under 140 characters.

APL: challenge accepted

https://aplwiki.com/wiki/Conway's_Game_of_Life

A quick search has not found any implementations of an APL-family language on the 2600, so let this comment be an inspiration for one of you madlads out there to actually do it. The 2600 has only 128B of RAM, but a lot of consoles around this era had additional bankswitched RAM on the cartridges.

oofoe6 hours ago

If you don't want to start completely from scratch, may I recommend you take a look at the VideoBrain? https://en.wikipedia.org/wiki/VideoBrain_Family_Computer (only language ever available for it was APL/S -- "structured" APL.)

Also, the "Decker" Hypercard-alike has a K-inspired language that is pretty nice. (Yes, much more modern, but still feels a bit like something "of that era".)

actionfromafar7 hours ago

Dani993 hours ago

[flagged]

hn-front (c) 2024 voximity
source