1
0
mirror of https://github.com/simh/simh.git synced 2026-02-04 15:44:01 +00:00

ALTAIR, Interdata, LGP, NOVA: Addition of sim_printf in various places from Bob Supnik

This commit is contained in:
Mark Pizzolato
2015-04-03 18:33:31 -07:00
parent 7b3fdf5718
commit c221e1ff97
16 changed files with 101 additions and 98 deletions

View File

@@ -501,7 +501,7 @@ do {
if ((ch = getc (uptr->fileref)) == EOF) { /* read char */
if (feof (uptr->fileref)) { /* err or eof? */
if (stop)
printf ("Reader end of file\n");
sim_printf ("Reader end of file\n");
else return SCPE_OK;
}
else perror ("Reader I/O error");
@@ -516,7 +516,7 @@ do {
if ((d1 == EOF) || (d2 == EOF)) { /* error? */
if (feof (uptr->fileref)) { /* eof? */
if (stop)
printf ("Reader end of file\n");
sim_printf ("Reader end of file\n");
else return SCPE_OK;
}
else perror ("Reader I/O error");