1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-03-10 20:34:47 +00:00

IBM360: Add ablity to disable individual lines in SCOM.

This commit is contained in:
Richard Cornwell
2023-06-28 21:49:40 -04:00
parent 1c1e0ae94e
commit c2104e9176

View File

@@ -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);