1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00

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.
This commit is contained in:
Greg King 2019-12-06 14:47:47 -05:00
parent d5c804f851
commit fb0d09a277

View File

@ -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. */