Compiler warning cleanup
This commit is contained in:
parent
b85af46402
commit
fdb33ce135
7 changed files with 16 additions and 12 deletions
|
@ -598,7 +598,7 @@ switch (inst) { /* case on opcode */
|
||||||
tty_busy = 0;
|
tty_busy = 0;
|
||||||
tty_mode = 0; /* mode is input */
|
tty_mode = 0; /* mode is input */
|
||||||
tty_2nd = 0;
|
tty_2nd = 0;
|
||||||
/* sim_cancel (&tty_unit[TTO]); /* cancel output */
|
/* sim_cancel (&tty_unit[TTO]); *//* cancel output */
|
||||||
}
|
}
|
||||||
CLR_INT (INT_TTY); /* clear intr */
|
CLR_INT (INT_TTY); /* clear intr */
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -360,7 +360,7 @@ const char *const text =
|
||||||
"KE11A Extended Arithmetic Option (KE)\n"
|
"KE11A Extended Arithmetic Option (KE)\n"
|
||||||
"\n"
|
"\n"
|
||||||
" The KE11A extended arithmetic option (KE) provides multiply, divide,\n"
|
" The KE11A extended arithmetic option (KE) provides multiply, divide,\n"
|
||||||
" normalization, and multi-bit shift capability on Unibus PDP-11’s that\n"
|
" normalization, and multi-bit shift capability on Unibus PDP-11's that\n"
|
||||||
" lack the EIS instruction set.\n"
|
" lack the EIS instruction set.\n"
|
||||||
"\n"
|
"\n"
|
||||||
" The KE11-A performs five arithmetic operations.\n"
|
" The KE11-A performs five arithmetic operations.\n"
|
||||||
|
|
|
@ -516,7 +516,7 @@ const char *const text =
|
||||||
"RF11/RS11 Fixed Head Disk Controller (RF)\n"
|
"RF11/RS11 Fixed Head Disk Controller (RF)\n"
|
||||||
"\n"
|
"\n"
|
||||||
/*567901234567890123456789012345678901234567890123456789012345678901234567890*/
|
/*567901234567890123456789012345678901234567890123456789012345678901234567890*/
|
||||||
" The RFll-A is a fast, low-cost, random·access bulk-storage system. An\n"
|
" The RFll-A is a fast, low-cost, random-access bulk-storage system. An\n"
|
||||||
" RFll-A provides 262,144 17-bit words (16 data bits and 1 parity bit)\n"
|
" RFll-A provides 262,144 17-bit words (16 data bits and 1 parity bit)\n"
|
||||||
" of storage. Up to eight RSll disk platters can be controlled by one RFll\n"
|
" of storage. Up to eight RSll disk platters can be controlled by one RFll\n"
|
||||||
" Controller for a total of 2,047,152 words of storage. An RFll-A includes\n"
|
" Controller for a total of 2,047,152 words of storage. An RFll-A includes\n"
|
||||||
|
@ -529,7 +529,7 @@ const char *const text =
|
||||||
" both disk storage and main memory in the PDP-11 system.\n"
|
" both disk storage and main memory in the PDP-11 system.\n"
|
||||||
/*567901234567890123456789012345678901234567890123456789012345678901234567890*/
|
/*567901234567890123456789012345678901234567890123456789012345678901234567890*/
|
||||||
"\n"
|
"\n"
|
||||||
" The RSll disk contains a nickel·cobalt·plated disk driven by a hysterisis\n"
|
" The RSll disk contains a nickel-cobalt-plated disk driven by a hysterisis\n"
|
||||||
" synchronous motor. Data is recorded on a single disk surface by 128\n"
|
" synchronous motor. Data is recorded on a single disk surface by 128\n"
|
||||||
" fixed read/write heads.\n"
|
" fixed read/write heads.\n"
|
||||||
" Operation\n"
|
" Operation\n"
|
||||||
|
|
|
@ -1418,8 +1418,8 @@ const char *const text =
|
||||||
" referred to as a line or as a character. Since. six lines make up a\n"
|
" referred to as a line or as a character. Since. six lines make up a\n"
|
||||||
" word, the tape can record, 18-bit data words. During normal data\n"
|
" word, the tape can record, 18-bit data words. During normal data\n"
|
||||||
" writing, the Controller disassembles the 18-bit word and distributes\n"
|
" writing, the Controller disassembles the 18-bit word and distributes\n"
|
||||||
" the bits so they are recorded as six 3·bit characters. Since PDP-11\n"
|
" the bits so they are recorded as six 3-bit characters. Since PDP-11\n"
|
||||||
" words are l6·bits long, the Controller writes the extra two bits as 0's\n"
|
" words are l6-bits long, the Controller writes the extra two bits as 0's\n"
|
||||||
" and ignores them when reading. However, during special modes, the\n"
|
" and ignores them when reading. However, during special modes, the\n"
|
||||||
" extra two bits can be written and recovered.\n"
|
" extra two bits can be written and recovered.\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
@ -1428,7 +1428,7 @@ const char *const text =
|
||||||
" (forward and reverse), extension zones (forward and reverse), and the\n"
|
" (forward and reverse), extension zones (forward and reverse), and the\n"
|
||||||
" information zone. The two end zones (each approximately 10 feet) mark\n"
|
" information zone. The two end zones (each approximately 10 feet) mark\n"
|
||||||
" the end of the physical tape and are used for winding the tape around\n"
|
" the end of the physical tape and are used for winding the tape around\n"
|
||||||
" the heads and onto the take·up reel. These zones never contain data.\n"
|
" the heads and onto the take-up reel. These zones never contain data.\n"
|
||||||
" The forward and reverse extension areas mark the end of the information\n"
|
" The forward and reverse extension areas mark the end of the information\n"
|
||||||
" region of the tape. Their length is sufficient to ensure that once the\n"
|
" region of the tape. Their length is sufficient to ensure that once the\n"
|
||||||
" end zone is entered and tape motion is reversed; there is adequate\n"
|
" end zone is entered and tape motion is reversed; there is adequate\n"
|
||||||
|
|
|
@ -762,7 +762,7 @@ const char *const text =
|
||||||
" read and executed the first record on tape. To allow for ANSI labels,\n"
|
" read and executed the first record on tape. To allow for ANSI labels,\n"
|
||||||
" the DEC standard bootstrap skipped the first record and read and executed\n"
|
" the DEC standard bootstrap skipped the first record and read and executed\n"
|
||||||
" the second. The DEC standard is the default; to bootstrap an original\n"
|
" the second. The DEC standard is the default; to bootstrap an original\n"
|
||||||
" format tape, use the command BOOT –O MTn. The TM11 is automatically\n"
|
" format tape, use the command BOOT -O MTn. The TM11 is automatically\n"
|
||||||
" disabled in a Qbus system with more than 256KB of memory.\n";
|
" disabled in a Qbus system with more than 256KB of memory.\n";
|
||||||
fprintf (st, "%s", text);
|
fprintf (st, "%s", text);
|
||||||
fprint_set_help (st, dptr);
|
fprint_set_help (st, dptr);
|
||||||
|
|
|
@ -644,19 +644,22 @@ if ((vc_intc.mode & 0x80) && ~(vc_intc.mode & 0x4)) { /* group int MM & not po
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((vc_csr & CSR_IEN) && (vc_icsr & ICSR_GRI)) {
|
if ((vc_csr & CSR_IEN) && (vc_icsr & ICSR_GRI)) {
|
||||||
if (!(int_req[IPL_QVSS] & (INT_QVSS)))
|
if (!(int_req[IPL_QVSS] & (INT_QVSS))) {
|
||||||
sim_debug (DBG_INT, &vc_dev, "vc_checkint(SET_INT) icsr=0x%x\n", vc_icsr);
|
sim_debug (DBG_INT, &vc_dev, "vc_checkint(SET_INT) icsr=0x%x\n", vc_icsr);
|
||||||
|
}
|
||||||
SET_INT (QVSS);
|
SET_INT (QVSS);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if ((int_req[IPL_QVSS] & (INT_QVSS)))
|
if ((int_req[IPL_QVSS] & (INT_QVSS))) {
|
||||||
sim_debug (DBG_INT, &vc_dev, "vc_checkint(CLR_INT)\n");
|
sim_debug (DBG_INT, &vc_dev, "vc_checkint(CLR_INT)\n");
|
||||||
|
}
|
||||||
CLR_INT (QVSS);
|
CLR_INT (QVSS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if ((int_req[IPL_QVSS] & (INT_QVSS)))
|
if ((int_req[IPL_QVSS] & (INT_QVSS))) {
|
||||||
sim_debug (DBG_INT, &vc_dev, "vc_checkint(CLR_INT)\n");
|
sim_debug (DBG_INT, &vc_dev, "vc_checkint(CLR_INT)\n");
|
||||||
|
}
|
||||||
CLR_INT (QVSS);
|
CLR_INT (QVSS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
3
scp.c
3
scp.c
|
@ -3684,9 +3684,10 @@ if (uptr->flags & UNIT_ATT) /* already attached? */
|
||||||
if (r != SCPE_OK) /* error? */
|
if (r != SCPE_OK) /* error? */
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
if (!(uptr->dynflags & UNIT_ATTMULT))
|
if (!(uptr->dynflags & UNIT_ATTMULT))
|
||||||
return SCPE_ALATT; /* Already attached */
|
return SCPE_ALATT; /* Already attached */
|
||||||
|
}
|
||||||
sim_trim_endspc (cptr); /* trim trailing spc */
|
sim_trim_endspc (cptr); /* trim trailing spc */
|
||||||
return scp_attach_unit (dptr, uptr, cptr); /* attach */
|
return scp_attach_unit (dptr, uptr, cptr); /* attach */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue