From fb0d09a277ce74959552fe1ce58f1b4d7ee8419f Mon Sep 17 00:00:00 2001
From: Greg King <gregdk@users.sf.net>
Date: Fri, 6 Dec 2019 14:47:47 -0500
Subject: [PATCH 128/170] Changed sim65's internal error codes from 9-bit
values to 7-bit values.
Some shells truncate process return codes to 8 bits. And, the eigth bit often is used to show that a signal stopped the process.
---
src/sim65/error.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sim65/error.h b/src/sim65/error.h
index 5d6e8be2..cbb78587 100644
--- a/src/sim65/error.h
+++ b/src/sim65/error.h
@@ -49,10 +49,10 @@
-#define SIM65_ERROR 256
+#define SIM65_ERROR 0x7F
/* Does not use EXIT_FAILURE because it may overlap with test results. */
-#define SIM65_ERROR_TIMEOUT 257
+#define SIM65_ERROR_TIMEOUT 0x7E
/* An error result for max CPU instructions exceeded. */
--
2.26.0