Showing posts with label BASIC. Show all posts
Showing posts with label BASIC. Show all posts

Thursday, July 23, 2009

Vintage Computer Sites Of Interest

Here are some sites that I visit whenever I feel like reading about old vintage computers. Not that I have much time to devote to the subject, but I just love reading about how computers were back "in the day".

http://www.old-computers.com/

http://www.1000bit.net or also http://www.1000bit.it - NOTE: 1000 is the binary number 8. In other words, if I have 1000 in base 2 numbers, it equals 8. Pretty clever huh? So it's really 8bit.com. Many of the computers on this site are also later 16-bit models, but hey, who's counting?

http://www.digibarn.com/

http://www.cpu-museum.com/

http://www.computercloset.org/

Good stuff. Oh, and follow your dreams.

Sunday, July 19, 2009

BASIC Program

This is my 80th post. YEAH! To celebrate, I decided to post about a recent endeavor, trying to type BASIC programs into my old Atari 800 computer. I realize this is very geeky. Oh well.

This is a little test program. It is a looping program that prints a number, starting with 1, then that number to the 2nd power, then that number to the 3rd power, then the number to the 4th power. To calculate these exponential numbers, the little microprocessor of the Atari 800 is really maxing itself out, at least with the 4th power.

Here we go:

10 FOR INDEX = 1 TO 10000
20 PRINT "=================="
30 PRINT INDEX
40 PRINT INDEX^2
50 PRINT INDEX^3
60 PRINT INDEX^4
70 PRINT
80 PRINT CHR$(128), CHR$(164), CHR$(123)
90 NEXT INDEX
100 END


Now give yourself 1,000 Geek Points if you can actually understand this code. HINT: it's known as BASIC. Personally, I have never encountered anything basic about writing a computer program. It's all hard to figure out.