Color Munching Squares Applet #8

Munching Squares -- first version

Here is my first Java version of the Munching Squares Display hack. It was first programmed on a PDP-1 at MIT. Back then it was 6 machine language instructions toggled in from the console switches. The PDP-1 had a word size of 18 bits and 64k words of main memory. It had a 1024 by 1024 postion CRT point plotter and console switches for input. The information below is from M. Beeler, R.W. Gosper, R. Schroeppel,"MIT Hakmem", AIM 239, Feb. 1972

MIT Hakmem Item 146:		PDP-1 assemble code
Another simple display program:	("munching squares")
It is thought that this was discovered by Jackson Wright on the RLE PDP-1 circa
1962.	Note: numbers below are in octal.
	DATAI	2
	ADDB	1,2
	ROTC	2,-22
	XOR	1,2
	JRST	.-4
Try things like 1001002 in the data switches.
............................................
MIT Hakmem  Item 147  (Schroeppel):
Munching squares is just views of the graph y = x XOR t for consecutive
values of t = time.

If you have a Java compatible Web Browser the applet will appear here.

Here's the source: munch.java