CPCWiki forum

General Category => Demos => Topic started by: ssg on 23:09, 24 March 15

Title: 11 bytes maze generator
Post by: ssg on 23:09, 24 March 15
Hello folks :) It's been a while.

Here is my take on "10 PRINT"-style maze generators (11 bytes of machine code):

Source code is at:

ssg/mazecpc ยท GitHub (https://github.com/ssg/mazecpc)

EDIT: Zip I attached was broken, download here instead: https://github.com/ssg/mazecpc/releases/download/1/maze.zip (https://github.com/ssg/mazecpc/releases/download/1/maze.zip)
Title: Re: 11 bytes maze generator
Post by: GFXOR on 13:12, 11 November 15
I guess it is the shortest demo on the CPC ! :)
Interesting effect.
Title: Re: 11 bytes maze generator
Post by: Zoe Robinson on 13:15, 11 November 15
This is pretty sweet, especially given the size of the code. Well done! :D
Title: Re: 11 bytes maze generator
Post by: arnoldemu on 14:45, 11 November 15
crazy!  :)
Title: Re: 11 bytes maze generator
Post by: Urusergi on 17:13, 11 November 15
An arithmetic view, with the same size and speed  ;D

org         &4000
char        equ &cd
TXT_WR_CHAR equ &bb5d

run $

.loop: 
  ld    a, r
  rra
  sbc a
  add   char 
  call  TXT_WR_CHAR 
  jr    loop

Title: Re: 11 bytes maze generator
Post by: reidrac on 17:40, 11 November 15
Very nice!
Title: Re: 11 bytes maze generator
Post by: Kris on 14:11, 12 November 15
Interesting effect ;)
Title: Re: 11 bytes maze generator
Post by: TotO on 15:09, 12 November 15
Is the maze effect hidden on the Firmware 3.15 using the |EE RSX ?
Powered by SMFPacks Menu Editor Mod