done by Mikkoviiva
logo done by Mikkoviiva :: vote for the logos you like and be a lamah !




Munching Squares by goblinish [nfo]

platform :

  ZX Spectrum
type :

  128b
release date : july 2012
release party : DiHALT 2012
compo : zx 512b
ranked : 2nd
10
1
1
popularity :
0 %
0
0
average rating 0.75
alltime top: #12964
[download]
[youtube]
[mirrors...]
added on the 2012-07-09 by diver  

popularity helper
increase the popularity of this prod by spreading this URL:

comments
cool for 69b!
  added on the 2012-07-09 18:57:23 by diver  
nice!
  added on the 2012-07-09 20:23:17 by sensenstahl  
not bad for its size
  added on the 2012-07-09 20:31:32 by psenough  
ok
  added on the 2012-07-09 20:31:54 by bittin  
Nice intro, would be nice to see some more from the author.
  added on the 2012-07-09 21:09:20 by moroz1999  
Wonder if the author would use all 512b...
  added on the 2012-07-10 09:23:52 by lvd  
Дебильн& ;#1099;й Егонс наверня&am p;#1082;а и этот код спёр где-нибу&a mp;#1076;ь
  added on the 2012-07-10 20:38:13 by BiTL  
Good effect for this size.
  added on the 2012-07-10 23:53:03 by BackSpace  
Great for size
  added on the 2012-07-10 23:56:35 by Bugo the Cat  
a coder submitted up to 64 bytes!
good idea!
Code:

;Munching Squares
;http://mathworld.wolfram.com/MunchingSquares.html
;http://en.wikipedia.org/wiki/Munching_squares
;
device zxspectrum128
org #8000
begin
out (254),a ; hope that a is 0 at this point

ld de, #4000,a,#aa,b,#18;40
m01:
ld(de),a:inc e
jr nz, m01
cpl
inc d
;dec b
djnz m01;jr nz, m01
m1
ei:halt:halt
;ld de,#5800
push de
ld bc,#181F
m2
ld a,b:xor e:and c;#1f
m4
cp #1f
m7
jr c,m3;c
m8
ld a,b;7*9;b
jr m6
m3
xor a
m6
ld(de),a
inc de
ld a,e:and c;#1f
jr nz,m2
djnz m2
ld a,(m4+1)
dec a:and c;#1f
ld(m4+1),a
jr nz,m5
ld a,(m7):xor #18:ld (m7),a
;ld a,(m8):xor 1:ld (m8),a
m5
pop de
jr m1
end
display /d,end-begin
savesna "ms.sna",begin
;savebin "mc.bin",begin,end-begin
;SAVEHOB "mc.$c","MunSq.C",begin,end-begin
;EMPTYTRD "mc.trd"
;SAVETRD "mc.trd","MunSq.C",begin,end-begin
  added on the 2012-07-11 06:10:06 by bulb@  
well, really nice code! for this kind of work it is wonderful!
  added on the 2012-07-12 01:10:02 by alffcpu  
Multi-squares of Malevich-Krapivina! Mesmerizing, like a flame of fire... Put a big plus.
  added on the 2012-07-12 13:46:56 by Chonkin  
displaying comments (1-12) out of 12

submit changes
if this prod is a fake, some info is false or the download link is broken,
do not post about it in the comments, it will get lost.
instead, post about it.

add a comment
You need to be logged in to add a comment :: register here







pouët.net 0.9-a9e6b6e © 2000-2013 mandarine - hosted on scene.org
send comments and bug reports to webmaster@pouet.net - contribute on GitHub
page created in 0.023840 seconds.