From f6961e440ed23676d0ff455cfa332e6334362dd1 Mon Sep 17 00:00:00 2001 From: Jan Phillips Date: Thu, 4 Jan 2024 20:42:32 +0000 Subject: [PATCH] complete --- big_checkerboard.asm | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/big_checkerboard.asm b/big_checkerboard.asm index f8ca27d..61029b8 100644 --- a/big_checkerboard.asm +++ b/big_checkerboard.asm @@ -6,9 +6,19 @@ //1 row of squares = 32 * 64 words = +(start) + @word M=-1 +@67 +D=A +@KBD +D=D-M +@flip_word +D;JEQ + +(setup) @SCREEN D=A @@ -97,7 +107,14 @@ MD=M-1 @row D;JGT -(end) -@end +@start 0;JMP +(flip_word) +@word +M=!M +@setup +0;JMP + + +