[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interesting one-line BASIC program



Tony Kavadias wrote:
On 2008-03-30 00:09:56 +1100, aiiadict@gmail.com said:

On Mar 29, 4:13 am, Jake Featherston <Jake_Feathers...@comcast.net>
wrote:

(I actually expected others would have
been like "yeah, I tried that before too!")

You guys are a bunch of wet blankets!


nah...  I think the only people who can "appreciate" the
effects of your "code" have already experienced the apple
II...  They've already written a basic program that pokes
over the top of itself, already accidently switched video
modes, etc etc...

Rich


The closest thing I did to that program is restrict it to
within the high-res screen space, to see what image it could
come up with, using AppleSoft's pseudo-random number gen.

But then I moved on to more interesting matters... ;)

100 HGR2 : HCOLOR= 3
110 HPLOT 279*RND(1),191*RND(1)
120 GOTO 110

is one of my favorite little programs.  It happily
paints the hi-res screen with dots until the screen
stops changing--demonstrating the short period of
the Applesoft random number generator.

I find it interesting that just by looking at the
screen fixedly, you can easily determine when it is
no longer turning on any new points--humans are good
recognizers of small movements!

-michael

NadaPong: Network game demo for Apple II computers!
Home page:  http://members.aol.com/MJMahon/

"The wastebasket is our most important design
tool--and it's seriously underused."