diff --git a/maze.tal b/maze.tal index 0b49d15..b3af832 100644 --- a/maze.tal +++ b/maze.tal @@ -376,17 +376,17 @@ RTN |8000 -( 64x40 cells = 2560 bytes - - cell byte layout: - * bit 1 -> 1=open, 0=wall - * bit 2 -> 1=seen, 0=unseen - * bit 3 -> 1=start, 0=not-start - * bits 4-5 -> direction to previous link, 0=n 1=e 2=s 3=w - -we use the link to support backtracking without -needing a separate stack. -) +( 64x40 cells = 2560 bytes ) +( ) +( cell byte layout: ) +( * bit 1 -> 1=open, 0=wall ) +( * bit 2 -> 1=seen, 0=unseen ) +( * bit 3 -> 1=start, 0=not-start ) +( * bits 4-5 -> direction to previous link, 0=n 1=e 2=s 3=w ) +( * bit 6 -> 1=visited 0=unvisited ) +( ) +( we use the link to support backtracking without ) +( needing a separate stack. ) @maze $2560 ( convenience for less branching when printing hex )