From def3bb7a04fb650effe0dbf39e91ca775e129174 Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Thu, 30 Apr 2020 11:13:21 +0200 Subject: [PATCH] Add a check that lower part of MAZE code fits in 2K. --- src/imsrc/maze.3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/imsrc/maze.3 b/src/imsrc/maze.3 index 4b598394..f38d92d2 100644 --- a/src/imsrc/maze.3 +++ b/src/imsrc/maze.3 @@ -2524,7 +2524,8 @@ ININFO: 0 ; input information from 10 buffer CONSTANTS -;loc 14000 ;happens about here anyway, just needs precision. +; constants and WALLS must be below 14000 +IFGE .-14000, .ERR Code overflows 2k boundary. ; ; distances to walls table