Skip to content

Commit 651780c

Browse files
committed
Remove stray tab characters which crept in over time
1 parent f7330bc commit 651780c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+934
-934
lines changed

PDP10/pdp10_mdfp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ if (r->sign) { /* negate? */
803803
if (fdvneg) { /* fdvr special? */
804804
val[1] = ~val[1] & MMASK; /* 1's comp */
805805
val[0] = ~val[0] & DMASK;
806-
}
806+
}
807807
else { /* 2's comp */
808808
DMOVN (val);
809809
}

PDP10/pdp10_tim.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ tim_ttg = tim_period; /* reload */
200200
apr_flg = apr_flg | APRF_TIM; /* request interrupt */
201201
if (Q_ITS) { /* ITS? */
202202
if (pi_act == 0)
203-
quant = (quant + TIM_ITS_QUANT) & DMASK;
203+
quant = (quant + TIM_ITS_QUANT) & DMASK;
204204
if (TSTS (pcst)) { /* PC sampling? */
205205
WriteP ((a10) pcst & AMASK, pager_PC); /* store sample */
206206
pcst = AOB (pcst); /* add 1,,1 */

PDP11/pdp11_cr_dat.h

+605-605
Large diffs are not rendered by default.

PDP11/pdp11_dc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ if (ln > DCX_MAXMUX) /* validate line number
278278
switch ((PA >> 1) & 03) { /* decode PA<2:1> */
279279

280280
case 00: /* dci csr */
281-
if (dci_csr[ln] & DCICSR_ALLERR)
281+
if (dci_csr[ln] & DCICSR_ALLERR)
282282
dci_csr[ln] |= DCICSR_ERR;
283283
else dci_csr[ln] &= ~DCICSR_ERR;
284284
*data = dci_csr[ln] & DCICSR_RD;

PDP11/pdp11_dmc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ t_stat dmc_help_attach (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, char *cp
906906
fprintf (st, "The communication line performs input and output through a TCP session\n");
907907
fprintf (st, "connected to a user-specified port. The ATTACH command specifies the");
908908
fprintf (st, "port to be used:\n\n");
909-
fprintf (st, " sim> ATTACH %s {interface:}port set up listening port\n\n", dptr->name);
909+
fprintf (st, " sim> ATTACH %s {interface:}port set up listening port\n\n", dptr->name);
910910
fprintf (st, "where port is a decimal number between 1 and 65535 that is not being used for\n");
911911
fprintf (st, "other TCP/IP activities. An ATTACH is required even if in PRIMARY mode. \n\n");
912912
return SCPE_OK;

PDP11/pdp11_dz.c

+11-11
Original file line numberDiff line numberDiff line change
@@ -897,15 +897,15 @@ fprintf (st, "%s Terminal Multiplexer (DZ)\n\n", devtype);
897897
fprintf (st, "The %s is a %d line terminal multiplexor. Up to %d %s's (%d lines) are\n", devtype, DZ_LINES, MAX_DZ_MUXES, devtype, DZ_LINES*MAX_DZ_MUXES);
898898
fprintf (st, "supported. The default number of lines is %d. The number of lines can\n", DZ_LINES*DZ_MUXES);
899899
fprintf (st, "be changed with the command\n\n");
900-
fprintf (st, " sim> SET %s LINES=n set line count to n\n\n", dptr->name);
900+
fprintf (st, " sim> SET %s LINES=n set line count to n\n\n", dptr->name);
901901
fprintf (st, "The line count must be a multiple of %d, with a maximum of %d.\n\n", DZ_LINES, DZ_LINES*MAX_DZ_MUXES);
902902
fprintf (st, "The %s supports three character processing modes, 7P, 7B, and 8B:\n\n", devtype);
903-
fprintf (st, " mode input characters output characters\n");
904-
fprintf (st, " =============================================\n");
905-
fprintf (st, " 7P high-order bit cleared high-order bit cleared,\n");
906-
fprintf (st, " non-printing characters suppressed\n");
907-
fprintf (st, " 7B high-order bit cleared high-order bit cleared\n");
908-
fprintf (st, " 8B no changes no changes\n\n");
903+
fprintf (st, " mode input characters output characters\n");
904+
fprintf (st, " =============================================\n");
905+
fprintf (st, " 7P high-order bit cleared high-order bit cleared,\n");
906+
fprintf (st, " non-printing characters suppressed\n");
907+
fprintf (st, " 7B high-order bit cleared high-order bit cleared\n");
908+
fprintf (st, " 8B no changes no changes\n\n");
909909
fprintf (st, "The default is 8B.\n\n");
910910
fprintf (st, "The %s supports logging on a per-line basis. The command\n\n", devtype);
911911
fprintf (st, " sim> SET %s LOG=n=filename\n\n", dptr->name);
@@ -921,9 +921,9 @@ fprintf (st, "are Telnet connections. The connection remains open until disconn
921921
fprintf (st, "simulated program, the Telnet client, a SET %s DISCONNECT command, or a\n", dptr->name);
922922
fprintf (st, "DETACH %s command.\n\n", dptr->name);
923923
fprintf (st, "Other special %s commands:\n\n", dptr->name);
924-
fprintf (st, " sim> SHOW %s CONNECTIONS show current connections\n", dptr->name);
925-
fprintf (st, " sim> SHOW %s STATISTICS show statistics for active connections\n", dptr->name);
926-
fprintf (st, " sim> SET %s DISCONNECT=linenumber disconnects the specified line.\n\n\n", dptr->name);
924+
fprintf (st, " sim> SHOW %s CONNECTIONS show current connections\n", dptr->name);
925+
fprintf (st, " sim> SHOW %s STATISTICS show statistics for active connections\n", dptr->name);
926+
fprintf (st, " sim> SET %s DISCONNECT=linenumber disconnects the specified line.\n\n\n", dptr->name);
927927
fprintf (st, "All open connections are lost when the simulator shuts down or the %s is\n", dptr->name);
928928
fprintf (st, "detached.\n\n");
929929
dz_help_attach (st, dptr, uptr, flag, cptr);
@@ -937,7 +937,7 @@ char *devtype = (UNIBUS) ? "DZ11" : "DZV11";
937937
tmxr_attach_help (st, dptr, uptr, flag, cptr);
938938
fprintf (st, "The terminal lines perform input and output through Telnet sessions connected\n");
939939
fprintf (st, "to a user-specified port. The ATTACH command specifies the port to be used:\n\n");
940-
fprintf (st, " sim> ATTACH {-am} %s {interface:}port set up listening port\n\n", dptr->name);
940+
fprintf (st, " sim> ATTACH {-am} %s {interface:}port set up listening port\n\n", dptr->name);
941941
fprintf (st, "where port is a decimal number between 1 and 65535 that is not being used for\n");
942942
fprintf (st, "other TCP/IP activities. The optional switch -m turns on the %s's modem\n", devtype);
943943
fprintf (st, "controls; the optional switch -a turns on active disconnects (disconnect\n");

PDP11/pdp11_fp.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ if (IR & 000740) { /* defined? */
745745
if (CPUT (CPUT_03)) /* 11/03 reads word */
746746
ReadW (exta | R[reg]);
747747
ABORT (TRAP_ILL);
748-
}
748+
}
749749
FEC = 0; /* no errors */
750750
FPS = FPS_IU|FPS_IV; /* trap ovf,unf */
751751

@@ -782,7 +782,7 @@ switch ((IR >> 3) & 3) { /* case IR<5:3> */
782782
V = N = C = 1; /* set cc's */
783783
setTRAP (TRAP_FPE); /* set trap */
784784
return SCPE_OK;
785-
}
785+
}
786786
else divfp11 (&fac, &fsrc);
787787
break;
788788
}

PDP11/pdp11_hk.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ BITFIELD hk_da_bits[] = {
214214
#define CS2_MBZ (CS2_CLR)
215215
#define CS2_RW 0000037
216216
#define CS2_ERR (CS2_UFE | CS2_MDS | CS2_PGE | CS2_NEM | \
217-
CS2_NED | CS2_PE | CS2_WCE | CS2_DLT )
217+
CS2_NED | CS2_PE | CS2_WCE | CS2_DLT )
218218
#define GET_UNIT(x) (((x) >> CS2_V_UNIT) & CS2_M_UNIT)
219219

220220
BITFIELD hk_cs2_bits[] = {
@@ -959,9 +959,9 @@ if (fnc_cyl[fnc] && /* need valid cyl */
959959
((GET_CY (hkdc) >= HK_CYL (uptr)) || /* bad cylinder */
960960
(GET_SF (hkda) >= HK_NUMSF) || /* bad surface */
961961
(GET_SC (hkda) >= HK_NUMSC))) { /* or bad sector? */
962-
hk_cmderr (ER_IAE, drv); /* illegal addr */
963-
return;
964-
}
962+
hk_cmderr (ER_IAE, drv); /* illegal addr */
963+
return;
964+
}
965965

966966
hkcs1 = (hkcs1 | CS1_GO) & ~CS1_DONE; /* set go, clear done */
967967
switch (fnc) { /* case on function */

PDP11/pdp11_ke.c

+10-10
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
/* KE11A I/O address offsets 0177300 - 0177316 */
3939

4040
#define KE_DIV 000 /* divide */
41-
#define KE_AC 002 /* accumulator */
42-
#define KE_MQ 004 /* MQ */
43-
#define KE_MUL 006 /* multiply */
44-
#define KE_SC 010 /* step counter */
45-
#define KE_NOR 012 /* normalize */
46-
#define KE_LSH 014 /* logical shift */
47-
#define KE_ASH 016 /* arithmetic shift */
41+
#define KE_AC 002 /* accumulator */
42+
#define KE_MQ 004 /* MQ */
43+
#define KE_MUL 006 /* multiply */
44+
#define KE_SC 010 /* step counter */
45+
#define KE_NOR 012 /* normalize */
46+
#define KE_LSH 014 /* logical shift */
47+
#define KE_ASH 016 /* arithmetic shift */
4848

4949
/* Status register */
5050

@@ -76,7 +76,7 @@ uint32 ke_set_SR (void);
7676
DIB ke_dib = { IOBA_AUTO, IOLN_KE, &ke_rd, &ke_wr, 0 };
7777

7878
UNIT ke_unit = {
79-
UDATA (NULL, UNIT_DISABLE, 0)
79+
UDATA (NULL, UNIT_DISABLE, 0)
8080
};
8181

8282
REG ke_reg[] = {
@@ -237,9 +237,9 @@ switch (PA & 017) { /* decode PA<3:0> */
237237

238238
case KE_NOR: /* normalize */
239239
for (ke_SC = 0; ke_SC < 31; ke_SC++) { /* max 31 shifts */
240-
if (((ke_AC == 0140000) && (ke_MQ == 0)) || /* special case? */
240+
if (((ke_AC == 0140000) && (ke_MQ == 0)) || /* special case? */
241241
(GET_SIGN_W (ke_AC ^ (ke_AC << 1)))) /* AC<15> != AC<14>? */
242-
break;
242+
break;
243243
ke_AC = ((ke_AC << 1) | (ke_MQ >> 15)) & DMASK;
244244
ke_MQ = (ke_MQ << 1) & DMASK;
245245
}

PDP11/pdp11_rf.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ do {
366366
update_rfcs (0, RFDAE_NXM);
367367
break;
368368
}
369-
fbuf[da] = dat; /* write word */
369+
fbuf[da] = dat; /* write word */
370370
rf_dbr = dat;
371371
if (da >= uptr->hwmark)
372372
uptr->hwmark = da + 1;

PDP11/pdp11_rk.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,9 @@ if (((uptr->flags & UNIT_ATT) == 0) || /* not att or busy? */
430430
}
431431
if ((rkcs & RKCS_FMT) && /* format and */
432432
(func != RKCS_READ) && (func != RKCS_WRITE)) { /* not read or write? */
433-
rk_set_done (RKER_PGE);
434-
return;
435-
}
433+
rk_set_done (RKER_PGE);
434+
return;
435+
}
436436
if ((func == RKCS_WRITE) && /* write and locked? */
437437
(uptr->flags & UNIT_WPRT)) {
438438
rk_set_done (RKER_WLK);
@@ -650,7 +650,7 @@ if (error != 0) {
650650
rkcs = rkcs | RKCS_ERR;
651651
if (rker & RKER_HARD)
652652
rkcs = rkcs | RKCS_HERR;
653-
}
653+
}
654654
if (rkcs & CSR_IE) { /* int enable? */
655655
rkintq = rkintq | RK_CTLI; /* set ctrl int */
656656
SET_INT (RK); /* request int */

PDP11/pdp11_rl.c

+12-12
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ extern UNIT cpu_unit;
175175
#define RLCS_WRITE (5)
176176
#define RLCS_READ (6)
177177
#define RLCS_RNOHDR (7)
178-
#define RLCS_SPECIAL (8) /* internal function, drive state */
178+
#define RLCS_SPECIAL (8) /* internal function, drive state */
179179
#define RLCS_V_FUNC (1)
180180
#define RLCS_M_MEX (03) /* memory extension */
181181
#define RLCS_V_MEX (4)
@@ -381,11 +381,11 @@ static const char * const state[] = {
381381

382382
/* I/O dispatch routines, I/O addresses 17774400 - 17774411
383383
384-
17774400 RLCS read/write
385-
17774402 RLBA read/write
386-
17774404 RLDA read/write
387-
17774406 RLMP read/write
388-
17774410 RLBAE read/write
384+
17774400 RLCS read/write
385+
17774402 RLBA read/write
386+
17774404 RLDA read/write
387+
17774406 RLMP read/write
388+
17774410 RLBAE read/write
389389
*/
390390

391391
t_stat rl_rd (int32 *data, int32 PA, int32 access)
@@ -395,7 +395,7 @@ UNIT *uptr;
395395
switch ((PA >> 1) & 07) { /* decode PA<2:1> */
396396

397397
case 0: /* RLCS */
398-
rlcs = (rlcs & ~RLCS_MEX) | ((rlbae & RLCS_M_MEX) << RLCS_V_MEX);
398+
rlcs = (rlcs & ~RLCS_MEX) | ((rlbae & RLCS_M_MEX) << RLCS_V_MEX);
399399
/*
400400
The DRDY signal is sent by the selected drive to indicate that it
401401
is ready to read or write or seek. It is sent when the heads are
@@ -513,7 +513,7 @@ bit is cleared by software. If set, check for interrupts and return.
513513
if (newc != curr)
514514
uptr->STAT = (uptr->STAT & ~RLDS_M_STATE) | RLDS_SEEK; /* move the positioner */
515515
/* TBD: if a head switch, sector should be RL_NUMSC/2? */
516-
uptr->TRK = (newc << RLDA_V_CYL) | /* put on track */
516+
uptr->TRK = (newc << RLDA_V_CYL) | /* put on track */
517517
((rlda & RLDA_SK_HD)? RLDA_HD1: RLDA_HD0);
518518
/*
519519
Real timing:
@@ -782,7 +782,7 @@ was removed in a later ECO.
782782
uptr->STAT = (uptr->STAT & ~RLDS_M_STATE) | RLDS_BRUSH;
783783
} else {
784784
uptr->STAT |= RLDS_BHO;
785-
uptr->STAT = (uptr->STAT & ~RLDS_M_STATE) | RLDS_HLOAD;
785+
uptr->STAT = (uptr->STAT & ~RLDS_M_STATE) | RLDS_HLOAD;
786786
}
787787
sim_activate (uptr, 200 * rl_swait);
788788
break;
@@ -810,7 +810,7 @@ Initiated by depressing the Run (LOAD) switch.
810810
*/
811811
case RLDS_UNL: /* unload pressed, heads unloaded, spin down */
812812
uptr->STAT = (uptr->STAT & ~RLDS_M_STATE) | RLDS_DOWN;
813-
uptr->STAT &= ~RLDS_HDO; /* retract heads */
813+
uptr->STAT &= ~RLDS_HDO; /* retract heads */
814814
/* actual time is ~30 seconds */
815815
sim_activate (uptr, 200 * rl_swait);
816816
break;
@@ -866,7 +866,7 @@ if (uptr->FNC == RLCS_RNOHDR) {
866866
} else {
867867
/* bad cyl or sector? */
868868
if (((uptr->TRK & RLDA_CYL) != (rlda & RLDA_CYL)) || (GET_SECT (rlda) >= RL_NUMSC)) {
869-
rl_set_done (RLCS_ERR | RLCS_HDE | RLCS_INCMP); /* wrong cylinder? */
869+
rl_set_done (RLCS_ERR | RLCS_HDE | RLCS_INCMP); /* wrong cylinder? */
870870
return (SCPE_OK);
871871
}
872872
da = GET_DA (rlda) * RL_NUMWD; /* get disk addr */
@@ -1148,7 +1148,7 @@ t_stat rl_set_ctrl (UNIT *uptr, int32 val, char *cptr, void *desc)
11481148
t_stat rl_show_ctrl (FILE *st, UNIT *uptr, int32 val, void *desc)
11491149
{
11501150
char *s = "RLV12";
1151-
1151+
11521152
if (UNIBUS)
11531153
s = "RL11";
11541154
else if (rl_dev.flags & DEV_RLV11)

PDP11/pdp11_rp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
to boot.
3232
17-May-07 RMS CS1 DVA resides in device, not MBA
3333
21-Nov-05 RMS Enable/disable device also enables/disables Massbus adapter
34-
12-Nov-05 RMS Fixed DriveClear, does not clear disk address
34+
12-Nov-05 RMS Fixed DriveClear, does not clear disk address
3535
16-Aug-05 RMS Fixed C++ declaration and cast problems
3636
18-Mar-05 RMS Added attached test to detach routine
3737
12-Sep-04 RMS Cloned from pdp11_rp.c

PDP11/pdp11_rq.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -1448,7 +1448,7 @@ if (cp->csta < CST_UP) { /* still init? */
14481448
if ((cp->saw & SA_S4H_LF)
14491449
&& cp->perr) rq_plf (cp, cp->perr);
14501450
cp->perr = 0;
1451-
}
1451+
}
14521452
break;
14531453
} /* end switch */
14541454

@@ -1675,9 +1675,9 @@ if ((uptr = rq_getucb (cp, lu)) && /* valid lu? */
16751675
(tpkt = uptr->cpkt) && /* queued pkt? */
16761676
(GETP32 (tpkt, CMD_REFL) == ref) && /* match ref? */
16771677
(GETP (tpkt, CMD_OPC, OPC) >= OP_ACC)) { /* rd/wr cmd? */
1678-
cp->pak[pkt].d[GCS_STSL] = cp->pak[tpkt].d[RW_WBCL];
1679-
cp->pak[pkt].d[GCS_STSH] = cp->pak[tpkt].d[RW_WBCH];
1680-
}
1678+
cp->pak[pkt].d[GCS_STSL] = cp->pak[tpkt].d[RW_WBCL];
1679+
cp->pak[pkt].d[GCS_STSH] = cp->pak[tpkt].d[RW_WBCH];
1680+
}
16811681
else {
16821682
cp->pak[pkt].d[GCS_STSL] = 0; /* return 0 */
16831683
cp->pak[pkt].d[GCS_STSH] = 0;
@@ -3094,7 +3094,7 @@ fprintf (st, "ability to set units write enabled or write locked, and to set the
30943094
fprintf (st, "type to one of many disk types:\n");
30953095
fprint_set_help (st, dptr);
30963096
fprintf (st, "set RQn RAUSER{=n} Set disk type to RA82 with n MB's\n");
3097-
fprintf (st, "set -L RQn RAUSER{=n} Set disk type to RA82 with n LBN's\n\n");
3097+
fprintf (st, "set -L RQn RAUSER{=n} Set disk type to RA82 with n LBN's\n\n");
30983098
fprintf (st, "The type options can be used only when a unit is not attached to a file.\n");
30993099
fprintf (st, "RAUSER is a \"user specified\" disk; the user can specify the size of the\n");
31003100
fprintf (st, "disk in either MB (1000000 bytes) or logical block numbers (LBN's, 512 bytes\n");

0 commit comments

Comments
 (0)