From c2104e9176b0ddc6c8abc2bf93d4d25636927622 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Wed, 28 Jun 2023 21:49:40 -0400 Subject: [PATCH] IBM360: Add ablity to disable individual lines in SCOM. --- IBM360/ibm360_scom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IBM360/ibm360_scom.c b/IBM360/ibm360_scom.c index 46e0e06..475b375 100644 --- a/IBM360/ibm360_scom.c +++ b/IBM360/ibm360_scom.c @@ -27,7 +27,7 @@ #include "sim_tmxr.h" #ifdef NUM_DEVS_COM -#define UNIT_COM 0 +#define UNIT_COM UNIT_DISABLE @@ -144,7 +144,7 @@ MTAB scoml_mod[] = { }; UNIT scom_unit[] = { - {UDATA(&scom_scan, UNIT_ATTABLE | UNIT_IDLE, 0)}, /* Line scanner */ + {UDATA(&scom_scan, UNIT_ATTABLE | UNIT_DISABLE | UNIT_IDLE, 0)}, /* Line scanner */ }; UNIT scoml_unit[] = { @@ -186,7 +186,7 @@ DEVICE scoml_dev = { /* - * Issue a scommand to the 2701 controller. + * Issue a scommand to the 3271 controller. */ uint8 scoml_startcmd(UNIT *uptr, uint8 cmd) { DEVICE *dptr = find_dev_from_unit(uptr);