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:
parent
d5c804f851
commit
fb0d09a277
1 changed files with 2 additions and 2 deletions
|
@ -49,10 +49,10 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define SIM65_ERROR 256
|
#define SIM65_ERROR 0x7F
|
||||||
/* Does not use EXIT_FAILURE because it may overlap with test results. */
|
/* 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. */
|
/* An error result for max CPU instructions exceeded. */
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue