Langton's Ant CHR$128 version

Discussion about ZX80 / ZX81 Software
Post Reply
User avatar
GCHarder
Posts: 436
Joined: Sat Dec 14, 2013 7:46 pm

Langton's Ant CHR$128 version

Post by GCHarder »

LANGTON'S ANT.

Hardware:
ZX81+ZXPand+UDG4ZXPand in CHR$128 mode *
ZX81+ZXPand+Chroma in CHR$128 mode
ZX81+ZXPand+UDG Board in CHR$128 mode

Emulator:
sz81 in ZXPand+CHR$128 mode
EightyOne in ZXPand+CHR$128 mode
-------------------------------------------------------------------------------
From Wikipedia...

"Langton's ant is a two-dimensional Turing machine with a very simple
set of rules but complicated emergent behavior. It was invented by
Chris Langton in 1986 and runs on a square lattice of black and white
cells.

The rules...

At a white square, turn 90° right, flip the color of the square, move
forward one unit

At a black square, turn 90° left, flip the color of the square, move
forward one unit"
-------------------------------------------------------------------------------
* No UDG board, no problem.

In the program "Demos\AntGUI.p" change this line...

From: 9240 PRINT USR BNKX;0 ;Use Bank0 font.
To: 9240 PRINT USR BNKX; ;Use ZX81 font.

Then save your changes by RUNning 9990.

The screens may look a bit funky due to UDG substitutions but the overall
program will work fine.

Use predefined UDG set B for best results.

Demo Videos...

https://www.youtube.com/watch?v=OIOIsrma65U&t=324s

https://www.youtube.com/watch?v=TOlPvBu_qVU

Enjoy;

Greg
Attachments
Langton's Ant.zip
Programs
(89.19 KiB) Downloaded 22 times
Screenies
Screenies
Moggy
Posts: 3314
Joined: Wed Jun 18, 2008 2:00 pm

Re: Langton's Ant CHR$128 version

Post by Moggy »

Nice, just the kind of thing I like to see the zeddy doing, I will have this running on a spare zeddy as a kind of screen saver, it's kind of hypnotic. :D
Post Reply