diff --git a/Tools/unix/zx/zx.c b/Tools/unix/zx/zx.c index ea5c4d37..bb730a2c 100644 --- a/Tools/unix/zx/zx.c +++ b/Tools/unix/zx/zx.c @@ -420,6 +420,7 @@ int zx_term(void) //n = RAM[0x81]; /* Get the return code. This is Hi-Tech C */ //n = (n << 8) | RAM[0x80]; /* specific and fails with other COM files */ + n = 0; putchar('\n'); diff --git a/Tools/zx/zx-src.zip b/Tools/zx/zx-src.zip index 859cef32..1d51fd61 100644 Binary files a/Tools/zx/zx-src.zip and b/Tools/zx/zx-src.zip differ diff --git a/Tools/zx/zx.exe b/Tools/zx/zx.exe index 322ad372..d2cca5e4 100644 Binary files a/Tools/zx/zx.exe and b/Tools/zx/zx.exe differ diff --git a/Tools/zx/zxdbg.exe b/Tools/zx/zxdbg.exe index c02fc8e3..070a9bf8 100644 Binary files a/Tools/zx/zxdbg.exe and b/Tools/zx/zxdbg.exe differ