From 37f0b365a2da13b001ce493e893276de593cb5ee Mon Sep 17 00:00:00 2001 From: Ken Rector Date: Sat, 23 Jul 2022 16:54:19 -0700 Subject: [PATCH] sigma: UEND flag in the wrong bit position in channel status word. --- sigma/sigma_bugs.txt | 1 + sigma/sigma_io_defs.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/sigma/sigma_bugs.txt b/sigma/sigma_bugs.txt index a034283e..b6ea4c5a 100644 --- a/sigma/sigma_bugs.txt +++ b/sigma/sigma_bugs.txt @@ -122,6 +122,7 @@ 116: IO: dangling else in write direct mode 1 code causes incorrect behavior. 117: CPU: sim_interval is decremented before breakpoint test, which is incorrect. 118. MT: revised error handling failed to set tape mark status on space file forward/reverse. +119. IO: UEND flag in the wrong bit position in status word. Diagnostic Notes diff --git a/sigma/sigma_io_defs.h b/sigma/sigma_io_defs.h index 6dedd093..921c6f3a 100644 --- a/sigma/sigma_io_defs.h +++ b/sigma/sigma_io_defs.h @@ -22,6 +22,8 @@ Except as contained in this notice, the name of Robert M Supnik shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from Robert M Supnik. + + 21-Jul-22 RMS Channel UEND flag in wrong bit position (Ken Rector) */ #ifndef SIGMA_IO_DEFS_H_ @@ -97,7 +99,7 @@ typedef struct { /* Channel flags */ #define CHF_INP 0x8000 /* int pending */ -#define CHF_UEN 0x0400 /* unusual end */ +#define CHF_UEN 0x0800 /* unusual end */ #define CHF_LNTE 0x0080 /* length error */ #define CHF_XMDE 0x0040 /* xmit data error */ #define CHF_XMME 0x0020 /* xmit mem error */