mptr 318 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, CONST char *cptr, int32 flag); mptr 2450 src/simh/scp.c MTAB *mptr; mptr 2462 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2463 src/simh/scp.c if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1)) mptr 2465 src/simh/scp.c if ((enabled_units != 1) && !(mptr->mask & MTAB_XTD)) mptr 2467 src/simh/scp.c if (mptr->mstring) { mptr 2470 src/simh/scp.c mptr->mstring, mptr 2471 src/simh/scp.c (strchr(mptr->mstring, '=')) \ mptr 2472 src/simh/scp.c ? "" : (MODMASK(mptr,MTAB_VALR) \ mptr 2473 src/simh/scp.c ? "=val" : (MODMASK(mptr,MTAB_VALO) \ mptr 2475 src/simh/scp.c if ((strlen (buf) < 30) || (NULL == mptr->help)) mptr 2476 src/simh/scp.c (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); mptr 2478 src/simh/scp.c (void)fprintf (st, "%s\n%-30s\t%s\n", buf, "", mptr->help); mptr 2525 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2526 src/simh/scp.c if ((!MODMASK(mptr,MTAB_VUN)) && MODMASK(mptr,MTAB_XTD)) mptr 2528 src/simh/scp.c if ((NULL == mptr->valid) && MODMASK(mptr,MTAB_XTD)) mptr 2530 src/simh/scp.c if (mptr->mstring) { mptr 2533 src/simh/scp.c (dptr->numunits > 1) ? "n" : "0", mptr->mstring, mptr 2534 src/simh/scp.c (strchr(mptr->mstring, '=')) \ mptr 2535 src/simh/scp.c ? "" : (MODMASK(mptr,MTAB_VALR) \ mptr 2536 src/simh/scp.c ? "=val" : (MODMASK(mptr,MTAB_VALO) \ mptr 2539 src/simh/scp.c (strchr(mptr->mstring, '=')) \ mptr 2540 src/simh/scp.c ? "" : (mptr->help ? mptr->help : "")); mptr 2555 src/simh/scp.c MTAB *mptr; mptr 2566 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2567 src/simh/scp.c if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1)) mptr 2569 src/simh/scp.c if ((enabled_units != 1) && !(mptr->mask & MTAB_XTD)) mptr 2571 src/simh/scp.c if ((!mptr->disp) || (!mptr->pstring) || !(*mptr->pstring)) mptr 2575 src/simh/scp.c mptr->pstring, MODMASK(mptr,MTAB_SHP) ? "{=arg}" : ""); mptr 2576 src/simh/scp.c (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); mptr 2585 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2586 src/simh/scp.c if ((!MODMASK(mptr,MTAB_VUN)) && MODMASK(mptr,MTAB_XTD)) mptr 2588 src/simh/scp.c if ((!mptr->disp) || (!mptr->pstring)) mptr 2592 src/simh/scp.c (dptr->numunits > 1) ? "n" : "0", mptr->pstring, mptr 2593 src/simh/scp.c MODMASK(mptr,MTAB_SHP) ? "=arg" : ""); mptr 2594 src/simh/scp.c (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); mptr 2787 src/simh/scp.c mptr 2788 src/simh/scp.c mptr 2789 src/simh/scp.c mptr 4094 src/simh/scp.c MTAB *mptr; mptr 4124 src/simh/scp.c for (mptr = sim_dflt_dev->modifiers; mptr->mask != 0; mptr++) { mptr 4125 src/simh/scp.c if (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)) { mptr 4149 src/simh/scp.c for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) { mptr 4150 src/simh/scp.c if ((mptr->mstring) && /* match string */ mptr 4151 src/simh/scp.c (MATCH_CMD (gbuf, mptr->mstring) == 0)) { /* matches option? */ mptr 4152 src/simh/scp.c if (mptr->mask & MTAB_XTD) { /* extended? */ mptr 4153 src/simh/scp.c if (((lvl & mptr->mask) & ~MTAB_XTD) == 0) mptr 4157 src/simh/scp.c if (mptr->valid) { /* validation rtn? */ mptr 4158 src/simh/scp.c if (cvptr && MODMASK(mptr,MTAB_QUOTE)) { mptr 4166 src/simh/scp.c if (cvptr && MODMASK(mptr,MTAB_NC)) { mptr 4172 src/simh/scp.c r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc); mptr 4176 src/simh/scp.c else if (!mptr->desc) /* value desc? */ mptr 4180 src/simh/scp.c else *((int32 *) mptr->desc) = mptr->match; mptr 4187 src/simh/scp.c if ((mptr->valid) && /* invalid? */ mptr 4188 src/simh/scp.c ((r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc)) != SCPE_OK)) mptr 4190 src/simh/scp.c uptr->flags = (uptr->flags & ~(mptr->mask)) | mptr 4191 src/simh/scp.c (mptr->match & mptr->mask); /* set new value */ mptr 4196 src/simh/scp.c if (!mptr || (mptr->mask == 0)) { /* no match? */ mptr 4360 src/simh/scp.c MTAB *mptr; mptr 4391 src/simh/scp.c for (mptr = sim_dflt_dev->modifiers; mptr && (mptr->mask != 0); mptr++) { mptr 4392 src/simh/scp.c if ((((mptr->mask & MTAB_VDV) == MTAB_VDV) && mptr 4393 src/simh/scp.c (mptr->pstring && (MATCH_CMD (gbuf, mptr->pstring) == 0))) || //-V600 mptr 4394 src/simh/scp.c (!(mptr->mask & MTAB_VDV) && (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)))) { mptr 4423 src/simh/scp.c for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) { mptr 4424 src/simh/scp.c if (((mptr->mask & MTAB_XTD)? /* right level? */ mptr 4425 src/simh/scp.c ((mptr->mask & lvl) == lvl): (MTAB_VUN & lvl)) && mptr 4426 src/simh/scp.c ((mptr->disp && mptr->pstring && /* named disp? */ mptr 4427 src/simh/scp.c (MATCH_CMD (gbuf, mptr->pstring) == 0)) mptr 4429 src/simh/scp.c if (cvptr && !MODMASK(mptr,MTAB_SHP)) mptr 4431 src/simh/scp.c show_one_mod (ofile, dptr, uptr, mptr, cvptr, 1); mptr 4435 src/simh/scp.c if (!mptr || (mptr->mask == 0)) { /* no match? */ mptr 5767 src/simh/scp.c MTAB *mptr; mptr 5772 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 5773 src/simh/scp.c if (mptr->pstring && mptr 5774 src/simh/scp.c ((mptr->mask & MTAB_XTD)? mptr 5775 src/simh/scp.c (MODMASK(mptr,flag) && !MODMASK(mptr,MTAB_NMO)): mptr 5776 src/simh/scp.c ((MTAB_VUN == (uint32)flag) && ((uptr->flags & mptr->mask) == mptr->match)))) { mptr 5783 src/simh/scp.c r = show_one_mod (st, dptr, uptr, mptr, NULL, 0); mptr 5789 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, mptr 5794 src/simh/scp.c if (mptr->disp) mptr 5795 src/simh/scp.c r = mptr->disp (st, uptr, mptr->match, (CONST void *)(cptr? cptr: mptr->desc)); mptr 5797 src/simh/scp.c fputs (mptr->pstring, st); mptr 5798 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);