Adventures in Internet Publishing
Saturday, November 27, 2010
  Why Atari, again?
Well, now I've finished reading Machine Language for Beginners, not so much because it's a quick read but because I read it all day. It didn't really teach me all that much that I didn't know, but it filled in a lot of gaps, I guess. I can at least say that I know what all the hashes and parentheses mean after a mnemonic, and I have a vague idea of how the stack works.

I come back again to asking why the Atari is so much easier to program than anything else, and I am reminded of why I was frustrated with programming the TI-84+: there's no easy way to program it on the device. Aside from Atari's assembler, Machine Language for Beginners came with a short-but-useful assembler written in BASIC, that lets you write small programs and get a feel for the processor. You can literally write a small, 6-instruction program, assemble it to a safe memory location, and execute it right there, then give control straight back to BASIC. So, let's say you want to play with the arithmetic functions, you can write a little program, save its output to memory, and then PEEK it back in BASIC.

On the TI calculators, well, you'd have to write the program on you computer, transfer it to the device, execute it, and heck I don't even know if there's an equivalent to PEEK and POKE on the thing. So you'd also have to write code that outputs your little test data to the screen in some fashion. The barrier to entry is a lot higher.

Same with coding on the DS, since it doesn't have a flexible runtime environment. You have to write quite a bit of complex code just to play with the thing. It's easier when you're piggybacking off of DevKitPro, but that obfuscates the hardware away and it's harder to see what you're actually doing.

I suspect this is also why Python is such a beginner-friendly language, since it has an interactive interpreter. You can play with functions before working them into formalized programs.

So yeah, BASIC is a pretty limited system by today's standards, but it gets the job done if you know what you're doing.
 
Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

Name:
Location: San Diego, California, United States

I program old computers and calculators in my spare time.

Archives
January 2006 / March 2006 / May 2006 / October 2006 / November 2006 / December 2006 / March 2007 / May 2007 / July 2007 / August 2007 / September 2007 / November 2007 / January 2008 / March 2008 / April 2008 / May 2008 / June 2008 / August 2008 / September 2008 / October 2008 / March 2009 / October 2010 / November 2010 / January 2011 / February 2011 /


Powered by Blogger

Subscribe to
Posts [Atom]