mirror of
https://github.com/simh/simh.git
synced 2026-01-26 12:02:14 +00:00
Merge git://github.com/simh/simh
This commit is contained in:
@@ -982,11 +982,8 @@ for (i = 0; (dptr = sim_devices[i]); i++) { /* loop thru devices */
|
||||
for (j = 0; j < tplp->num; j++) { /* repeat as needed */
|
||||
doff = dev + tplp->off + j; /* get offset dnum */
|
||||
if (dev_map[doff][ch]) { /* slot in use? */
|
||||
printf ("Device number conflict, chan = %s, devno = %02o\n",
|
||||
chname[ch], doff);
|
||||
if (sim_log)
|
||||
fprintf (sim_log, "Device number conflict, chan = %s, dev = %02o\n",
|
||||
chname[ch], doff);
|
||||
sim_printf ("Device number conflict, chan = %s, devno = %02o\n",
|
||||
chname[ch], doff);
|
||||
return TRUE;
|
||||
}
|
||||
dev_map[doff][ch] = dibp->xfr; /* set xfr flag */
|
||||
|
||||
@@ -278,7 +278,7 @@ if ((temp = getc (ptr_unit.fileref)) == EOF) { /* end of file? */
|
||||
ptr_set_err (); /* yes, err, disc */
|
||||
if (feof (ptr_unit.fileref)) { /* end of file? */
|
||||
if (ptr_stopioe)
|
||||
printf ("PTR end of file\n");
|
||||
sim_printf ("PTR end of file\n");
|
||||
else return SCPE_OK;
|
||||
}
|
||||
else perror ("PTR I/O error"); /* I/O error */
|
||||
|
||||
Reference in New Issue
Block a user