mptr 243 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, CONST char *cptr, int32 flag); mptr 2203 src/simh/scp.c MTAB *mptr; mptr 2215 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2216 src/simh/scp.c if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1)) mptr 2218 src/simh/scp.c if ((enabled_units != 1) && !(mptr->mask & MTAB_XTD)) mptr 2220 src/simh/scp.c if (mptr->mstring) { mptr 2222 src/simh/scp.c sprintf (buf, "SET %s %s%s", sim_dname (dptr), mptr->mstring, (strchr(mptr->mstring, '=')) ? "" : (MODMASK(mptr,MTAB_VALR) ? "=val" : (MODMASK(mptr,MTAB_VALO) ? "{=val}" : ""))); mptr 2223 src/simh/scp.c if ((strlen (buf) < 30) || (!mptr->help)) mptr 2224 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); mptr 2226 src/simh/scp.c fprintf (st, "%s\n%-30s\t%s\n", buf, "", mptr->help); mptr 2273 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2274 src/simh/scp.c if ((!MODMASK(mptr,MTAB_VUN)) && MODMASK(mptr,MTAB_XTD)) mptr 2276 src/simh/scp.c if ((!mptr->valid) && MODMASK(mptr,MTAB_XTD)) mptr 2278 src/simh/scp.c if (mptr->mstring) { mptr 2280 src/simh/scp.c sprintf (buf, "SET %s%s %s%s", sim_dname (dptr), (dptr->numunits > 1) ? "n" : "0", mptr->mstring, (strchr(mptr->mstring, '=')) ? "" : (MODMASK(mptr,MTAB_VALR) ? "=val" : (MODMASK(mptr,MTAB_VALO) ? "{=val}": ""))); mptr 2281 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, (strchr(mptr->mstring, '=')) ? "" : (mptr->help ? mptr->help : "")); mptr 2296 src/simh/scp.c MTAB *mptr; mptr 2307 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2308 src/simh/scp.c if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1)) mptr 2310 src/simh/scp.c if ((enabled_units != 1) && !(mptr->mask & MTAB_XTD)) mptr 2312 src/simh/scp.c if ((!mptr->disp) || (!mptr->pstring) || !(*mptr->pstring)) mptr 2315 src/simh/scp.c sprintf (buf, "SHOW %s %s%s", sim_dname (dptr), mptr->pstring, MODMASK(mptr,MTAB_SHP) ? "{=arg}" : ""); mptr 2316 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); mptr 2325 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 2326 src/simh/scp.c if ((!MODMASK(mptr,MTAB_VUN)) && MODMASK(mptr,MTAB_XTD)) mptr 2328 src/simh/scp.c if ((!mptr->disp) || (!mptr->pstring)) mptr 2331 src/simh/scp.c sprintf (buf, "SHOW %s%s %s%s", sim_dname (dptr), (dptr->numunits > 1) ? "n" : "0", mptr->pstring, MODMASK(mptr,MTAB_SHP) ? "=arg" : ""); mptr 2332 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); mptr 2522 src/simh/scp.c mptr 2523 src/simh/scp.c mptr 2524 src/simh/scp.c mptr 3791 src/simh/scp.c MTAB *mptr; mptr 3821 src/simh/scp.c for (mptr = sim_dflt_dev->modifiers; mptr->mask != 0; mptr++) { mptr 3822 src/simh/scp.c if (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)) { mptr 3846 src/simh/scp.c for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) { mptr 3847 src/simh/scp.c if ((mptr->mstring) && /* match string */ mptr 3848 src/simh/scp.c (MATCH_CMD (gbuf, mptr->mstring) == 0)) { /* matches option? */ mptr 3849 src/simh/scp.c if (mptr->mask & MTAB_XTD) { /* extended? */ mptr 3850 src/simh/scp.c if (((lvl & mptr->mask) & ~MTAB_XTD) == 0) mptr 3854 src/simh/scp.c if (mptr->valid) { /* validation rtn? */ mptr 3855 src/simh/scp.c if (cvptr && MODMASK(mptr,MTAB_QUOTE)) { mptr 3863 src/simh/scp.c if (cvptr && MODMASK(mptr,MTAB_NC)) { mptr 3869 src/simh/scp.c r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc); mptr 3873 src/simh/scp.c else if (!mptr->desc) /* value desc? */ mptr 3877 src/simh/scp.c else *((int32 *) mptr->desc) = mptr->match; mptr 3884 src/simh/scp.c if ((mptr->valid) && /* invalid? */ mptr 3885 src/simh/scp.c ((r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc)) != SCPE_OK)) mptr 3887 src/simh/scp.c uptr->flags = (uptr->flags & ~(mptr->mask)) | mptr 3888 src/simh/scp.c (mptr->match & mptr->mask); /* set new value */ mptr 3893 src/simh/scp.c if (!mptr || (mptr->mask == 0)) { /* no match? */ mptr 4057 src/simh/scp.c MTAB *mptr; mptr 4088 src/simh/scp.c for (mptr = sim_dflt_dev->modifiers; mptr && (mptr->mask != 0); mptr++) { mptr 4089 src/simh/scp.c if ((((mptr->mask & MTAB_VDV) == MTAB_VDV) && mptr 4090 src/simh/scp.c (mptr->pstring && (MATCH_CMD (gbuf, mptr->pstring) == 0))) || //-V600 mptr 4091 src/simh/scp.c (!(mptr->mask & MTAB_VDV) && (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)))) { mptr 4120 src/simh/scp.c for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) { mptr 4121 src/simh/scp.c if (((mptr->mask & MTAB_XTD)? /* right level? */ mptr 4122 src/simh/scp.c ((mptr->mask & lvl) == lvl): (MTAB_VUN & lvl)) && mptr 4123 src/simh/scp.c ((mptr->disp && mptr->pstring && /* named disp? */ mptr 4124 src/simh/scp.c (MATCH_CMD (gbuf, mptr->pstring) == 0)) mptr 4126 src/simh/scp.c if (cvptr && !MODMASK(mptr,MTAB_SHP)) mptr 4128 src/simh/scp.c show_one_mod (ofile, dptr, uptr, mptr, cvptr, 1); mptr 4132 src/simh/scp.c if (!mptr || (mptr->mask == 0)) { /* no match? */ mptr 5143 src/simh/scp.c MTAB *mptr; mptr 5148 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) { mptr 5149 src/simh/scp.c if (mptr->pstring && mptr 5150 src/simh/scp.c ((mptr->mask & MTAB_XTD)? mptr 5151 src/simh/scp.c (MODMASK(mptr,flag) && !MODMASK(mptr,MTAB_NMO)): mptr 5152 src/simh/scp.c ((MTAB_VUN == (uint32)flag) && ((uptr->flags & mptr->mask) == mptr->match)))) { mptr 5159 src/simh/scp.c r = show_one_mod (st, dptr, uptr, mptr, NULL, 0); mptr 5165 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, mptr 5170 src/simh/scp.c if (mptr->disp) mptr 5171 src/simh/scp.c r = mptr->disp (st, uptr, mptr->match, (CONST void *)(cptr? cptr: mptr->desc)); mptr 5173 src/simh/scp.c fputs (mptr->pstring, st); mptr 5174 src/simh/scp.c if ((r == SCPE_OK) && (flag && !((mptr->mask & MTAB_XTD) && MODMASK(mptr,MTAB_NMO)))) mptr 574 src/simh/sim_defs.h # define MODMASK(mptr,flag) (((mptr)->mask & (uint32)(flag)) == (uint32)(flag))/* flag mask test */ mptr 3316 src/simh/sim_tmxr.c MTAB *mptr; mptr 3318 src/simh/sim_tmxr.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) mptr 3319 src/simh/sim_tmxr.c if (mptr->valid == &tmxr_dscln) { mptr 3321 src/simh/sim_tmxr.c fprintf (st, " sim> SET %s %s=n\n\n", dptr->name, mptr->mstring); mptr 3326 src/simh/sim_tmxr.c fprintf (st, "adding the -C switch to a %s command.\n\n", mptr->mstring); mptr 3327 src/simh/sim_tmxr.c fprintf (st, " sim> SET -C %s %s=n\n\n", dptr->name, mptr->mstring);