sim65 use error codes outside the simulated program's range for non-sim errors

This commit is contained in:
bbbradsmith
2023-05-07 16:51:12 -04:00
parent 7f0baff792
commit 2cb457b85f
3 changed files with 13 additions and 4 deletions

View File

@@ -44,6 +44,13 @@ The simulator is called as follows:
--version Print the simulator version number
</verb></tscreen>
sim65 will exit with the error code of the simulated program,
which is limited to an 8-bit result 0-255.
An error in sim65, like bad arguments or an internal problem will exit with <tt/1/.
A timeout from <tt/-x/ will exist with <tt/2/.
<sect1>Command line options in detail<p>