SCP: Add help for NOEXPECT and spelling cleanups

This commit is contained in:
Mark Pizzolato 2016-12-29 13:52:06 -08:00
parent 0275ef05e8
commit e52ac6d57f
5 changed files with 12 additions and 10 deletions

View file

@ -290,7 +290,7 @@ switch ((PA >> 1) & 03) { /* decode PA<2:1> */
case 01: /* dci buf */ case 01: /* dci buf */
dci_clr_int (ln); dci_clr_int (ln);
*data = dci_buf[ln]; *data = dci_buf[ln];
/* Rechedule the next poll preceisely so that /* Reschedule the next poll preceisely so that the
the programmed input speed is observed. */ the programmed input speed is observed. */
sim_clock_coschedule_abs (&dci_unit, tmxr_poll); sim_clock_coschedule_abs (&dci_unit, tmxr_poll);
return SCPE_OK; return SCPE_OK;

View file

@ -273,7 +273,7 @@ switch ((PA >> 1) & 03) { /* decode PA<2:1> */
*data = dli_buf[ln] & DLIBUF_RD; *data = dli_buf[ln] & DLIBUF_RD;
dli_csr[ln] &= ~CSR_DONE; /* clr rcv done */ dli_csr[ln] &= ~CSR_DONE; /* clr rcv done */
dli_clr_int (ln, DLI_RCI); /* clr rcv int req */ dli_clr_int (ln, DLI_RCI); /* clr rcv int req */
/* Rechedule the next poll preceisely so that /* Reschedule the next poll preceisely so that
the programmed input speed is observed. */ the programmed input speed is observed. */
sim_clock_coschedule_abs (&dli_unit, tmxr_poll); sim_clock_coschedule_abs (&dli_unit, tmxr_poll);
break; break;

View file

@ -398,7 +398,7 @@ switch ((PA >> 1) & 03) { /* case on PA<2:1> */
tmxr_poll_rx (&dz_desc); /* poll input */ tmxr_poll_rx (&dz_desc); /* poll input */
dz_update_rcvi (); /* update rx intr */ dz_update_rcvi (); /* update rx intr */
if (dz_rbuf[dz]) { if (dz_rbuf[dz]) {
/* Rechedule the next poll preceisely so that /* Reschedule the next poll preceisely so that the
the programmed input speed is observed. */ the programmed input speed is observed. */
sim_clock_coschedule_abs (dz_unit, tmxr_poll); sim_clock_coschedule_abs (dz_unit, tmxr_poll);
} }

View file

@ -162,11 +162,11 @@ MTAB ttix_mod[] = {
#define DBG_TRC TMXR_DBG_TRC /* display trace routine calls */ #define DBG_TRC TMXR_DBG_TRC /* display trace routine calls */
DEBTAB ttx_debug[] = { DEBTAB ttx_debug[] = {
{"XMT", DBG_XMT}, {"XMT", DBG_XMT, "Transmitted Data"},
{"RCV", DBG_RCV}, {"RCV", DBG_RCV, "Received Data"},
{"RET", DBG_RET}, {"RET", DBG_RET, "Returned Received Data"},
{"CON", DBG_CON}, {"CON", DBG_CON, "connection activities"},
{"TRC", DBG_TRC}, {"TRC", DBG_TRC, "trace routine calls"},
{0} {0}
}; };

6
scp.c
View file

@ -1549,8 +1549,9 @@ ASSERT failure have several different actions:
/***************** 80 character line width template *************************/ /***************** 80 character line width template *************************/
"3Reacting To Console Output\n" "3Reacting To Console Output\n"
" The EXPECT command provides a way to stop execution and take actions\n" " The EXPECT command provides a way to stop execution and take actions\n"
" when specific output has been generated by the simulated system.\n" " when specific output has been generated by the simulated system.\n\n"
"++EXPECT {dev:line} {[count]} {HALTAFTER=n,}\"<string>\" {actioncommand {; actioncommand}...}\n\n" "++EXPECT {dev:line} {[count]} {HALTAFTER=n,}\"<string>\" {actioncommand {; actioncommand}...}\n\n"
"++NOEXPECT {dev:line} \"<string>\"\n\n"
" The string argument must be delimited by quote characters. Quotes may\n" " The string argument must be delimited by quote characters. Quotes may\n"
" be either single or double but the opening and closing quote characters\n" " be either single or double but the opening and closing quote characters\n"
" must match. Data in the string may contain escaped character strings.\n" " must match. Data in the string may contain escaped character strings.\n"
@ -1567,7 +1568,8 @@ ASSERT failure have several different actions:
" Once data has matched any expect rule, that data is no longer eligible\n" " Once data has matched any expect rule, that data is no longer eligible\n"
" to match other expect rules which may already be defined.\n" " to match other expect rules which may already be defined.\n"
" Data which is output prior to the definition of an expect rule is not\n" " Data which is output prior to the definition of an expect rule is not\n"
" eligible to be matched against.\n" " eligible to be matched against.\n\n"
" The NOEXPECT command removes a previously defined EXPECT command.\n"
/***************** 80 character line width template *************************/ /***************** 80 character line width template *************************/
"4Switches\n" "4Switches\n"
" Switches can be used to influence the behavior of EXPECT rules\n\n" " Switches can be used to influence the behavior of EXPECT rules\n\n"