From 9fe236ab4225d4909aa1244867e9c4eb5f8cd45d Mon Sep 17 00:00:00 2001 From: Daniel Borges Date: Wed, 26 Dec 2018 14:22:31 +0100 Subject: [PATCH] fixed offset table for top left corner --- Code/main.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Code/main.asm b/Code/main.asm index fe56870..a4f5cb3 100644 --- a/Code/main.asm +++ b/Code/main.asm @@ -395,10 +395,10 @@ YLoop: ds 1 SECTION "Game Of Life Offset Tables", ROM0 ; for a looping grid of 20x18 cells, with stride 32 -TopLeftCorner: dw 1, 33, 32, 51, 19, 563, 576, 577, 0 +TopLeftCorner: dw 1, 33, 32, 51, 19, 563, 544, 545, 0 TopRightCorner: dw -19, 13, 32, 31, -1, 543, 544, 525, 0 BottomLeftCorner: dw 1, -543, -544, -525, 19, -13, -32, -31, 0 -BottomRightCorner: dw -19, -563, -544, -545, -1, -33, -32, -51, 0 +BottomRightCorner: dw -19, -563, -544, -545, -1, -33, -32, -51, 0 TopRow: dw 1, 33, 32, 31, -1, 543, 544, 545, 0 BottomRow: dw 1, -543, -544, -545, -1, -33, -32, -31, 0 LeftColumn: dw 1, 33, 32, 51, 19, -13, -32, -31, 0 @@ -446,10 +446,10 @@ DefaultMap: ; db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ; glider db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + db 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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