mptr 314 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, CONST char *cptr, int32 flag); mptr 2374 src/simh/scp.c MTAB *mptr; mptr 2386 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2387 src/simh/scp.c if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1)) mptr 2389 src/simh/scp.c if ((enabled_units != 1) && !(mptr->mask & MTAB_XTD)) mptr 2391 src/simh/scp.c if (mptr->mstring) { mptr 2394 src/simh/scp.c mptr->mstring, mptr 2395 src/simh/scp.c (strchr(mptr->mstring, '=')) \ mptr 2396 src/simh/scp.c ? "" : (MODMASK(mptr,MTAB_VALR) \ mptr 2397 src/simh/scp.c ? "=val" : (MODMASK(mptr,MTAB_VALO) \ mptr 2399 src/simh/scp.c if ((strlen (buf) < 30) || (NULL == mptr->help)) mptr 2400 src/simh/scp.c (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); mptr 2402 src/simh/scp.c (void)fprintf (st, "%s\n%-30s\t%s\n", buf, "", mptr->help); mptr 2449 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2450 src/simh/scp.c if ((!MODMASK(mptr,MTAB_VUN)) && MODMASK(mptr,MTAB_XTD)) mptr 2452 src/simh/scp.c if ((NULL == mptr->valid) && MODMASK(mptr,MTAB_XTD)) mptr 2454 src/simh/scp.c if (mptr->mstring) { mptr 2457 src/simh/scp.c (dptr->numunits > 1) ? "n" : "0", mptr->mstring, mptr 2458 src/simh/scp.c (strchr(mptr->mstring, '=')) \ mptr 2459 src/simh/scp.c ? "" : (MODMASK(mptr,MTAB_VALR) \ mptr 2460 src/simh/scp.c ? "=val" : (MODMASK(mptr,MTAB_VALO) \ mptr 2463 src/simh/scp.c (strchr(mptr->mstring, '=')) \ mptr 2464 src/simh/scp.c ? "" : (mptr->help ? mptr->help : "")); mptr 2479 src/simh/scp.c MTAB *mptr; mptr 2490 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2491 src/simh/scp.c if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1)) mptr 2493 src/simh/scp.c if ((enabled_units != 1) && !(mptr->mask & MTAB_XTD)) mptr 2495 src/simh/scp.c if ((!mptr->disp) || (!mptr->pstring) || !(*mptr->pstring)) mptr 2499 src/simh/scp.c mptr->pstring, MODMASK(mptr,MTAB_SHP) ? "{=arg}" : ""); mptr 2500 src/simh/scp.c (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); mptr 2509 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2510 src/simh/scp.c if ((!MODMASK(mptr,MTAB_VUN)) && MODMASK(mptr,MTAB_XTD)) mptr 2512 src/simh/scp.c if ((!mptr->disp) || (!mptr->pstring)) mptr 2516 src/simh/scp.c (dptr->numunits > 1) ? "n" : "0", mptr->pstring, mptr 2517 src/simh/scp.c MODMASK(mptr,MTAB_SHP) ? "=arg" : ""); mptr 2518 src/simh/scp.c (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); mptr 2711 src/simh/scp.c mptr 2712 src/simh/scp.c mptr 2713 src/simh/scp.c mptr 4017 src/simh/scp.c MTAB *mptr; mptr 4047 src/simh/scp.c for (mptr = sim_dflt_dev->modifiers; mptr->mask != 0; mptr++) { mptr 4048 src/simh/scp.c if (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)) { mptr 4072 src/simh/scp.c for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) { mptr 4073 src/simh/scp.c if ((mptr->mstring) && /* match string */ mptr 4074 src/simh/scp.c (MATCH_CMD (gbuf, mptr->mstring) == 0)) { /* matches option? */ mptr 4075 src/simh/scp.c if (mptr->mask & MTAB_XTD) { /* extended? */ mptr 4076 src/simh/scp.c if (((lvl & mptr->mask) & ~MTAB_XTD) == 0) mptr 4080 src/simh/scp.c if (mptr->valid) { /* validation rtn? */ mptr 4081 src/simh/scp.c if (cvptr && MODMASK(mptr,MTAB_QUOTE)) { mptr 4089 src/simh/scp.c if (cvptr && MODMASK(mptr,MTAB_NC)) { mptr 4095 src/simh/scp.c r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc); mptr 4099 src/simh/scp.c else if (!mptr->desc) /* value desc? */ mptr 4103 src/simh/scp.c else *((int32 *) mptr->desc) = mptr->match; mptr 4110 src/simh/scp.c if ((mptr->valid) && /* invalid? */ mptr 4111 src/simh/scp.c ((r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc)) != SCPE_OK)) mptr 4113 src/simh/scp.c uptr->flags = (uptr->flags & ~(mptr->mask)) | mptr 4114 src/simh/scp.c (mptr->match & mptr->mask); /* set new value */ mptr 4119 src/simh/scp.c if (!mptr || (mptr->mask == 0)) { /* no match? */ mptr 4283 src/simh/scp.c MTAB *mptr; mptr 4314 src/simh/scp.c for (mptr = sim_dflt_dev->modifiers; mptr && (mptr->mask != 0); mptr++) { mptr 4315 src/simh/scp.c if ((((mptr->mask & MTAB_VDV) == MTAB_VDV) && mptr 4316 src/simh/scp.c (mptr->pstring && (MATCH_CMD (gbuf, mptr->pstring) == 0))) || //-V600 mptr 4317 src/simh/scp.c (!(mptr->mask & MTAB_VDV) && (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)))) { mptr 4346 src/simh/scp.c for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) { mptr 4347 src/simh/scp.c if (((mptr->mask & MTAB_XTD)? /* right level? */ mptr 4348 src/simh/scp.c ((mptr->mask & lvl) == lvl): (MTAB_VUN & lvl)) && mptr 4349 src/simh/scp.c ((mptr->disp && mptr->pstring && /* named disp? */ mptr 4350 src/simh/scp.c (MATCH_CMD (gbuf, mptr->pstring) == 0)) mptr 4352 src/simh/scp.c if (cvptr && !MODMASK(mptr,MTAB_SHP)) mptr 4354 src/simh/scp.c show_one_mod (ofile, dptr, uptr, mptr, cvptr, 1); mptr 4358 src/simh/scp.c if (!mptr || (mptr->mask == 0)) { /* no match? */ mptr 5689 src/simh/scp.c MTAB *mptr; mptr 5694 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 5695 src/simh/scp.c if (mptr->pstring && mptr 5696 src/simh/scp.c ((mptr->mask & MTAB_XTD)? mptr 5697 src/simh/scp.c (MODMASK(mptr,flag) && !MODMASK(mptr,MTAB_NMO)): mptr 5698 src/simh/scp.c ((MTAB_VUN == (uint32)flag) && ((uptr->flags & mptr->mask) == mptr->match)))) { mptr 5705 src/simh/scp.c r = show_one_mod (st, dptr, uptr, mptr, NULL, 0); mptr 5711 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, mptr 5716 src/simh/scp.c if (mptr->disp) mptr 5717 src/simh/scp.c r = mptr->disp (st, uptr, mptr->match, (CONST void *)(cptr? cptr: mptr->desc)); mptr 5719 src/simh/scp.c fputs (mptr->pstring, st); mptr 5720 src/simh/scp.c if ((r == SCPE_OK) && (flag && !((mptr->mask & MTAB_XTD) && MODMASK(mptr,MTAB_NMO)))) mptr 586 src/simh/sim_defs.h # define MODMASK(mptr,flag) (((mptr)->mask & (uint32)(flag)) == (uint32)(flag))/* flag mask test */ mptr 3413 src/simh/sim_tmxr.c MTAB *mptr; mptr 3415 src/simh/sim_tmxr.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) mptr 3416 src/simh/sim_tmxr.c if (mptr->valid == &tmxr_dscln) { mptr 3418 src/simh/sim_tmxr.c fprintf (st, " sim> SET %s %s=n\n\n", dptr->name, mptr->mstring); mptr 3423 src/simh/sim_tmxr.c fprintf (st, "adding the -C switch to a %s command.\n\n", mptr->mstring); mptr 3424 src/simh/sim_tmxr.c fprintf (st, " sim> SET -C %s %s=n\n\n", dptr->name, mptr->mstring);