1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-02-02 14:51:51 +00:00

KA10: Minor cleanup. Added definitions for DEV_CARD, DEV_TAPE.

This commit is contained in:
Richard Cornwell
2018-07-18 13:54:03 -04:00
parent 38415cc59e
commit 7e7b143ae7
5 changed files with 4 additions and 6 deletions

View File

@@ -100,7 +100,7 @@ DEVICE cp_dev = {
"CP", &cp_unit, NULL, cp_mod,
NUM_DEVS_CP, 8, 15, 1, 8, 8,
NULL, NULL, NULL, NULL, &cp_attach, &cp_detach,
&cp_dib, DEV_DISABLE | DEV_DEBUG, 0, crd_debug,
&cp_dib, DEV_DISABLE | DEV_DEBUG | DEV_CARD, 0, crd_debug,
NULL, NULL, &cp_help, NULL, NULL, &cp_description
};

View File

@@ -100,7 +100,7 @@ DEVICE cr_dev = {
"CR", &cr_unit, NULL, cr_mod,
NUM_DEVS_CR, 8, 15, 1, 8, 8,
NULL, NULL, NULL, NULL, &cr_attach, &cr_detach,
&cr_dib, DEV_DISABLE | DEV_DEBUG, 0, crd_debug,
&cr_dib, DEV_DISABLE | DEV_DEBUG | DEV_CARD, 0, crd_debug,
NULL, NULL, &cr_help, NULL, NULL, &cr_description
};

View File

@@ -115,8 +115,6 @@ t_stat cty_devio(uint32 dev, uint64 *data) {
cty_unit[0].u4 = *data & 0x7f;
cty_unit[0].u3 &= ~TEL_RDY;
cty_unit[0].u3 |= TEL_BSY;
if ((cty_unit[0].u3 & KEY_RDY) == 0)
clr_interrupt(dev);
sim_activate(&cty_unit[0], cty_unit[0].wait);
sim_debug(DEBUG_DATAIO, &cty_dev, "CTY %03o DATAO %06o\n", dev, (uint32)*data);
break;

View File

@@ -201,7 +201,7 @@ DEVICE mt_dev = {
"MTA", mt_unit, NULL, mt_mod,
8, 8, 15, 1, 8, 8,
NULL, NULL, &mt_reset, &mt_boot, &mt_attach, &mt_detach,
&mt_dib, DEV_DISABLE | DEV_DEBUG, 0, dev_debug,
&mt_dib, DEV_DISABLE | DEV_DEBUG | DEV_TAPE, 0, dev_debug,
NULL, NULL, &mt_help, NULL, NULL, &mt_description
};

View File

@@ -270,7 +270,7 @@ DEVICE tua_dev = {
"TUA", tu_unit, NULL, tu_mod,
NUM_UNITS_TU, 8, 18, 1, 8, 36,
NULL, NULL, &tu_reset, &tu_boot, &tu_attach, &tu_detach,
&tu_dib[0], DEV_DISABLE | DEV_DEBUG, 0, dev_debug,
&tu_dib[0], DEV_DISABLE | DEV_DEBUG | DEV_TAPE, 0, dev_debug,
NULL, NULL, &tu_help, NULL, NULL, &tu_description
};